Re: shutdown(8): supposed to dismount all FSes?
Chuck Swiger wrote: ...I recall that there are some issues handling ext2fs filesystems cleanly during the shutdown process, which tend to cause them to not be unmounted properly. It's considered a bug. Thanks, Chuck. When I tried searching the PRs for this, I came up blank; but your reply caused me to search harder, and indeed this is a dup of 'PR kern/56675: Syncer giving up on buffers and ext2 filesystems' which is still Open, reported 10sep03. My experience suggests it's still a problem with 5.3-RC1. Obviously, on a production FreeBSD system, this bug is of minor relevance, as you'll be running UFS throughouth. But for the multibooters among us, who are looking (say) to straddle the Linux and BSD worlds, being able to mount the old ext2/ext3 partitions routinely is a Good Thing in easing the transition; so for such users the bug is more important. Still, I've no idea whether this is a relatively easy fix which just needs Motivation to address, or whether the ext2fs code is a please don't make me go there area! Ta, Stefek ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shutdown(8): supposed to dismount all FSes?
On Oct 29, 2004, at 7:53 AM, Stefek Zaba wrote: Chuck Swiger wrote: ...I recall that there are some issues handling ext2fs filesystems cleanly during the shutdown process, which tend to cause them to not be unmounted properly. It's considered a bug. Thanks, Chuck. When I tried searching the PRs for this, I came up blank; but your reply caused me to search harder, and indeed this is a dup of 'PR kern/56675: Syncer giving up on buffers and ext2 filesystems' which is still Open, reported 10sep03. My experience suggests it's still a problem with 5.3-RC1. You're certainly welcome, and I'm pleased that my memory was working well enough to be helpful. :-) Obviously, on a production FreeBSD system, this bug is of minor relevance, as you'll be running UFS throughouth. But for the multibooters among us, who are looking (say) to straddle the Linux and BSD worlds, being able to mount the old ext2/ext3 partitions routinely is a Good Thing in easing the transition; so for such users the bug is more important. You might find that unmounting the ext2/ext3 filesystem by hand before rebooting is an adequate workaround, since that ought to leave the filesystem in a clean state. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shutdown(8): supposed to dismount all FSes?
Charles Swiger wrote: On Oct 29, 2004, at 7:53 AM, Stefek Zaba wrote: Chuck Swiger wrote: ...I recall that there are some issues handling ext2fs filesystems cleanly during the shutdown process, which tend to cause them to not be unmounted properly. It's considered a bug. Thanks, Chuck. When I tried searching the PRs for this, I came up blank; but your reply caused me to search harder, and indeed this is a dup of 'PR kern/56675: Syncer giving up on buffers and ext2 filesystems' which is still Open, reported 10sep03. My experience suggests it's still a problem with 5.3-RC1. You're certainly welcome, and I'm pleased that my memory was working well enough to be helpful. :-) Obviously, on a production FreeBSD system, this bug is of minor relevance, as you'll be running UFS throughouth. But for the multibooters among us, who are looking (say) to straddle the Linux and BSD worlds, being able to mount the old ext2/ext3 partitions routinely is a Good Thing in easing the transition; so for such users the bug is more important. You might find that unmounting the ext2/ext3 filesystem by hand before rebooting is an adequate workaround, since that ought to leave the filesystem in a clean state. Hmm, hate to come into this late, and perhaps with no good reason, but I have experienced this recently with a 200GB **ufs** volume: $uname -a FreeBSD archangel.daleco.biz 5.3-RC1 FreeBSD 5.3-RC1 #0: Wed Oct 20 10:10:40 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1e on /usr (ufs, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) /dev/ad1s1d on /backup (ufs, local, soft-updates) $sudo tail /var/log/dmesg.today Timecounter TSC frequency 2404108844 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled ad0: 38166MB ST340014A/3.06 [77545/16/63] at ata0-master UDMA100 ad1: 190782MB WDC WD2000JB-00GVA0/08.02D08 [387621/16/63] at ata0-slave UDMA100 Mounting root from ufs:/dev/ad0s1a WARNING: /backup was not properly dismounted Accounting enabled I rebooted the box via gdm on :0:0 (ttyv0) yesterday after viewing the initial posts of this thread. If there is a chance I'm doing something wrong, I'd appreciate someone with knowledge letting me know ... OTOH, if there is a bug in 5.3 that's not been fixed (I currently am browing the CVS logs at freebsd.org, but hardly know where to look on this issue) related to **ufs**, perhaps we ought to ring a bell somewhere? Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
shutdown(8): supposed to dismount all FSes?
Dumb question, which man 8 shutdown and cousins (halt, reboot) don't seem to answer: is incanting shutdown expected to unmount all mounted filesystems, even those mounted interactively (i.e. not listed in /etc/fstab)? I ask because I managed to embarass myself during a trial install of FreeBSDS-5.3RC1 (my first outing with FreeBSD, though I've too many years with HP-UX, Debian, RedHat, and recently OpenBSD). I'd mounted an ext3 partition for a quick bit of editing (that's where my grub config files were), using the built-in ext2fs. In cavalier mode, once I'd made the edits I wanted, I incanted shutdown -r now, as you do. In its last dying moments, the FreeBSD kernel spat out a message along the lines of flushing vnodes: 1 1 1 ... 1 1 1 giving up on 1 buffer (sorry, I didn't write the msg down, and am reconstructing from a dangerous combination of memory and Googling for 'the sort of thing FreeBSD says as it shuts down' ;-). It seems reprodicible - when I umount'ed the ext3 partition manually another time, no buffers were Given Up on, and the next time I forgot I hosed myself again. (Happily the Fedora fsck didn't seem to think the partition was beyond repair ;-). If this is simply luser error, tell me so and I'll go away a sadder if not a wiser man. If, though, the intention is that shutdown should cleanly dismount all FSen, regardless of their presence in /etc/fstab, tell me so and I'll spend a little time (but prolly not till next week; apologies) characterising the circumstances more closely. (E.g.: I note from Googling around that there was a reported bug in the same vague area when a read-only floppy was mounted; I may well have had a CD-ROM mounted at the same time, which is inherently read-only (d'oh). But I thought I'd better ask first what the shutdown behaviour is *intended* to be...) Thanks, Stefek ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shutdown(8): supposed to dismount all FSes?
Stefek Zaba wrote: Dumb question, which man 8 shutdown and cousins (halt, reboot) don't seem to answer: is incanting shutdown expected to unmount all mounted filesystems, even those mounted interactively (i.e. not listed in /etc/fstab)? Yes, shutdown is supposed to unmount all of the filesystems cleanly. However I ask because I managed to embarass myself during a trial install of FreeBSDS-5.3RC1 (my first outing with FreeBSD, though I've too many years with HP-UX, Debian, RedHat, and recently OpenBSD). I'd mounted an ext3 partition for a quick bit of editing (that's where my grub config files were), using the built-in ext2fs. ...I recall that there are some issues handling ext2fs filesystems cleanly during the shutdown process, which tend to cause them to not be unmounted properly. It's considered a bug. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]