DISK Remove a Storage Device

From UNIX Systems Administration
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

AIX

Linux

Removing a Storage Device

  1. Dismount any filesystems associated with the device
  2. If needed, migrate any data from this device to another device
    # pvmove /dev/<source_device> /dev/<target_device>
  3. If needed, remove any LVM configuration from the device
    # vgreduce <volume group> /dev/<device>
    # pvremove /dev/<device>
  4. Flush any outstanding IO operations
    # blockdev --flushbufs /dev/<device>

Further Reading

  1. a Storage Device