An attached USB Maxor 160 gig drive is divided into 3 partitions. Partition 1 and 2 are ext2fs and partition 3 is msdos.freesbie@freesbie:~# umount /mnt/usb.0 freesbie@freesbie:~# mount -t ext2fs /dev/da0s1 /mnt/usb.0 ext2fs: /dev/da0s1: Operation not permitted mount -t ext2fs -r /dev/da0s1 /mnt/usb.0 mount .. /dev/da0s3 on /mnt/dos.2 (msdosfs, local) /dev/da0s1 on /mnt/usb.0 (ext2fs, local, read-only) freesbie@freesbie:~# mount -uw /dev/da0s1 ext2fs: /dev/da0s1: Operation not permitted In short the msdos partition will mount read/write but the ext2fs will only mount read only. I see the same or a very similar problem using freeBSD 4.9 The ext2 partition mount read/write under Redhat Linux 9.0 sucessfully. Fix: I have not located any fix or reference to this problem searching the internet. How-To-Repeat: Any time I connect the drive to a freeBSD system on this hardware I see the same problem.
The uname for the freebsd 4.9 system: abbyBSD-~$ uname -a FreeBSD abbyBSD.WORKGROUP 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Sun Feb 15 17:14:24 MST 2004 root@abbyBSD.WORKGROUP:/usr/src/sys/compile/ABBY_EX2 i386 abbyBSD-~$ The ext2fs partitions on the system hard disk will mount read/write. abbyBSD-~$ mount /dev/ad0s4a on / (ufs, local) procfs on /proc (procfs, local) /dev/ad0s1 on /suse (ext2fs, local) abbyBSD-~$ Booting another computer (normally running windowsXP) from the freesbie.livecd 5.3-RELEASE-p2 cd, the same Maxor usb disk ext2fs partitions would only mount read only. I do not have a second usb disk with a partition formated with ext2fs Tom Oakes
This bug seems to be fixed in 8.0-CURRENT. Maybe the file systems on your usb hard disk has some feature that is only RO only compatible. Please test the bug using 8.0-CURRENT or 7.2-RELEASE. Cheers, Aditya Sarawgi
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
State Changed From-To: open->feedback Note that submitter has been asked for feedback.
Responsible Changed From-To: freebsd-fs->jh Track.
State Changed From-To: feedback->closed Feedback timeout. The problem is not believed to exist in recent FreeBSD versions.