[Bug 275147] ext2fs mounted at the root of the system does not unmount
Date: Fri, 17 Nov 2023 03:00:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275147 Bug ID: 275147 Summary: ext2fs mounted at the root of the system does not unmount Product: Base System Version: 13.2-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: WinslowDoug@gmail.com Please excuse my brevity. I hope this is helpful. I'm attempting to use a FreeBSD system I installed onto a root device formatted in Linux using its ext2 file system standard, however this bug is also showing after zeroing the device and using ext3 and ext4. Disk does not automatically remount at boot due to the file system being flagged for checking. This happens with or without a partition table leading the disk. System bootstrap is via CD-ROM with load of kernel and ext2fs.ko and 'boot -a'. VM session is via QEMU 5.2.0. Workaround is 'mount -f /' in single-user mode or file system check while disk is off-line. The following information is transcribed via hand from the on-screen log: Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 0 done All buffers synced. unmount of / failed (22) WARNING: Filesystem was not properly dismounted Starting file system checks: WARNING: R/W mount of / denied. Filesystem is not clean - run fsck mount: /dev/ada0: Operation not permitted Mounting root filesystem rw failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! 2023-11-16T21:27:56.51196-05:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: -- You are receiving this mail because: You are the assignee for the bug.