Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 23:20:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201296] HyperV and fstab not automapping swap using uuid's
Message-ID:  <bug-201296-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: peter.thoenen@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@prh-i-sec:/home/pthoenen # swapinfo 
Device          1K-blocks     Used    Avail Capacity
root@prh-i-sec:/home/pthoenen # swapon -a
swapon: /dev/gptid/a6822e47-dcc4-11e4-88a9-00155d29501f: No such file or
directory
root@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@prh-i-sec:/home/pthoenen # ls /dev/gpt/
gptboot0        zfs0
root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201296-8>