From owner-freebsd-bugs@freebsd.org Thu Jul 2 23:20:34 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09FF4993A3C for ; Thu, 2 Jul 2015 23:20:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D154C1985 for ; Thu, 2 Jul 2015 23:20:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t62NKXej040896 for ; Thu, 2 Jul 2015 23:20:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201296] HyperV and fstab not automapping swap using uuid's Date: Thu, 02 Jul 2015 23:20:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter.thoenen@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 23:20:34 -0000 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.