[OpenIndiana-discuss] Migrating to smaller root pool
Reginald Beardsley
pulaskite at yahoo.com
Sun Mar 30 14:04:24 UTC 2014
Thanks! I'd failed to set the bootfs property on the new pool. Setting that was all it took.
BTW Long ago I created a pool which got trashed (it was probably OK, but I didn't know that at the time) by unplugging the power to the USB disk. I created a new pool on the disk, but the system still remembers that corrupted pool. Any idea how to clear that?
--------------------------------------------
On Sun, 3/30/14, Jim Klimov <jimklimov at cos.ru> wrote:
Subject: Re: [OpenIndiana-discuss] Migrating to smaller root pool
To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>, "Reginald Beardsley" <pulaskite at yahoo.com>, "oi" <openindiana-discuss at openindiana.org>
Date: Sunday, March 30, 2014, 2:51 AM
30 марта 2014 г. 5:27:09 CEST,
Reginald Beardsley <pulaskite at yahoo.com>
пишет:
>I'm trying to migrate to a smaller root pool so I can
put /export in a
>RAIDZ1 and use a 3 way mirror for the root pool.
So far I've been
>soundly thrashed. I copied the rpool contents over
to npool w/ "zfs
>send -R" and installed grub. When I boot the new disk,
grub comes up
>with the menu, but then complains it can't find the
filesystem. I used
>a dedicated Solaris disk and a 100 GB s0 slice.
>
>This is an existing system that I don't want to rebuild,
so the way I
>built my N40L won't work until I get the first bootable
pool.
>
>Hints or suggestions? This is very similar to
doing a bare metal
>recovery, so I have a strong interest in figuring this
out.
>
>Reg
>
>_______________________________________________
>OpenIndiana-discuss mailing list
>OpenIndiana-discuss at openindiana.org
>http://openindiana.org/mailman/listinfo/openindiana-discuss
I believe there may be a couple of things easy to miss:
1) did you bring over the non-default ("local") attributes
of the zpool, including 'bootfs' and perhaps 'failmode'?
2) how is the 'npool' ultimately called and how is a bootfs
referenced in the new copy of the grub menu (still
'rpool'?)
Note that to rename the rootpool you might use a live media
and zpool import-export trick, with a renaming import.
3) is the rootfs and dataset hierarchy leading to it
compressed in a way grub can't read (i.e. gzip)? I believe
it only permits uncompressed and lz4...
HTH,
//Jim
--
Typos courtesy of K-9 Mail on my Samsung Android
More information about the OpenIndiana-discuss
mailing list