Seagate ST34572WC Specifications Page 17

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 16
3. To kill processes using the logical volume, enter the following command:
# fuser –ku /dev/vgname/lvname
4. Then try to unmount the file system again as follows:
# umount /dev/vgname/lvname
o If the logical volume is being accessed as a raw device, you can use fuser to find out which
applications are using it. Then you can halt those applications.
If for some reason you cannot disable access to the logical volume—for example, you cannot halt an
application or you cannot unmount the file system—you must shut down the system.
If you have LVM online replacement (OLR) functionality available, detach the device using the –a option of the
pvchange command:
# pvchange -a N pvname
If pvchange fails with a message that the –a option is not recognized, then the LVM OLR feature is not
installed.
If you do not have LVM OLR functionality, LVM continues to try to access the disk as long as it is in the volume
group and has ever been available. You can make LVM stop accessing the disk in one of three ways:
1. Remove the disk from the volume group. This means reducing any logical volumes that have mirror
copies on the faulty disk so that they no longer mirror onto that disk, and reducing the disk from the
disk group, as described in
Removing the Disk. This maximizes access to the rest of the volume group,
but requires more LVM commands to modify the configuration and then re-create it on a replacement
disk.
2. Deactivate the volume group. You do not have to remove and re-create any mirrors, but all data in the
volume group is inaccessible during the replacement procedure.
3. Shut down the system. This halts LVM access to the disk, but it makes the entire system inaccessible.
Use this option only if you do not want to remove the disk from the volume group, and you cannot
deactivate it.
The following recommendations are intended to maximize system uptime and access to the volume group, but
you can use a stronger approach if your data and system availability requirements allow.
If pvdisplay shows PV status as available, halt LVM access to the disk by removing it from the
volume group.
If pvdisplay shows PV status as unavailable, or if pvdisplay fails to print the status, use
ioscan to determine if the disk can be accessed at all. If ioscan reports the disk status as NO_HW
on all its hardware paths, then you can simply remove the disk. If ioscan shows any other status,
halt LVM access to the disk by deactivating the volume group.
17
Page view 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 35 36

Comments to this Manuals

No comments