misc/81568: ext2fs partitions in fstab automatically mounted at
boot fail to umount when reboot
Drosos
drososkourounis at yahoo.com
Fri May 27 13:50:02 PDT 2005
>Number: 81568
>Category: misc
>Synopsis: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 27 20:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Drosos
>Release: 5.4 Release
>Organization:
UOI
>Environment:
FreeBSD toundra 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
I have Linux ext2 partitions which I decided to add in fstab such that
they are automatically mounted at boot. Thus I added the following line:
/dev/ad1s1 /common ext2fs rw,auto 0 0
in my original /etc/fstab:
/dev/ad1s2b none swap sw 0 0
/dev/ad1s2a / ufs rw 1 1
/dev/ad1s2g /common ufs rw 2 2
/dev/ad1s2e /tmp ufs rw 2 2
/dev/ad1s2f /usr ufs rw 2 2
/dev/ad1s2d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/acd1 /cdrom1 cd9660 ro,noauto 0 0
As a result I was happy to see my ext2 partition mounted nicely at boot
time. Unfortunately when I wanted to reboot typing
#reboot
or to turnoff my PC typing
#shutdown -p now
this partition couldn't be unmounted. This was not however the case with
FreeBSD 4.11 and 4.10 Release. I had no such problems there!
>How-To-Repeat:
Just create an ext2 partition and mount it like above. Reboot such that
it is automatically mounted and then reboot once again!
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list