Re: SPAM: Re: ZFS root, error 2 when mounting root

2013-02-26 Thread bw.mail.lists
On 02/26/2013 04:31 PM, Chad M Stewart wrote: I've been down this road recently with 9.1-release. I ended up adding these lines to end of my script ## The next two are "hacks" in my book, without the last line, on reboot ## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or r

Re: SPAM: Re: ZFS root, error 2 when mounting root

2013-02-26 Thread Chad M Stewart
I've been down this road recently with 9.1-release. I ended up adding these lines to end of my script ## The next two are "hacks" in my book, without the last line, on reboot ## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or reboot "fixes" # this quirk zpool export zroot z

Re: SPAM: Re: ZFS root, error 2 when mounting root

2013-02-25 Thread dweimer
On 02/25/2013 10:00 am, bw wrote: That was my understanding, too, but the instructions on the wiki say there's no need to copy the cache file. In fact, there is no cache file to copy, since the pool is created with zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs /de

Re: ZFS root, error 2 when mounting root

2013-02-25 Thread bw
That was my understanding, too, but the instructions on the wiki say there's no need to copy the cache file. In fact, there is no cache file to copy, since the pool is created with zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs /dev/gpt/g1zfs No cache file. The w

Re: ZFS root, error 2 when mounting root

2013-02-25 Thread Paul Kraus
On Feb 25, 2013, at 10:14 AM, bw wrote: > On 02/25/2013 03:13 PM, Paul Kraus wrote: >> On Feb 24, 2013, at 4:42 AM, bw.mail.lists wrote: >> >>> Basically, I tried to follow >>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up >>> with a system that didn't know how to mo

Re: ZFS root, error 2 when mounting root

2013-02-25 Thread bw
On 02/25/2013 03:13 PM, Paul Kraus wrote: On Feb 24, 2013, at 4:42 AM, bw.mail.lists wrote: Basically, I tried to follow https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with a system that didn't know how to mount /. There are two scripts attached. I did not see any

Re: ZFS root, error 2 when mounting root

2013-02-25 Thread Paul Kraus
On Feb 24, 2013, at 4:42 AM, bw.mail.lists wrote: > Basically, I tried to follow > https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with > a system that didn't know how to mount /. > > There are two scripts attached. I did not see any attachments. > The main differen

ZFS root, error 2 when mounting root

2013-02-24 Thread bw.mail.lists
Basically, I tried to follow https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up with a system that didn't know how to mount /. There are two scripts attached. zfsnocache.sh follows the instructions on the wiki. The system booted just fine, but when it got to the part wher