Seagate ST34572WC Specifikace Strana 13

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 67
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 12
13
5. If both ioscan and diskinfo succeed, the disk might still be failing. As a final test, try to read
from the disk using the dd command. Depending on the size of the disk, a comprehensive read
can be time-consuming, so you might want to read only a portion of the disk. If the disk is
functioning properly, no I/O errors are reported.
The following example shows a successful read of the first 64 megabytes of the disk: When you
enter the following command, look for the solid blinking green LED on the disk:
# dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k count=64 &
64+0 records in
64+0 records out
Note: The previous example recommends running the dd command in the background (by
adding & to the end of the command) because you do not know if the command will hang when it
does the read. If the dd command is run in the foreground, Ctrl+C stops the read on the disk.
The following command shows an unsuccessful read of the whole disk:
# dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=1024k &
dd read error: I/O error
0+0 records in 0+0 records out
Note: The previous example recommends running the dd command in background (by adding &
at the end of the command) because you do not know if the command will hang when it does the
read. If the dd command is run in the foreground, Ctrl+C stops the read on the disk.
6. If the physical volume is attached but cannot be refreshed via an lvsync, it is likely there is a
media problem at a specific location. Reading only the extents associated with the LE can help
isolate the problem. Remember the stale extent might not have the problem.
The lvsync command starts refreshing extents at LE zero and stops if it encounters an error.
Therefore, find the first LE in any logical volume that is stale and test this one. For example:
1. Find the first stale LE:
# 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
In this case, LE number 2 is stale.
2. Get the extent size for the VG:
# vgdisplay /dev/vg01 | grep I “PE Size”
PE size (Mbytes) 32
3. Find the start of PE zero on each disk:
For a version 1.0 VG, enter:
xd -j 0x2048 -t uI -N 4 /dev/dsk/c0t3d0
Zobrazit stránku 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 66 67

Komentáře k této Příručce

Žádné komentáře