Date: Wed, 06 Jan 2021 12:21:10 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 252468] emulators/qemu-user-static: mount(8) cannot show root filesystem Message-ID: <bug-252468-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252468 Bug ID: 252468 Summary: emulators/qemu-user-static: mount(8) cannot show root filesystem Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: emulation@FreeBSD.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(emulation@FreeBSD.org) Assignee: emulation@FreeBSD.org 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252468-4077>