mount ufs on linux...

you may think this problem is more related to Linux forum.. but i feel this is right place for this..

i have solaris 10 and Fedora core 6..

i'm currently in FC 6.

trying to mount ufs partition of solaris on linux..

[root@localhost ]# uname -a

Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux

[root@localhost ]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes

255 heads, 63 sectors/track, 9729 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device BootStart EndBlocksId System

/dev/sda1*1212096be Solaris boot

Partition 1 does not end on cylinder boundary.

/dev/sda22255220480544bf Solaris

/dev/sda3255325649639083 Linux

/dev/sda42565972957552862+5 Extended

/dev/sda525659729575528318e Linux LVM

i tried mount

mount -t ufs -o -r -o ufstype=sunx86 /dev/sda2 /mnt/b/

mount: wrong fs type, bad option, bad superblock on /dev/sda2,

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

dmesg | tail -5

ufs was compiled with read-only support, can't be mounted as read-write

please suggest some thing..

[1278 byte] By [mrtipalea] at [2007-11-26 16:02:39]
# 1

> you may think this problem is more related to Linux

> forum.. but i feel this is right place for this..

Nevertheless, you are asking for help with linux commands. I think a Linux forum would be more likely to be able to help you.

> [root@localhost ]# fdisk -l

>

> Disk /dev/sda: 80.0 GB, 80026361856 bytes

> 255 heads, 63 sectors/track, 9729 cylinders

> Units = cylinders of 16065 * 512 = 8225280 bytes

>

> Device BootStart EndBlocks

>Id System

> v/sda1*1212096be

> Solaris boot

> artition 1 does not end on cylinder boundary.

> /dev/sda22255220480544

>bf Solaris

So sda2 is a "Solaris" partion. It contains a Solaris VTOC and possibly several different UFS slices.

>

> i tried mount

>

> mount -t ufs -o -r -o ufstype=sunx86 /dev/sda2

> /mnt/b/

> mount: wrong fs type, bad option, bad superblock on

> /dev/sda2,

sda2 may have several different Solaris slices inside, each with a UFS filesystem. There must be some mechanism for specifying the Solaris slice or this will be unlikely to work.

The first few blocks of the Solaris fdisk partition will almost certainly be a boot slice, not a UFS slice.

--

Darren

Darren_Dunhama at 2007-7-8 22:24:27 > top of Java-index,Solaris Operating System,Solaris 10 Features...