ZFS: Add disk to single disk pool

Patrick gibblertron at gmail.com
Sun Feb 2 23:52:09 UTC 2014


On Sat, Feb 1, 2014 at 1:29 PM, Patrick <gibblertron at gmail.com> wrote:

> I set up a 9.2 system following the "RootOnZFS" instructions in the wiki.
> I have:
>
> # zpool status
>   pool: zroot
>  state: ONLINE
>   scan: none requested
> config:
>
>         NAME         STATE     READ WRITE CKSUM
>         zroot        ONLINE       0     0     0
>           gpt/disk0  ONLINE       0     0     0
>
> I have another disk that I'd like to add to expand the size of the volume,
> but I'm not sure how to do that.
>
> I've prepped the disk with:
>
> gpart create -s gpt ada1
> gpart add -t freebsd-zfs -l disk1 ada1
>
> I tried a few different things, but I'm clearly not getting something:
>
> # zpool add zroot /dev/gpt/disk1
>
> cannot add to 'zroot': root pool can not have multiple vdevs or separate
> logs
>

I found the solution here: http://astralblue.livejournal.com/371755.html

I just had to set bootfs="" temporarily while I added the new disk, and
then set it back.


More information about the freebsd-questions mailing list