[Bug 252468] emulators/qemu-user-static: mount(8) cannot show root filesystem

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 6 12:21:13 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252468

            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 at FreeBSD.org
          Reporter: d8zNeCFG at aon.at
             Flags: maintainer-feedback?(emulation at FreeBSD.org)
          Assignee: emulation at FreeBSD.org

Scenario:
- disk903: ZFS volume containing an amd64 FreeBSD head installation
- disk925: ZFS volume containing an armv6 FreeBSD head installation, exported
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 mounted
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]# 

Expected result:

[0]# mount -p /    
/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]# 

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list