I have a USB disk which when connected to a CentOS 6.5 system shows this as the output in fdisk -l.
Disk /dev/sdn: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00113504 Device Boot Start End Blocks Id System /dev/sdn1 * 5 243200 1953471870 bf Solaris
I want to mount this file system on the system and so far it has been a nightmare. This is what I have tried. 1. Installed UFS support using elrepo. Tried all the options that ufs provides (various ufstypes). 2. Installed ZFS support. Did not really understand if I could do anything further with it.
Some of the mount commands that I tried are below. I am not listing all of them as the permutations are far too many.
mount -t ufs -oro,ufstype=ufs2 /dev/sdn1 /mnt mount -t ufs -oro,ufstype=sunx86 /dev/sdn1 /mnt mount -t ufs -oro,ufstype=sun /dev/sdn1 /mnt mount -t ufs -oro,ufstype=old /dev/sdn1 /mnt
All these commands report the UFS kernel module reporting as bad magic number in dmesg.
Can anyone help? How could I mount the filesystem in Linux. Read-Only mount would be good enough.
Replies to comments:
dmesg | grep -i solarisdoes not show anything. However, both
fdiskshow only one partition which is sdn1.
zpool listboth show "no pools available".