Date: Wed, 06 Jan 2021 12:21:10 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: maintainer-feedback requested: [Bug 252468] emulators/qemu-user-static: mount(8) cannot show root filesystem Message-ID: <bug-252468-4077-QykKMrk7Og@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252468-4077@https.bugs.freebsd.org/bugzilla/> References: <bug-252468-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-emulation (Nob= ody) <emulation@FreeBSD.org> for maintainer-feedback: Bug 252468: emulators/qemu-user-static: mount(8) cannot show root filesystem https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252468 --- Description --- Scenario: - disk903: ZFS volume containing an amd64 FreeBSD head installation - disk925: ZFS volume containing an armv6 FreeBSD head installation, export= ed via iSCSI - bhyve server running FreeBSD 12.2 (releng/12.2) - bhyve client running from disk903 -> results in running VM "v903" - in v903, the disk925 armv6 installation is imported using iSCSI and mount= ed on /d/925s2a - in v903, qemu-user-static is installed - in v903, a chroot to /d/925s2a is done using chroot /d/925s2a/ zsh -l - This results in a shell (zsh) running emulated armv6 binaries. - (This setup is used to update armv6 ports using portmaster.) - In this chroot, issue "mount -p /" and "df /". Result: [0]# mount -p / mount: /: unknown special file or file system [1]# df / Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/diskid/DISK-HAL_V0925s2a 20289716 3970484 14696056 21% /d/925s2a [0]#=20 Expected result: [0]# mount -p /=20=20=20=20 /dev/diskid/DISK-HAL_V0925s2a /d/925s2a ufs rw 0 0 [0]# df / Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/diskid/DISK-HAL_V0925s2a 20289716 3970484 14696056 21% /d/925s2a [0]#=20 -- Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252468-4077-QykKMrk7Og>