Hello there :)
I have a Iomega Jaz cartrdige which seems to be formatted in xfs under
Irix 6.5.
When I insert the cartridge in a drive attached to an Octane machine
(running IRIX 6.5) I get an error message saying that the drive could not
be mounted:
The file system on device: /dev/dsk/dks1d3s7 cannot be mounted
I connected the Jaz drive to a Linux box using a SCSI-to-USB
adapter. When I do a fdisk I get:
$ sudo fdisk -l /dev/sdb
Disk /dev/sdb (SGI disk label): 33 heads, 62 sectors, 1022 cylinders
Units = cylinders of 2046 * 512 bytes
----- partitions -----
Pt# Device Info Start End Sectors Id System
8: /dev/sdb1 2 1021 2087936 a SGI xfs
9: /dev/sdb2 0 1 3072 0 SGI volhdr
11: /dev/sdb3 0 1021 2091008 6 SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
0: sgilabel sector 3 size 512
But trying to mount the device fails:
$ sudo mount -t xfs /dev/sdb /mnt
$ sudo mount -t xfs /dev/sdb8 /mnt
$ sudo mount -t xfs /dev/sdb11 /mnt
Checking the log messages, I get:
[6815277.617579] XFS: bad magic number
[6815277.617587] XFS: SB validate failed
(I found similar problems reported here
http://osdir.com/ml/security.forensics/2006-04/msg00025.html)
# /usr/sysadm/privbin/getDiskParts -d dks1d3vol
7:10:3072:2087936;8:0:0:3072;10:6:0:2091008;
I also tried to use xfs_check and xfs_repair.
xfs_check crashes:
/usr/sbin/xfs_check: line 28: 25216 Segmentation fault
(core dumped) xfs_db$DBOPTS -i -p xfs_check -c "check$OPTS" $1
and xfs_repair reports that:
bad primary superblock - bad magic number !!!
attempting to find secondary superblock
Sorry, could not find valid secondary superblock
Exiting now.
My questions:
1-Is this related to the information stated in FAQ regarding
XLV support or v2 directories under Irix ?
2-Do I need to be concerned about byte ordering when it comes
to how the partition table info are stored on my Jaz cartridge ?
3-If this is a corrupt partition problem, would you suggest that
I attempt to fix it under Irix or the Linux xfs tools will be sufficient ?
I'd really appreciate any input that can help me resolve this issue.
thanks in advance.
|