AVAILABLE DISK SELECTIONS:
....
6. c5t6d0 <TOYOU-NetStorDA9220F-342R cyl 36148 alt 2 hd 255 sec 127>
/pci@8,700000/fibre-channel@3/sd@6,0
7. c5t7d0 <TOYOU-NetStorDA9220F-342R cyl 36151 alt 2 hd 255 sec 127>
/pci@8,700000/fibre-channel@3/sd@7,0
....
partition> p
Current partition table (original):
Total disk cylinders available: 36148 + 2 (reserved cylinders)
root@library # newfs -N /dev/rdsk/c5t6d0s6
Minimum bytes per inode is 11992
With 32385 sectors per cylinder, minimum cylinders per group is 16
This requires the fragment size to be changed from 1024 to 8192
Please re-run mkfs with corrected parameters
root@library # fsck /dev/rdsk/c5t6d0s6 -y
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG
LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS?
LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS?
SEARCH FOR ALTERNATE SUPERBLOCKS FAILED.
USE GENERIC SUPERBLOCK FROM MKFS?
USE GENERIC SUPERBLOCK FROM NEWFS?
SEARCH FOR ALTERNATE SUPERBLOCKS FAILED. YOU MUST USE THE -o b OPTION
TO FSCK TO SPECIFY THE LOCATION OF A VALID ALTERNATE SUPERBLOCK TO
SUPPLY NEEDED INFORMATION; SEE fsck(1M).
fsck: operation not applicable to FSType nfs
root@library # fsck -y /dev/rdsk/c5t6d0s6
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG
LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? yes
LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS? yes
calcsb: short read of superblock from newfs
SEARCH FOR ALTERNATE SUPERBLOCKS FAILED.
USE GENERIC SUPERBLOCK FROM MKFS? yes
CALCULATED GENERIC SUPERBLOCK WITH MKFS
If filesystem was created with manually-specified geometry, using
auto-discovered superblock may result in irrecoverable damage to
filesystem and user data.
CANCEL FILESYSTEM CHECK? yes
Please verify that the indicated block contains a proper
superblock for the filesystem (see fsdb(1M)).
FSCK was running in YES mode. If you wish to run in that mode using
the alternate superblock, run `fsck -y -o b=1170063840 /dev/rdsk/c5t6d0s6'.
root@library # fsck -y -o b=1170063840 /dev/rdsk/c5t6d0s6
Alternate super block location: 1170063840.
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 1170063840: MAGIC NUMBER WRONG
root@library #作者: peterwang_60 时间: 2011-07-05 14:10
Try this
newfs -N -T /dev/rdsk/c5t6d0s6
Then from output, pick alternateive superblock number with fsck.作者: xieliangcheng 时间: 2011-07-06 12:59 本帖最后由 xieliangcheng 于 2011-07-06 13:02 编辑
这个我已经试过了. 不行. 只怕没得救了. 数据应是丢失了.
root@library # newfs -N -T /dev/rdsk/c5t6d0s6
Warning: cylinder groups must have a multiple of 16 cylinders with the given
parameters
Rounded cgsize up to 32
Warning: insufficient space in super block for
rotational layout tables with nsect 127, ntrack 255, and nrpos 8.
Omitting tables - file system performance may be impaired.
Warning: 2 sector(s) in last cylinder unallocated
/dev/rdsk/c5t6d0s6: 1170070048 sectors in 36130 cylinders of 255 tracks, 127 sectors
571323.2MB in 2259 cyl groups (16 c/g, 253.01MB/g, 256 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 518320, 1036608, 1554896, 2073184, 2591472, 3109760, 3628048, 4146336,
4664624,
Initializing cylinder groups:
............................................
super-block backups for last 10 cylinder groups at:
1165367600, 1165885888, 1166404176, 1166922464, 1167440752, 1167959040,
1168477328, 1168995616, 1169513904, 1170032192,
root@library # fsck -F ufs -o b=32 /dev/rdsk/c5t6d0s6
Alternate super block location: 32.
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 32: MAGIC NUMBER WRONG
root@library # fsck -F ufs -o b=1165367600 /dev/rdsk/c5t6d0s6
Alternate super block location: 1165367600.
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 1165367600: MAGIC NUMBER WRONG
root@library #
root@library # fsck -F ufs -o b=518320 /dev/rdsk/c5t6d0s6
Alternate super block location: 518320.
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 518320: MAGIC NUMBER WRONG
root@library #
root@library # fsck -F ufs -o b=1170032192 /dev/rdsk/c5t6d0s6
Alternate super block location: 1170032192.
** /dev/rdsk/c5t6d0s6
BAD SUPERBLOCK AT BLOCK 1170032192: MAGIC NUMBER WRONG作者: oasvr 时间: 2011-07-06 13:10
os版本? 试试找新一点的安装光盘单用户启动再运行fsck作者: znnnz 时间: 2011-07-06 20:08
先iostat -En看hard error,多的话直接换掉。