[zfs-discuss] Re: Proposal: multiple copies of user data

2006-09-11 Thread William D. Hathaway
Hi Matt, Interesting proposal. Has there been any consideration if free space being reported for a ZFS filesystem would take into account the copies setting? Example: zfs create mypool/nonredundant_data zfs create mypool/redundant_data df -h /mypool/nonredundant_data /mypool/redun

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Matthew Ahrens
James Dickens wrote: though I think this is a cool feature, I think i needs more work. I think there sould be an option to make extra copies expendible. So the extra copies are a request, if the space is availible make them, if not complete the write, and log the event. Are you asking for the e

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread James Dickens
On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: James Dickens wrote: > On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: >> B. DESCRIPTION >> >> A new property will be added, 'copies', which specifies how many copies >> of the given filesystem will be stored. Its value must be 1, 2, or

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Mike Gerdts
On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: > would the user be held acountable for the space used by the extra > copies? Doh! Sorry I forgot to address that. I'll amend the proposal and manpage to include this information... Yes, the space used by the extra copies will be accounted

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Matthew Ahrens
Mike Gerdts wrote: Is there anything in the works to compress (or encrypt) existing data after the fact? For example, a special option to scrub that causes the data to be re-written with the new properties could potentially do this. This is a long-term goal of ours, but with snapshots, this is

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Matthew Ahrens
James Dickens wrote: On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: B. DESCRIPTION A new property will be added, 'copies', which specifies how many copies of the given filesystem will be stored. Its value must be 1, 2, or 3. Like other properties (eg. checksum, compression), it only af

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Mike Gerdts
On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: B. DESCRIPTION A new property will be added, 'copies', which specifies how many copies of the given filesystem will be stored. Its value must be 1, 2, or 3. Like other properties (eg. checksum, compression), it only affects newly-written da

Re: [zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread James Dickens
On 9/11/06, Matthew Ahrens <[EMAIL PROTECTED]> wrote: Here is a proposal for a new 'copies' property which would allow different levels of replication for different filesystems. Your comments are appreciated! --matt A. INTRODUCTION ZFS stores multiple copies of all metadata. This is accompli

[zfs-discuss] Proposal: multiple copies of user data

2006-09-11 Thread Matthew Ahrens
Here is a proposal for a new 'copies' property which would allow different levels of replication for different filesystems. Your comments are appreciated! --matt A. INTRODUCTION ZFS stores multiple copies of all metadata. This is accomplished by storing up to three DVAs (Disk Virtual Address

Re: [zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?

2006-09-11 Thread Luke Scharf
Dale Ghent wrote: On Sep 11, 2006, at 4:49 PM, Luke Scharf wrote: Luke Scharf wrote: zfs set sharenfs='rw=.foo-internal.bar.edu insecure no_root_squash' xr7/group/ntnt ; zfs share -a Also, is this the proper syntax for the no_root_squash? no_root_squash is a Linux-ism. What you're looki

Re: [zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?

2006-09-11 Thread Dale Ghent
On Sep 11, 2006, at 4:49 PM, Luke Scharf wrote: Luke Scharf wrote: zfs set sharenfs='rw=.foo-internal.bar.edu insecure no_root_squash' xr7/group/ntnt ; zfs share -a Also, is this the proper syntax for the no_root_squash? no_root_squash is a Linux-ism. What you're looking for in Solaris

Re: [zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?

2006-09-11 Thread Luke Scharf
Luke Scharf wrote: zfs set sharenfs='rw=.foo-internal.bar.edu insecure no_root_squash' xr7/group/ntnt ; zfs share -a Also, is this the proper syntax for the no_root_squash? Thanks, -Luke smime.p7s Description: S/MIME Cryptographic Signature ___

[zfs-discuss] ZFS API (again!), need quotactl(7I)

2006-09-11 Thread Jeff A. Earickson
Hi, I was looking for the zfs system calls to check zfs quotas from within C code, analogous to the quotactl(7I) interface for UFS, and realized that there was nothing similar. Is anything like this planned? Why no public API for ZFS? Do I start making calls to zfs_prop_get_int(), like in the

[zfs-discuss] zfs share=".foo-internal.bar.edu" on multiple interfaces?

2006-09-11 Thread Luke Scharf
I have a Sun x4200 with 4x gigabit ethernet NICs. I have several of them configured with distinct IP addresses on an internal (10.0.0.0) network. I have shared the ZFS filesystem with the following command: zfs set sharenfs='rw=.foo-internal.bar.edu insecure no_root_squash' xr7/group/ntnt

Re: [zfs-discuss] Re: Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread Nicolas Williams
On Mon, Sep 11, 2006 at 06:39:28AM -0700, Bui Minh Truong wrote: > >Does "ssh -v" tell you any more ? > I don't think problem is ZFS send/recv. I think it's take a lot of time to > connect over SSH. > I tried to access SSH by typing: ssh remote_machine. It also takes serveral > seconds( one or a

[zfs-discuss] Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread Anton B. Rang
A tool like 'hardlink' will only work for a read-only repository, or one in which files can never be overwritten, only replaced. For true deduplication you really want the underlying file system to have support for 'breaking' the hard link when one file is changed; basically, copy-on-write seman

Re: [zfs-discuss] ZFS and free space

2006-09-11 Thread Mark Maybee
Jeremy Teo wrote: Hello, how are writes distributed as the free space within a pool reaches a very small percentage? I understand that when free space is available, ZFS will batch writes and then issue them in sequential order, maximising write bandwidth. When free space reaches a minimum, what

Re: [zfs-discuss] Re: Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread Tim Foster
On Mon, 2006-09-11 at 06:39 -0700, Bui Minh Truong wrote: > Do you have any suggestions? Yeah, I think we need more information to debug this: I'm seeing - [EMAIL PROTECTED] ptime ssh usuki hostname usuki real0.600 user0.065 sys 0.013 - Oh, and yeah - what James said

Re: [zfs-discuss] Re: Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread James C. McPherson
Bui Minh Truong wrote: Hi Thanks for your replying. Can you give more details : what's the ssh machine you're logging into (OS and version of ssh, and perhaps the amount of encryption you're doing). Two of my machines are T-2000 ( Sun servers) running Sparc Solaris. How fast is the network

[zfs-discuss] Re: Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread Bui Minh Truong
Hi Thanks for your replying. >Can you give more details : what's the ssh machine you're logging into >(OS and version of ssh, and perhaps the amount of encryption you're >doing). Two of my machines are T-2000 ( Sun servers) running Sparc Solaris. >How fast is the network between the two machine

[zfs-discuss] ZFS and free space

2006-09-11 Thread Jeremy Teo
Hello, how are writes distributed as the free space within a pool reaches a very small percentage? I understand that when free space is available, ZFS will batch writes and then issue them in sequential order, maximising write bandwidth. When free space reaches a minimum, what happens? Thanks!

Re: [zfs-discuss] Re: ZFS + rsync, backup on steroids.

2006-09-11 Thread Tim Foster
hi there, On Sun, 2006-09-10 at 23:49 -0700, Bui Minh Truong wrote: > I'm working on replication of ZFS. Using perl script > and SSH access with authorized key. Cool - I did exactly same thing last week, adding send/receive functionality to the SMF service I had been playing with. More at http:/