Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2017 09:51:13 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        stable@FreeBSD.org
Cc:        Pete French <petefrench@ingresso.co.uk>
Subject:   Re: moutnroot failing on zpools in Azure after upgrade from 10 to 11 due to lack of waiting for da0
Message-ID:  <ca98a21f-f510-36aa-b8a7-20f4bf4bec59@FreeBSD.org>
In-Reply-To: <20170313190728.GA2967@brick>
References:  <E1cnOkS-0000oL-Ia@dilbert.ingresso.co.uk> <20170313190728.GA2967@brick>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/03/2017 21:07, Edward Tomasz NapieraƂa wrote:
> Are you sure the above transcript is right?  There are three reasons
> I'm asking.  First, you'll see the "Root mount waiting" message,
> which means the root mount code is, well, waiting for storvsc, exactly
> as expected.  Second - there is no "Trying to mount root".  But most
> of all - for some reason the "Mounting failed" is shown _before_ the
> "Root mount waiting", and I have no idea how this could ever happen.

Edward, your observation is not completely correct.
https://www.twisted.org.uk/~pete/914893a3-249e-4a91-851c-f467fc185eec.txt

We have:

Trying to mount root from zfs:rpool/ROOT/default []... <===
vmbus0: version 3.0
...
storvsc0: <Hyper-V IDE Storage Interface> on vmbus0
Solaris: NOTICE: Cannot find the pool label for 'rpool'
Mounting from zfs:rpool/ROOT/default failed with error 5. <===
Root mount waiting for: storvsc <===
...

So, the kernel attempted to mount the root even before vmbus was attached and,
thus, before storvsc appeared and informed the kernel that it might be holding
the root.
How ZFS was supposed to know that vmbus is ever going to appear?
To me this sounds more like a problem with the Hyper-V drivers.


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca98a21f-f510-36aa-b8a7-20f4bf4bec59>