Seagate ST34572WC Specifications Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 36
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
LVM Command Errors
Sometimes LVM commands, such as vgdisplay, return an error suggesting that a disk has problems. For
example:
# vgdisplay –v | more
--- Physical volumes ---
PV Name /dev/dsk/c0t3d0
PV Status unavailable
Total PE 1023
Free PE 173
The physical volume status of unavailable indicates that LVM is having problems with the disk. You can get the
same status information from pvdisplay.
The next two examples are warnings from vgdisplay and vgchange indicating that LVM has no contact with a
disk:
# vgdisplay -v vg
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t3d0":
The specified path does not correspond to physical volume attached to this volume
group
vgdisplay: Warning: couldn't query all of the physical volumes.
# vgchange -a y /dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume
"/dev/dsk/c0t3d0":
A component of the path of the physical volume does not exist.
Volume group "/dev/vg01" has been successfully changed.
Another sign that you might have a disk problem is seeing stale extents in the output from lvdisplay. If you
have stale extents on a logical volume even after running the vgsync or lvsync commands, you might have an
issue with an I/O path or one of the disks used by the logical volume, but not necessarily the disk showing stale
extents. For example:
# lvdisplay –v /dev/vg01/lvol3 | more
LV Status available/stale
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 /dev/dsk/c0t3d0 0000 current /dev/dsk/c1t3d0 0100 current
0001 /dev/dsk/c0t3d0 0001 current /dev/dsk/c1t3d0 0101 current
0002 /dev/dsk/c0t3d0 0002 current /dev/dsk/c1t3d0 0102 stale
0003 /dev/dsk/c0t3d0 0003 current /dev/dsk/c1t3d0 0103 stale
All LVM error messages tell you which device file is associated with the problematic disk. This is useful for the next
step, confirming disk failure.
8
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 35 36

Comments to this Manuals

No comments