[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ufs problem (mounting ufs under linux-2.6.0-test11)



Hello,

I don't seem to be able to mount the FreeBSD-5.1-RELEASE's ufs
partition in linux-2.6.0-test11, which occupies another partition
on the same machine (which is Acer Aspire 1304XC).

Has the ufs format changed in 5.1? I specify ufstype=44bsd in
the mount command.

	Thank you

		Jan

:> Disk /dev/hda: 20.0 GB, 20003880960 bytes
:> 16 heads, 63 sectors/track, 38760 cylinders
:> Units = cylinders of 1008 * 512 = 516096 bytes
:>
:>    Device Boot    Start       End    Blocks   Id  System
:> /dev/hda1             1     29064  14648224+  83  Linux
:> /dev/hda2         29065     30056    499968   82  Linux swap
:> /dev/hda3   *     30057     38760   4386816   a5  FreeBSD

:My partition is not beyond 2 GB, but your configuration should currently
:not be a problem. The linux IDE driver has LBA support.
:
:> root@jorgen:root# mount -t ufs -o ro,ufstype=44bsd /dev/hda3 /mnt/bsd
:> ufs_read_super: bad_magic_number
:> mount: wrong fs type, bad option, bad superblock on /dev/hda3,
:>        or too many mounted file systems
:
:Enabling UFS_SUPER_DEBUG_MORE in /usr/src/linux/fs/ufs/super.c
:and compiling a new kernel could give us maybe some detailed information.

Here it goes (/var/log/syslog):

Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 493), ufs_fill_super: ENTER
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 501), ufs_fill_super: flag 1
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 282), ufs_parse_options: ENTER
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 540), ufs_fill_super: ufstype=44bsd
Dec 11 12:28:53 localhost kernel: ufs_read_super: bad magic number
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 886), ufs_fill_super: EXIT (FAILED)

:"ufs_read_super: bad_magic_number" is a very odd behaviour :-(

Yes. I am using the partition for my BSD boots happily, though -
maybe the ufs has changed in freebsd 5.1 ? I will ask on the BSD
list.

	Thanks for your time, Heiko.

		Jan



Reply to: