ext3 is compatible w/ext2 when the dirty bit is not set. When
it is set (one common reason is the filesystem not being correctly unmounted), journal rollback is necessary which only ext3 can handle.

thats why running fsck_ext2fs on the partition should take care of the issues.

it doesn't mean your partition is actually "dirty", its just that freebsd doesn't (usually) attempt to mount partitions that were incorrectly unmounted.

Let me know if it works. If you dont have ext2 support in fsck yet - you can find the source in /usr/ports/sysutils/fsck_ext2fs

-Ben
Sasa Stupar wrote:

Hi!

I have installed FBSD 5.4 and recompiled kernel with
option    EXT2FS
so I could mount my second drive.
When I try to mount with:
#mount -o ro -t ext2fs /dev/ad3s1 /mnt/linux
I get back
ext2fs: /dev/ad3s1: Invalid argument
Whe typing dmesg I get more on error:
WARNING: mount of ad3s1 denied due to unsupported optional features

From fdisk, info on drive:

# fdisk /dev/ad3
******* Working on device /dev/ad3 *******
parameters extracted from in-core disklabel are:
cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
   start 63, size 78156225 (38162 Meg), flag 80 (active)
       beg: cyl 0/ head 1/ sector 1;
       end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:


I have searche on the net and what I have done here is what people suggest to do but it doesn't work.

What am I missing here?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to