Здравствуйте, господа.
Нужен ваш совет.
Надо проверить файловую систему ufs на наличие ошибок.
Предыстория такова:
Вытянул винчестер из Солярис-машины, подключил к другому ПК, запустился с SystemRescueCD.
fdisk показывает вот что:
root@sysresccd /root % fdisk -l
Disk /dev/sda (Sun disk label): 16 heads, 465 sectors, 65533 cylinders
Units = sectors of 1 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 139395840 180360480 20482320 2 SunOS root
/dev/sda2 u 0 16382880 8191440 3 SunOS swap
/dev/sda3 0 487565520 243782760 5 Whole disk
/dev/sda4 282764640 487565520 102400440 4 SunOS usr
/dev/sda5 180360480 282764640 51202080 7 SunOS var
Disk /dev/sda2 (Sun disk label): 16 heads, 465 sectors, 65533 cylinders
Units = sectors of 1 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda2p1 139395840 180360480 20482320 2 SunOS root
/dev/sda2p2 u 0 16382880 8191440 3 SunOS swap
/dev/sda2p3 0 487565520 243782760 5 Whole disk
/dev/sda2p4 282764640 487565520 102400440 4 SunOS usr
/dev/sda2p5 180360480 282764640 51202080 7 SunOS var
Disk /dev/sda3 (Sun disk label): 16 heads, 465 sectors, 65533 cylinders
Units = sectors of 1 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda3p1 139395840 180360480 20482320 2 SunOS root
/dev/sda3p2 u 0 16382880 8191440 3 SunOS swap
/dev/sda3p3 0 487565520 243782760 5 Whole disk
/dev/sda3p4 282764640 487565520 102400440 4 SunOS usr
/dev/sda3p5 180360480 282764640 51202080 7 SunOS var
Вот вывод команды fsck:
root@sysresccd /root % fsck -y /dev/sda
fsck from util-linux 2.22.2
e2fsck 1.42.7 (21-Jan-2013)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>