From owner-freebsd-stable@FreeBSD.ORG Fri Apr 29 01:08:33 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD6A106566B for ; Fri, 29 Apr 2011 01:08:32 +0000 (UTC) (envelope-from mwaltz@PACIFIC.EDU) Received: from mx10.pacific.edu (mx10.pacific.edu [138.9.240.95]) by mx1.freebsd.org (Postfix) with ESMTP id C5DE38FC15 for ; Fri, 29 Apr 2011 01:08:32 +0000 (UTC) Received: from mx10.pacific.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 220BCA4A5B8; Thu, 28 Apr 2011 18:08:32 -0700 (PDT) Received: from EXCASHUB2.stk.pacific.edu (excashub2.stk.pacific.edu [10.9.4.122]) by mx10.pacific.edu (Postfix) with ESMTP id DF8D6A27A70; Thu, 28 Apr 2011 18:08:31 -0700 (PDT) Received: from EXMB2.STK.PACIFIC.EDU ([10.9.4.102]) by excashub2.stk.pacific.edu ([10.9.4.122]) with mapi id 14.01.0289.001; Thu, 28 Apr 2011 18:08:31 -0700 From: Malcolm Waltz To: Daniel O'Connor Thread-Topic: ZFS vs OSX Time Machine Thread-Index: AQHMBa0X6h4oagP/h0u8OmOQbCHfSJRz8aKAgAB54ICAABJigA== Date: Fri, 29 Apr 2011 01:08:30 +0000 Message-ID: References: <537A8F4F-A302-40F9-92DF-403388D99B4B@gsoft.com.au> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.9.104.200] Content-Type: text/plain; charset="us-ascii" Content-ID: <24325F0695B00D49A8B9FE0474F7576F@pacific.local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.4.29.5414 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BLOGSPOT_URI 0.05, KNOWN_FREEWEB_URI 0.05, SUPERLONG_LINE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, ECARD_KNOWN_DOMAINS 0, FROM_EDU_TLD 0, WEBMAIL_SOURCE 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_XOIP 0, __KNOWN_FREEWEB_URI1 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MSGID_APPLEMAIL 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_MAILTO 0, __URI_NS ' Cc: freebsd-stable List Subject: Re: ZFS vs OSX Time Machine X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 01:08:33 -0000 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