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 edit summary |
||
Line 1: | Line 1: | ||
== Removing a Storage Device == | == AIX == | ||
== Linux == | |||
=== Removing a Storage Device === | |||
# Dismount any filesystems associated with the device. | # Dismount any filesystems associated with the device. | ||
# If needed, migrate any data from this device to another device. | # If needed, migrate any data from this device to another device. | ||
Line 13: | Line 16: | ||
# [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/removing_devices.html|Removing a Storage Device] | # [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/removing_devices.html|Removing a Storage Device] | ||
[[Category:AIX]] | |||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 20:33, 20 January 2015
AIX
Linux
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>