Good morning all. I am in the process of building my V1 SAN for media storage in house, and i am already thinkg ov the V2 build... Currently, there are 8 250Gb hdds and 3 500Gb disks. the 8 250s are in a RAIDZ2 array, and the 3 500s will be in RAIDZ1... At the moment, the current case is quite full. i am looking at a 20 drive hotswap case, which i plan to order soon. when the time comes, and i start upgrading the drives to larger drives, say 1Tb drives, would it be easy to migrate the contents of the RAIDZ2 array to the new Array? I see mentions of ZFS Send and ZFS recieve, but i have no idea if they would do the job... Thanks in advance. -- Tiernan O''Toole blog.lotas-smartman.net www.tiernanotoolephotography.com www.the-hairy-one.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100215/e1b97349/attachment.html>
Yes send and receive will do the job. see zfs manpage for details. James Dickens http://uadmin.blogspot.com On Mon, Feb 15, 2010 at 11:56 AM, Tiernan OToole <lsmartman at gmail.com>wrote:> Good morning all. > > I am in the process of building my V1 SAN for media storage in house, and i > am already thinkg ov the V2 build... > > Currently, there are 8 250Gb hdds and 3 500Gb disks. the 8 250s are in a > RAIDZ2 array, and the 3 500s will be in RAIDZ1... > > At the moment, the current case is quite full. i am looking at a 20 drive > hotswap case, which i plan to order soon. when the time comes, and i start > upgrading the drives to larger drives, say 1Tb drives, would it be easy to > migrate the contents of the RAIDZ2 array to the new Array? I see mentions of > ZFS Send and ZFS recieve, but i have no idea if they would do the job... > > Thanks in advance. > > -- > Tiernan O''Toole > blog.lotas-smartman.net > www.tiernanotoolephotography.com > www.the-hairy-one.com > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100215/9eb15da6/attachment.html>
On Mon, 15 Feb 2010, Tiernan OToole wrote:> Good morning all. > > I am in the process of building my V1 SAN for media storage in house, and i > am already thinkg ov the V2 build... > > Currently, there are 8 250Gb hdds and 3 500Gb disks. the 8 250s are in a > RAIDZ2 array, and the 3 500s will be in RAIDZ1... > > At the moment, the current case is quite full. i am looking at a 20 drive > hotswap case, which i plan to order soon. when the time comes, and i start > upgrading the drives to larger drives, say 1Tb drives, would it be easy to > migrate the contents of the RAIDZ2 array to the new Array? I see mentions of > ZFS Send and ZFS recieve, but i have no idea if they would do the job... >if you can expose both disk arrays to the host then you can replace (zpool replace) a disk (vdev) one-by-one. Once you replaced all disks with larger ones zfs will automatically enlarge your pool. -- Robert Milkowski http://milek.blogspot.com
So, does that work with RAIDZ1 and 2 pools? On Tue, Feb 16, 2010 at 1:47 PM, Robert Milkowski <milek at task.gda.pl> wrote:> > > On Mon, 15 Feb 2010, Tiernan OToole wrote: > > Good morning all. >> >> I am in the process of building my V1 SAN for media storage in house, and >> i >> am already thinkg ov the V2 build... >> >> Currently, there are 8 250Gb hdds and 3 500Gb disks. the 8 250s are in a >> RAIDZ2 array, and the 3 500s will be in RAIDZ1... >> >> At the moment, the current case is quite full. i am looking at a 20 drive >> hotswap case, which i plan to order soon. when the time comes, and i start >> upgrading the drives to larger drives, say 1Tb drives, would it be easy to >> migrate the contents of the RAIDZ2 array to the new Array? I see mentions >> of >> ZFS Send and ZFS recieve, but i have no idea if they would do the job... >> >> > > if you can expose both disk arrays to the host then you can replace (zpool > replace) a disk (vdev) one-by-one. Once you replaced all disks with larger > ones zfs will automatically enlarge your pool. > > -- > Robert Milkowski > http://milek.blogspot.com > >-- Tiernan O''Toole blog.lotas-smartman.net www.tiernanotoolephotography.com www.the-hairy-one.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100216/c94a3146/attachment.html>
On Tue, Feb 16, 2010 at 8:25 AM, Tiernan OToole <lsmartman at gmail.com> wrote:> So, does that work with RAIDZ1 and 2 pools?Yes. Replace all the disks in one vdev, and that vdev will become larger. Your disk layout won''t change though - You''ll still have a raidz vdev, a raidz2 vdev. It might be a good idea to revise the layout a bit with larger disks. If you do change the layout, then a send/receive is the easiest way to move your data. It can be used to copy everything on the pool (including snapshots, etc) to your new system. -B -- Brandon High : bhigh at freaks.com Suspicion Breeds Confidence
Cool... Thanks for the advice! Buy why would it be a good idea to change layout on bigger disks? -----Original Message----- From: Brandon High <bhigh at freaks.com> Sent: 16 February 2010 18:26 To: Tiernan OToole <lsmartman at gmail.com> Cc: Robert Milkowski <milek at task.gda.pl>; zfs-discuss at opensolaris.org Subject: Re: [zfs-discuss] Plan for upgrading a ZFS based SAN On Tue, Feb 16, 2010 at 8:25 AM, Tiernan OToole <lsmartman at gmail.com> wrote:> So, does that work with RAIDZ1 and 2 pools?Yes. Replace all the disks in one vdev, and that vdev will become larger. Your disk layout won''t change though - You''ll still have a raidz vdev, a raidz2 vdev. It might be a good idea to revise the layout a bit with larger disks. If you do change the layout, then a send/receive is the easiest way to move your data. It can be used to copy everything on the pool (including snapshots, etc) to your new system. -B -- Brandon High : bhigh at freaks.com Suspicion Breeds Confidence
On Tue, 16 Feb 2010, Tiernan OToole wrote:> Cool... Thanks for the advice! Buy why would it be a good idea to > change layout on bigger disks?Larger disks take longer to resilver, have a higher probability of encountering an error during resilvering or normal use, and are often slower. This may cause one to want fewer disks per raidz-N vdev, or to use a higher level of raidz protection (e.g. raidz2 rather than raidz1, or raidz3 rather than raidz2). Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
On Tue, Feb 16, 2010 at 3:13 PM, Tiernan OToole <lsmartman at gmail.com> wrote:> Cool... Thanks for the advice! Buy why would it be a good idea to change layout on bigger disks?On top of the reasons Bob gave, your current layout will be very unbalanced after adding devices. You can''t currently add more devices to a raidz vdev or remove a top level vdev from a pool, so you''ll be stuck with 8 drives in a raidz2, 3 drives in a raidz, and any future additions in additional vdevs. When you say you have 2 pools, do you mean two vdevs in one pool, or actually two pools? -B -- Brandon High : bhigh at freaks.com Indecision is the key to flexibility.
At the moment is just one pool with a plan to add the 500gb drives... What would be recommend? -----Original Message----- From: Brandon High <bhigh at freaks.com> Sent: 17 February 2010 01:00 To: Tiernan OToole <lsmartman at gmail.com> Cc: Robert Milkowski <milek at task.gda.pl>; zfs-discuss at opensolaris.org Subject: Re: [zfs-discuss] Plan for upgrading a ZFS based SAN On Tue, Feb 16, 2010 at 3:13 PM, Tiernan OToole <lsmartman at gmail.com> wrote:> Cool... Thanks for the advice! Buy why would it be a good idea to change layout on bigger disks?On top of the reasons Bob gave, your current layout will be very unbalanced after adding devices. You can''t currently add more devices to a raidz vdev or remove a top level vdev from a pool, so you''ll be stuck with 8 drives in a raidz2, 3 drives in a raidz, and any future additions in additional vdevs. When you say you have 2 pools, do you mean two vdevs in one pool, or actually two pools? -B -- Brandon High : bhigh at freaks.com Indecision is the key to flexibility.