Re: [zfs-discuss] rename(2), atomicity, crashes and fsync()

2009-03-20 Thread Joerg Schilling
Peter Schuller wrote: > > fsync() is, indeed, expensive. Lots of calls to fsync() that are not > > necessary for correct application operation EXCEPT as a workaround for > > lame filesystem re-ordering are a sure way to kill performance. > > IMO the fundamental problem is that the only way to ac

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Michael Ramchand
You also DON'T want to give a single disk to your rpool. ZFS really needs to be able to fix errors when it finds them. Suggest you read the ZFS Best Practices Guide (again). http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Storage_Pools Mike Tomas Ögren wrote: On 19 M

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Bob Friesenhahn
On Thu, 19 Mar 2009, Harry Putnam wrote: So raidz1 would probably be adequate for me... I wouldn't be putting it to the test like a commercial operation might. Yes, but it is pointless to use it with three disks since a mirror provides the same space using only two disks and is therefore 1/3

Re: [zfs-discuss] is 'zfs receive' atomic per snapshot?

2009-03-20 Thread José Gomes
2009/3/19 Richard Elling > José Gomes wrote: > >> Can we assume that any snapshot listed by either 'zfs list -t snapshot' or >> 'ls .zfs/snapshot' and previously created with 'zfs receive' is complete and >> correct? Or is it possible for a 'zfs receive' command to fail >> (corrupt/truncated stre

Re: [zfs-discuss] is 'zfs receive' atomic per snapshot?

2009-03-20 Thread José Gomes
2009/3/19 Matthew Ahrens > José Gomes wrote: > >> Can we assume that any snapshot listed by either 'zfs list -t snapshot' or >> 'ls .zfs/snapshot' and previously created with 'zfs receive' is complete and >> correct? Or is it possible for a 'zfs receive' command to fail >> (corrupt/truncated stre

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Will Murnane
On Fri, Mar 20, 2009 at 14:57, Bob Friesenhahn wrote: > On Thu, 19 Mar 2009, Harry Putnam wrote: >> >> So raidz1 would probably be adequate for me... I wouldn't be putting >> it to the test like a commercial operation might. > > Yes, but it is pointless to use it with three disks since a mirror pr

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Harry Putnam
Bob Friesenhahn writes: >>> With five disks, raidz1 becomes useful. >> >> The three 500gb I have now are all one brand and model number and IDE ata. >> If I were to expand to 5, those 2 would need to be sata or else I'd >> also need to add a PCI IDE controller. >> >> With that in mind would it be

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Bob Friesenhahn
On Fri, 20 Mar 2009, Will Murnane wrote: Yes, but it is pointless to use it with three disks since a mirror provides the same space using only two disks Huh? A three-disk raidz1 provides as much space as two disks, a mirror of two disks provides as much space as one disk. Sorry about that. B

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Casper . Dik
>So is 5 with 1 hotswap (total 6) a sensible arrangement? And would >that leave me with something like 2tb (minus manufacturer exaggeration) >and one disk would be swallowed for parity data. Yeah, yeah. Perhaps you can ask the "SI" to change the definition of "T" from 10^12 to 2^40. The only p

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread reader
casper@sun.com writes: >>So is 5 with 1 hotswap (total 6) a sensible arrangement? And would >>that leave me with something like 2tb (minus manufacturer exaggeration) >>and one disk would be swallowed for parity data. > > Yeah, yeah. Perhaps you can ask the "SI" to change the definition of > "

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Cindy . Swearingen
Harry, Bob F. has give you some excellent advice about using mirrored configurations. I can answer your RAIDZ questions but your original configuration was for a root pool and non-root pool using 4 disks total. Start with two mirrored pools of two disks each. In the future, you will be able to a

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Harry Putnam
ALERT.. Long Winded reply ahead.. cindy.swearin...@sun.com writes: > Harry, > > Bob F. has give you some excellent advice about using mirrored > configurations. I can answer your RAIDZ questions but your original > configuration was for a root pool and non-root pool using 4 disks > total. I didn

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Blake
Replies inline (I really would recommend reading the whole ZFS Best Practices guide a few times - many of your questions are answered in that document): On Fri, Mar 20, 2009 at 3:15 PM, Harry Putnam wrote: > > I didn't make it clear.  1 disk, the one with rpool on it is 60gb. > The other 3 are 5

Re: [zfs-discuss] Size discrepancy (beyond expected amount?)

2009-03-20 Thread Harry Putnam
Blake writes: > Replies inline (I really would recommend reading the whole ZFS Best > Practices guide a few times - many of your questions are answered in > that document): First, I hope you don't think I am being hard headed and not reading the documentation you suggest. I have some trouble re