DISK Remove a Storage Device: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Removing a Storage Device == # Dismount any filesystems associated with the device. # If needed, migrate any data from this device to another device. ## <tt>'''# pvmove /de...") |
(No difference)
|
Revision as of 20:32, 20 January 2015
Removing a Storage Device
- Dismount any filesystems associated with the device.
- If needed, migrate any data from this device to another device.
- # pvmove /dev/<source device> /dev/<target device>
- If needed, remove any LVM configuration from the device.
- # vgreduce <volume group> /dev/<device>
- # pvremove /dev/<device>
- Flush any outstanding IO operations.
- # blockdev --flushbuf /dev/<device>