If you have received the following messages from fsck(1M):
CANNOT READ: BLK 196896 CONTINUE? y THE FOLLOWING SECTORS COULD NOT BE READ: 196896 196897 196898 196899 |
DUMP: Warning - cannot read sector 164016 of /dev/vx/rdsk/newdg/vol02 DUMP: Warning - cannot read sector 164017 of /dev/vx/rdsk/newdg/vol02 DUMP: Warning - cannot read sector 164018 of /dev/vx/rdsk/newdg/vol02 |
To check this, follow the example below:
Run the command:
# fstyp -v /dev/vx/rdsk/newdg/vol02 | head -30 | grep ncg |
ncg 25 size 102400 blocks 95983 |
Next, find out the size of the volume. Run the command:
# vxprint -g newdg -vt vol02 |
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX v vol02 fsgen ENABLED ACTIVE 163840 SELECT |
To resolve this problem, back up the data as best you can, then either create a new volume or newfs this one and restore the data.
This problem can also occur on a DiskSuite metadevice. The difference is that you need to check the size of the metadevice using the metastat command. The metastat command shows the size of the metadevice in sectors, just like the vxprint does.