Re[2]: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Robert Milkowski
Hello Matthew, Friday, March 23, 2007, 2:49:03 AM, you wrote: MA> Robert Milkowski wrote: >> MA> Ah -- I think that may help explain things. It may be that your file >> MA> has some runs of zeros in it, which are represented as holes in >> MA> d100-copy1/m1, but as blocks of zeros in the d100/

Re: [zfs-discuss] Re: Re: Proposal: ZFS hotplug

2007-03-22 Thread Darren Dunham
> > > Consider a server [with] three drives, A, B, and C, in which A and B are > > > mirrored and > > > C is not. Pull out A, B, and C, and re-insert them as A, C, and B. If > > > B is slow to come up for some reason, ZFS will see "C" in place of > > > "B", and happily reformat it into a mirror of

[zfs-discuss] Re: Re: Proposal: ZFS hotplug supportandautoconfiguration

2007-03-22 Thread Anton B. Rang
> > Consider a server [with] three drives, A, B, and C, in which A and B are > > mirrored and > > C is not. Pull out A, B, and C, and re-insert them as A, C, and B. If > > B is slow to come up for some reason, ZFS will see "C" in place of > > "B", and happily reformat it into a mirror of "A". (Or

Re: [zfs-discuss] Re: Is there any performance problem with hard links in ZFS?

2007-03-22 Thread Matthew Ahrens
Viktor Turskyi wrote: Thank you very much for the consultation. The information was very useful. You're welcome! And I have one more questions about ZFS file attributes. I have found such information "2^56 — Number of attributes of a file in ZFS" but i cant found any information mechanism of

Re: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Matthew Ahrens
Robert Milkowski wrote: MA> Ah -- I think that may help explain things. It may be that your file MA> has some runs of zeros in it, which are represented as holes in MA> d100-copy1/m1, but as blocks of zeros in the d100/m1. It begs the MA> question, what is this file and how did you create the

Re: [zfs-discuss] ZFS layout for 10 disk?

2007-03-22 Thread Richard Elling
John-Paul Drawneek wrote: got a 12 disk system - all 18gb 2 mirror for boot, now what to do with the rest? The storage is to be used for user space, web stuff and to store anything else (dump for data). I could do 5 mirrors, but thats a wasting quite a bit of space. Was thinking about raidz2,

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Jens Elkner
On Thu, Mar 22, 2007 at 01:34:15PM -0600, Mark Shellenbaum wrote: > > >>There is one big difference which you see here. ZFS always honors the > >>users umask, and that is why the file was created with 644 permission > >>rather than 664 as UFS did. ZFS has to always apply the users umask > >>b

Re: [zfs-discuss] /tmp on ZFS?

2007-03-22 Thread Michael Schuster
Matt B wrote: Is this something that should work? The assumption is that there is a dedicated raw SWAP slice and after install /tmp (which will be on /) will be unmounted and mounted to zpool/tmp (just like zpool/home) Thoughts on this? you are aware that /tmp by default resides in memory th

Re: [zfs-discuss] Re: ZFS layout for 10 disk?

2007-03-22 Thread Eric Schrock
On Fri, Mar 23, 2007 at 12:11:38PM +1200, Nicholas Lee wrote: > On 3/23/07, John-Paul Drawneek <[EMAIL PROTECTED]> wrote: > > >Can i do to Raidz2 over 5 and a Raidz2 over 4 with a spare for them all? > >or two Raidz2 over 4 with 2 spare? > > > This is a question I was planning to ask as well. >

Re: [zfs-discuss] Re: ZFS layout for 10 disk?

2007-03-22 Thread Nicholas Lee
On 3/23/07, John-Paul Drawneek <[EMAIL PROTECTED]> wrote: Can i do to Raidz2 over 5 and a Raidz2 over 4 with a spare for them all? or two Raidz2 over 4 with 2 spare? This is a question I was planning to ask as well. Does zfs allow a hot spare to be allocated to multiple pools or as a system

[zfs-discuss] /tmp on ZFS?

2007-03-22 Thread Matt B
Is this something that should work? The assumption is that there is a dedicated raw SWAP slice and after install /tmp (which will be on /) will be unmounted and mounted to zpool/tmp (just like zpool/home) Thoughts on this? This message posted from opensolaris.org

Re: [zfs-discuss] C'mon ARC, stay small...

2007-03-22 Thread Darren . Reed
Jim Mauro wrote: All righty...I set c_max to 512MB, c to 512MB, and p to 256MB... > arc::print -tad { ... c02e29e8 uint64_t size = 0t299008 c02e29f0 uint64_t p = 0t16588228608 c02e29f8 uint64_t c = 0t33176457216 c02e2a00 uint64_t c_min = 0t10703

[zfs-discuss] Re: ZFS layout for 10 disk?

2007-03-22 Thread John-Paul Drawneek
I have read the links - good read So would i have two pools? Can i do to Raidz2 over 5 and a Raidz2 over 4 with a spare for them all? or two Raidz2 over 4 with 2 spare? Just trying to get the most storage out of it. But the setup you suggested sounds good This message posted from opensolari

Re: [zfs-discuss] ZFS layout for 10 disk?

2007-03-22 Thread Nicholas Lee
On 3/23/07, John-Paul Drawneek <[EMAIL PROTECTED]> wrote: I've got the same consideration at the moment. Should i do 9 disk raidz2 with a spare, or could i do two raidz2 to get a bit of performance? Only done tests with striped mirrors which seems to give it a boost, so is it worth it with a r

Re[2]: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Robert Milkowski
Hello Matthew, Friday, March 23, 2007, 12:01:12 AM, you wrote: MA> Robert Milkowski wrote: >> What's the last line about? MA> Ah -- I think that may help explain things. It may be that your file MA> has some runs of zeros in it, which are represented as holes in MA> d100-copy1/m1, but as bloc

Re: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Matthew Ahrens
Robert Milkowski wrote: What's the last line about? Ah -- I think that may help explain things. It may be that your file has some runs of zeros in it, which are represented as holes in d100-copy1/m1, but as blocks of zeros in the d100/m1. It begs the question, what is this file and how did

Re[2]: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Robert Milkowski
Hello Matthew, Thursday, March 22, 2007, 8:07:14 PM, you wrote: MA> Robert Milkowski wrote: >> While lsize is the same for both files asize is smaller fr the second >> one. Why is it? When is is possible? Both file systems have >> compression turned off and default recordsize. Diff claims both f

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Peter Tribble
On 3/22/07, Mark Shellenbaum <[EMAIL PROTECTED]> wrote: > > Please explain how. I've been trying to make this work for months with > no success. > > The business requirement is that all files in a directory hierarchy be > created > mode 660 - read and write by owner and primary group. How do I d

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Mark Shellenbaum
Please explain how. I've been trying to make this work for months with no success. The business requirement is that all files in a directory hierarchy be created mode 660 - read and write by owner and primary group. How do I do this? # zfs set aclmode=passthrough # mkdir dir.test # chmo

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Peter Tribble
On 3/22/07, Mark Shellenbaum <[EMAIL PROTECTED]> wrote: > Wow, that's a big show stopper! If I tell the users, that after the > transition they have to toggle their umask before/after writing to > certain directories or need to do a chmod, I'm sure they wanna hang me > right on the next tree and

[zfs-discuss] ZFS layout for 10 disk?

2007-03-22 Thread John-Paul Drawneek
got a 12 disk system - all 18gb 2 mirror for boot, now what to do with the rest? The storage is to be used for user space, web stuff and to store anything else (dump for data). I could do 5 mirrors, but thats a wasting quite a bit of space. Was thinking about raidz2, as its almost as reliable a

[zfs-discuss] 6410 expansion shelf

2007-03-22 Thread Frank Cusack
Does anyone have a 6140 expansion shelf that they can hook directly to a host? Just wondering if this configuration works. Previously I though the expansion connector was proprietary but now I see it's just fibre channel. I tried this before with a 3511 and it "kind of" worked but ultimately ha

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Mark Shellenbaum
There is one big difference which you see here. ZFS always honors the users umask, and that is why the file was created with 644 permission rather than 664 as UFS did. ZFS has to always apply the users umask because of POSIX. Wow, that's a big show stopper! If I tell the users, that afte

Re: [zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Matthew Ahrens
Robert Milkowski wrote: While lsize is the same for both files asize is smaller fr the second one. Why is it? When is is possible? Both file systems have compression turned off and default recordsize. Diff claims both files to be the same. Metadata (eg, "DMU dnode", and indirect blocks for "Z

[zfs-discuss] Overview (rollup) of recent activity on zfs-discuss

2007-03-22 Thread Eric Boutilier
Special note: Here's a question I get a lot: Q: Why did you miss (or miss us) last time? A: This is a misconception that stems from the variability of the forums I cover each (semi-monthly) period. The set is not static; rather, it's based primarily on traffic volume. To illustrate, this pe

Re: [zfs-discuss] The value of validating your backups...

2007-03-22 Thread Brian Hechinger
On Tue, Mar 20, 2007 at 03:35:41PM -0400, Jim Mauro wrote: > > http://www.cnn.com/2007/US/03/20/lost.data.ap/index.html I worked (briefly, left right after this, no point working there) at a place that lost the hdd in it's main server. (small company). "That's ok! We have backups!" Guy had be

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Jens Elkner
On Thu, Mar 22, 2007 at 08:45:47AM -0600, Mark Shellenbaum wrote: Hi Mark, > Jens Elkner wrote: > >cp -P -r -p /dir /pool1/zfsdir > ># cp: Insufficient memory to save acl entry > I will open a bug on that. Also opened a case: #37814372 > I can't reproduce your simple test. Ehm

Re[2]: [zfs-discuss] Why replacing a drive generates writes to other disks?

2007-03-22 Thread Robert Milkowski
Hello Matthew, Wednesday, March 14, 2007, 9:00:28 AM, you wrote: MA> Robert Milkowski wrote: >> Hello zfs-discuss, >> >> Subject says it all. >> >> >> I first checked - no IO activity at all to the pool named thumper-2. >> So I started replacing one drive with 'zpool replace thumper-2 c7t7d0

[zfs-discuss] asize is 300MB smaller than lsize - why?

2007-03-22 Thread Robert Milkowski
Hi. System is snv_56 x86 32bit bash-3.00# zpool status solaris pool: solaris state: ONLINE scrub: scrub stopped with 0 errors on Thu Mar 22 16:25:23 2007 config: NAMESTATE READ WRITE CKSUM solaris ONLINE 0 0 0 c0t1d0ONLINE 0

Re: [zfs-discuss] Re: Proposal: ZFS hotplug support and autoconfiguration

2007-03-22 Thread Eric Schrock
On Wed, Mar 21, 2007 at 11:57:42PM -0700, Matt B wrote: > > Literally, someone should be able to make $7/hr with a stack of drives > and the ability to just look or listen to a server to determin which > drive needs to be replaced. > > This means ZFS will need to be able to control the HDD Status

Re: [zfs-discuss] Re: Proposal: ZFS hotplug support and autoconfiguration

2007-03-22 Thread Eric Schrock
On Wed, Mar 21, 2007 at 09:26:35PM -0700, Anton B. Rang wrote: > A couple of questions/comments -- > > Why is the REMOVED state not persistent? It seems that, if ZFS knows > that an administrator pulled a disk deliberately, that's still useful > information after a reboot. Changing the state to FA

Re: [zfs-discuss] migration/acl4 problem

2007-03-22 Thread Mark Shellenbaum
Jens Elkner wrote: Hi, 2) On zfs - e.g. as root do: cp -P -r -p /dir /pool1/zfsdir # cp: Insufficient memory to save acl entry I will open a bug on that. cp -r -p /dir /pool1/zfsdir # cp: Insufficient memory to save acl entry find dir | cpio -pu

[zfs-discuss] Re: Is there any performance problem with hard links in ZFS?

2007-03-22 Thread Viktor Turskyi
Thank you very much for the consultation. The information was very useful. And I have one more questions about ZFS file attributes. I have found such information "2^56 — Number of attributes of a file in ZFS" but i cant found any information mechanism of creating such attributes. The situation

[zfs-discuss] mount/umount test and ufs/zfs comparison

2007-03-22 Thread Selim Daoud
Here are some raw data during my tests. This tests consisted in timing mount/umount time for ufs and zfs We are not dowing mount/umount using the "[zfs] mount -a" because it is a serialized mount/umount. instead we do mount/umount in parallel, using the shell script below For UFS, we've created