Re: [zfs-discuss] preparing for future drive additions

2010-07-16 Thread Richard Elling
On Jul 14, 2010, at 11:44 PM, David Dyer-Bennet wrote: > On Wed, July 14, 2010 14:58, Daniel Taylor wrote: > >> I'm about the build a opensolaris NAS system, currently we have two drives >> and are planning on adding two more at a later date (2TB enterprise level >> HDD are a bit expensive!). > >

Re: [zfs-discuss] preparing for future drive additions

2010-07-15 Thread Daniel Taylor
Cindy, Thanks for getting back to me so quickly, I had though about that idea but (forgive me if I'm wrong) won't that leave me with 4TB of space free from my (eventual) 8TB's worth of drives? So 2 of the 2TB drives will be used just for mirroring. Where as with RaidZ I'd only lose one d

Re: [zfs-discuss] preparing for future drive additions

2010-07-15 Thread Marty Scholes
Cindy wrote: > Mirrored pools are more flexible and generally > provide good performance. > > You can easily create a mirrored pool of two disks > and then add two > more disks later. You can also replace each disk with > larger disks > if needed. See the example below. There is no dispute that m

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Carson Gaspar
Cindy Swearingen wrote: Hi Daniel, No conversion from a mirrored to RAIDZ configuration is available yet. Well... you can do it, but it's a bit byzantine, and leaves you without redundancy during the migration. 1) Add your new disks 2) Create a sparse file at least as large as your smallest

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Daniel Taylor
Perfect. Thank you you've been a great help, I have lots to think about (and test) now! Thanks again, nice to know this list is so responsive! - Daniel On 14 Jul 2010, at 23:34, Cindy Swearingen wrote: Yes, if you created snapshots of your file systems and stored them remotely, you could re

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Cindy Swearingen
Yes, if you created snapshots of your file systems and stored them remotely, you could receive them into the new pool. I recommend that you test this process a few times before attempting the transition. Thanks, Cindy On 07/14/10 16:21, Daniel Taylor wrote: Sorry I think I used the wrong terms

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Daniel Taylor
Sorry I think I used the wrong terms there, still learning, I think what I meant was send/receive rather than import/export. Would it be possible to use "zfs send" to backup the data somewhere (I'll work that bit out later), then "receive" it into the new pool? And if I did that would I kee

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Cindy Swearingen
You can't transition a mirrored pool to a RAIDZ pool with an pool export/import. If you find any info that says you can, please send a pointer. You would need to do these important middle steps: If you transition from a mirrored configuration to a RAIDZ configuration, you would need to backup th

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Daniel Taylor
Cindy, Hmm, I've using RAIDZ-2 on a nexentastor elsewhere (although that has 15 disks) and having looked quite a bit I agree that mirroring is very flexible in comparison. I'll have to think about it and see if I can afford to lose the 2TB's. The other solution I can think off is to export

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread David Dyer-Bennet
On Wed, July 14, 2010 14:58, Daniel Taylor wrote: > I'm about the build a opensolaris NAS system, currently we have two drives > and are planning on adding two more at a later date (2TB enterprise level > HDD are a bit expensive!). Do you really need them? Now? Maybe 1TB drives are good now, a

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Cindy Swearingen
Yes, that is true. If you have 4 2 TB drives, you would only get 4 TBs of usable disk space in a mirrored config. The problem I see with your potential RAIDZ config, if I understand it correctly, is that you can't add more disks to an existing RAIDZ config. You would need to create a 3 disk RAID

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Cindy Swearingen
Hi Daniel, No conversion from a mirrored to RAIDZ configuration is available yet. Mirrored pools are more flexible and generally provide good performance. You can easily create a mirrored pool of two disks and then add two more disks later. You can also replace each disk with larger disks if ne

Re: [zfs-discuss] preparing for future drive additions

2010-07-14 Thread Dave Pooser
On 7/14/10 Jul 14, 2:58 PM, "Daniel Taylor" wrote: > I was thinking of mirroring the drives and then converting to raidz some how? Not possible. You can start with a mirror and then add another mirror; the filesystem will spread data across both drives in a way analogous* to RAID 10. *You can't

[zfs-discuss] preparing for future drive additions

2010-07-14 Thread Daniel Taylor
Hello, I'm about the build a opensolaris NAS system, currently we have two drives and are planning on adding two more at a later date (2TB enterprise level HDD are a bit expensive!). Whats the best configuration for setting up these drives bearing in mind I want to expand in the future? I was