Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 10:27:11 -0800
From:      Patrick <gibblertron@gmail.com>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: ZFS: Add disk to single disk pool
Message-ID:  <CA%2BdWbmYEJ6-iykiDby8CdgSKNZr5jM2DTRfc7mAO6gkKHFdzyg@mail.gmail.com>
In-Reply-To: <52EF57E6.6030408@gmail.com>
References:  <CA%2BdWbmbTxfvEL_e2Up0KzZmav5qRBeKOEOO9u3d7Jh3U8sb=Sg@mail.gmail.com> <CA%2BdWbmbCx7UJCMQ-8YxBbO_r5_=KU6MbQmmPht4Akh-oXaQs-w@mail.gmail.com> <52EF57E6.6030408@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 3, 2014 at 12:48 AM, Johan Hendriks <joh.hendriks@gmail.com>wrote:

> Patrick schreef:
>
>> On Sat, Feb 1, 2014 at 1:29 PM, Patrick <gibblertron@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.
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-
>> unsubscribe@freebsd.org"
>>
> You do know that if one of the disks fail, you loose the whole pool?!
> There is no parity to overcome a disk failure in this setup.


Yes, I'm aware. This system is a VPS with virtual disks on redundant
hardware and an external backup strategy.

Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdWbmYEJ6-iykiDby8CdgSKNZr5jM2DTRfc7mAO6gkKHFdzyg>