[Bug 201296] HyperV and fstab not automapping swap using uuid's

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 2 23:20:34 UTC 2015


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

            Bug ID: 201296
           Summary: HyperV and fstab not automapping swap using uuid's
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: peter.thoenen at yahoo.com

Might be wrong place (i.e. not kern) but not where to file it now that the MS
HV drivers/tools are included in the 10.1 base, i.e. ports didn't seem to make
sense.

Current on Microsoft HyperV FreeBSD VM is setup in cluster which means every
time my system "moves" hosts (blade chassis) I lose my swap drive.  Per the the
FreeBSD HyperV wiki and Microsoft FBSD BP Guide
(https://technet.microsoft.com/en-us/library/dn848317.aspx) this is handled by
"Add UUIDs for all devices listed in fstab" yet doesn't seem to work.  Output
below:

root at prh-i-sec:/home/pthoenen # swapinfo 
Device          1K-blocks     Used    Avail Capacity
root at prh-i-sec:/home/pthoenen # swapon -a
swapon: /dev/gptid/a6822e47-dcc4-11e4-88a9-00155d29501f: No such file or
directory
root at prh-i-sec:/home/pthoenen # cat /etc/fstab
# Device                                                Mountpoint             
FStype          Options Dump    Pass#
/dev/gptid/a6822e47-dcc4-11e4-88a9-00155d29501f         none                   
swap            sw      0       0
[..cut the rest such as proc .. the main drives are all via zfs..]
root at prh-i-sec:/home/pthoenen # ls /dev/gpt/
gptboot0        zfs0
root at prh-i-sec:/home/pthoenen # gpart list | grep -A 11 'da0p2' | grep
'rawuuid\|type\|Name'
2. Name: da0p2
   rawuuid: a6822e47-dcc4-11e4-88a9-00155d29501f
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   type: freebsd-swap


Help?

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


More information about the freebsd-bugs mailing list