[zfs-discuss] zfs space efficiency

2007-06-23 Thread roland
hello ! i think of using zfs for backup purpose of large binary data files (i.e. vmware vm`s, oracle database) and want to rsync them in regular interval from other systems to one central zfs system with compression on. i`d like to have historical versions and thus want to make a snapshot

Re: [zfs-discuss] Re: Slow write speed to ZFS pool (via NFS)

2007-06-23 Thread Thomas Garner
So it is expected behavior on my Nexenta alpha 7 server for Sun's nfsd to stop responding after 2 hours of running a bittorrent client over nfs4 from a linux client, causing zfs snapshots to hang and requiring a hard reboot to get the world back in order? Thomas There is no NFS over ZFS issue

[zfs-discuss] zfs receive

2007-06-23 Thread Russell Aspinwall
Hi, As part of a disk subsystem upgrade I am thinking of using ZFS but there are two issues at present 1) The current filesystems are mounted as  /hostname/mountpoint except for one directory where the mount point is storage dir/storage application dir.    Is is possible to mount a ZFS

[zfs-discuss] ZFS delegation script

2007-06-23 Thread Nicolas Williams
Couldn't wait for ZFS delegation, so I cobbled something together; see attachment. Nico -- #!/bin/ksh ARG0=$0 PROG=${0##*/} OIFS=$IFS # grep -q rocks, but it lives in xpg4... OPATH=$PATH PATH=/usr/xpg4/bin:/bin:/sbin # Configuration (see usage message below) # # This is really based on how a

Re: [zfs-discuss] ZFS delegation script

2007-06-23 Thread Nicolas Williams
On Sat, Jun 23, 2007 at 12:18:05PM -0500, Nicolas Williams wrote: Couldn't wait for ZFS delegation, so I cobbled something together; see attachment. I forgot to slap on the CDDL header... #!/bin/ksh # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common

Re: [zfs-discuss] ZFS delegation script

2007-06-23 Thread Nicolas Williams
On Sat, Jun 23, 2007 at 12:31:28PM -0500, Nicolas Williams wrote: On Sat, Jun 23, 2007 at 12:18:05PM -0500, Nicolas Williams wrote: Couldn't wait for ZFS delegation, so I cobbled something together; see attachment. I forgot to slap on the CDDL header... And I forgot to add a -p option

Re: [zfs-discuss] zfs space efficiency

2007-06-23 Thread Matthew Ahrens
Erik Trimble wrote: roland wrote: hello ! i think of using zfs for backup purpose of large binary data files (i.e. vmware vm`s, oracle database) and want to rsync them in regular interval from other systems to one central zfs system with compression on. i`d like to have historical

Re: [zfs-discuss] zfs space efficiency

2007-06-23 Thread Erik Trimble
roland wrote: hello ! i think of using zfs for backup purpose of large binary data files (i.e. vmware vm`s, oracle database) and want to rsync them in regular interval from other systems to one central zfs system with compression on. i`d like to have historical versions and thus want to make

[zfs-discuss] Re: zfs space efficiency

2007-06-23 Thread roland
So, in your case, you get maximum space efficiency, where only the new blocks are stored, and the old blocks simply are referenced. so - i assume that whenever some block is read from file A and written unchanged to file B, zfs recognizes this and just creates a new reference to file A ? that

RE: [zfs-discuss] Re: Slow write speed to ZFS pool (via NFS)

2007-06-23 Thread Paul Fisher
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Garner So it is expected behavior on my Nexenta alpha 7 server for Sun's nfsd to stop responding after 2 hours of running a bittorrent client over nfs4 from a linux client, causing zfs snapshots to hang and requiring

Re: [zfs-discuss] zfs space efficiency

2007-06-23 Thread Darren Dunham
if i have one large datafile on zfs, make a snapshot from that zfs fs holding it and then overwrting that file by a newer version with slight differences inside - what about the real disk consumption on the zfs side ? If all the blocks are rewritten, then they're all new blocks as far as ZFS

Re: [zfs-discuss] zfs space efficiency

2007-06-23 Thread Erik Trimble
Matthew Ahrens wrote: Erik Trimble wrote: Under ZFS, any equivalent to 'cp A B' takes up no extra space. The metadata is updated so that B points to the blocks in A. Should anyone begin writing to B, only the updated blocks are added on disk, with the metadata for B now containing the proper

Re: [zfs-discuss] zfs space efficiency

2007-06-23 Thread Will Murnane
On 6/23/07, Erik Trimble [EMAIL PROTECTED] wrote: Matthew Ahrens wrote: Basically, the descriptions of Copy on Write. Or does this apply only to Snapshots? My original understanding was that CoW applied whenever you were making a duplicate of an existing file. CoW happens all the time. If

[zfs-discuss] Re: ZFS Scalability/performance

2007-06-23 Thread Anton B. Rang
Oliver Schinagl wrote: zo basically, what you are saying is that on FBSD there's no performane issue, whereas on solaris there (can be if write caches aren't enabled) Solaris plays it safe by default. You can, of course, override that safety. FreeBSD plays it safe too. It's just that