Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 17:53:07 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Fox F" <fox@cyberfoxfire.com>, "Freddie Cash" <fjwcash@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Convert standalone zpool to RAID1 with data in place
Message-ID:  <A5FD9F70AF7149908E6945C3D32CE703@multiplay.co.uk>
References:  <50955FB1.2070800@cyberfoxfire.com> <CAOjFWZ4duNemmfSez9P7O1ppyBhLs8Bn-2aUX_E6fVq36F7Z0w@mail.gmail.com> <5097FB86.9050008@cyberfoxfire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Fox F" <fox@cyberfoxfire.com>

> I did forget one point to have clarified.
> 
> Forget the striping. Let's just assume two disks, 1 and 2.
> 
> I only have disk1 on hand. So I create a zpool/zfs with it.
> 
> # zpool create mypool disk1
> # zfs create mypool/repository
> 
> Then some data is put on the zfs. Now, I want to convert mypool to a 
> mirror with disk2, while keeping the data on disk1 intact. Is there a 
> way to do that?

Yes off hand you want "zpool attach mypool disk1 disk2" more details in
"man zpool"

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5FD9F70AF7149908E6945C3D32CE703>