Date: Fri, 29 Apr 2011 01:08:30 +0000 From: Malcolm Waltz <mwaltz@PACIFIC.EDU> To: Daniel O'Connor <doconnor@gsoft.com.au> Cc: freebsd-stable List <freebsd-stable@freebsd.org> Subject: Re: ZFS vs OSX Time Machine Message-ID: <A58C8B6F-C42A-42F7-A83D-9BB16029DB41@PACIFIC.EDU> In-Reply-To: <AF590EB4-F768-4CC2-921C-03241F6CED58@gsoft.com.au> References: <537A8F4F-A302-40F9-92DF-403388D99B4B@gsoft.com.au> <F203966E-E95F-4762-B1EB-908B2667ABC6@pacific.edu> <AF590EB4-F768-4CC2-921C-03241F6CED58@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
ZFS volumes (zvol s) can definitely be resized using the volsize property: # zfs get volsize mypool/myvol NAME PROPERTY VALUE SOURCE mypool/myvol volsize 2G - # zfs set volsize=3D4g mypool/myvol Mac OS 10.5 and later allows you to resize Journaled HFS+ volumes (using di= skutil or Disk Utility.app). Doing a quick google search, I see plenty of = references to decreasing the size of a TimeMachine volume, so it's probably= possible to increase it as well. I'm sure you can find more with a little= googleing. "man diskutil" (look for resizeVolume) indicates that you can increase and = decrease the size and doesn't mention anything special about Time Machine. On Apr 28, 2011, at 5:02 PM, Daniel O'Connor wrote: >=20 > On 29/04/2011, at 2:16, Malcolm Waltz wrote: >> I doubt the issues you are encountering have much to do with ZFS. >>=20 >> It sounds like you are using TimeMachine over NFS. Obviously, Apple doe= s not support that configuration: >> http://www.google.com/search?q=3Dtime+machine+nfs+site:apple.com >>=20 >> In my opinion, TimeMachine should only be used with block storage. If y= ou use any kind of file-sharing protocol (AFP, SMB/CIFS or NFS), TimeMachin= e is implemented using a sparse disk image broken into hundreds or thousand= s of separate files. This is a hack at best. >>=20 >> Time machine works very well with locally attached storage, but if you n= eed to use network storage, you might want to try iSCSI: >> http://thegreyblog.blogspot.com/2010/02/using-zfs-with-apple-time-machin= e.html >> http://people.freebsd.org/~rse/iscsi/iscsi.txt >=20 > Hmm, I _am_ using AFPD, not NFS for this.. I will see about using an ISCS= I disk image instead (although that would make it impossible to resize once= it's created right?) >=20 > I see that the sparse disk image does use ~80000 files in a single direct= ory which does take.. a while.. to stat.. >=20 > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >=20 >=20 >=20 >=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A58C8B6F-C42A-42F7-A83D-9BB16029DB41>