Seagate ST34572WC Specifications Page 20

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 19
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0
# pvdisplay –v /dev/dsk/c2t15d0 | more
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg01/lvol1 4340 4340
# lvdisplay –v /dev/vg01/lvol1 | grep “Mirror copies”
Mirror copies 1
# lvdisplay -v /dev/vg01/lvol1 | grep –e /dev/dsk/c2t15d0 –e ’???’ | more
00000 /dev/dsk/c2t15d0 00000 current /dev/dsk/c5t15d0 00000 current
00001 /dev/dsk/c2t15d0 00001 current /dev/dsk/c5t15d0 00001 current
00002 /dev/dsk/c2t15d0 00002 current /dev/dsk/c5t15d0 00002 current
00003 /dev/dsk/c2t15d0 00003 current /dev/dsk/c5t15d0 00003 current
The lvlnboot command confirms that the disk is not in the root volume group. The pvdisplay command
shows which logical volumes are on the disk. The lvdisplay command shows that all data in the logical volume
has a current mirror copy on another disk. Run the following commands to continue with the disk replacement:
# pvchange -a N /dev/dsk/c2t15d0
# <replace the hot-swappable disk>
# vgcfgrestore –n vg01 /dev/rdsk/c2t15d0
# vgchange –a y vg01
Scenario 2: No Mirroring and No LVM Online Replacement
In this example, the disk is still hot-swappable, but there are unmirrored logical volumes and the LVM OLR patches
are not installed. Disabling LVM access to the logical volumes is more complicated, since you must find out what
processes are using them.
The bad disk is represented by device special file /dev/dsk/c2t2d0. Run the following commands:
# lvlnboot –v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (0/0/0/3/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0
# pvdisplay –v /dev/dsk/c2t2d0 | more
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg01/lvol1 4340 4340
# lvdisplay –v /dev/vg01/lvol1 | grep “Mirror copies”
Mirror copies 0
This confirms that the logical volume is not mirrored, and it is not in the root volume group. As system
administrator, you know that the logical volume is a mounted file system. To disable access to the logical volume,
try to unmount it. Use fuser to isolate and terminate processes using the file system, if necessary. Run the
following commands:
# umount /dev/vg01/lvol1
umount: cannot unmount /dump : Device busy
20
Page view 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 35 36

Comments to this Manuals

No comments