From owner-freebsd-questions@FreeBSD.ORG Sat Feb 4 16:24:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1089716A420 for ; Sat, 4 Feb 2006 16:24:38 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE4043D45 for ; Sat, 4 Feb 2006 16:24:37 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([68.5.182.86]) by fed1rmmtao07.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060204162335.VYEL3131.fed1rmmtao07.cox.net@workdog>; Sat, 4 Feb 2006 11:23:35 -0500 From: "Gayn Winters" To: Date: Sat, 4 Feb 2006 08:26:31 -0800 Organization: Bristol Systems Inc. Message-ID: <04ad01c629a7$c4b39ae0$6501a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <016601c62949$1e590620$0401a8c0@Mike8500> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: freebsd-questions@freebsd.org Subject: RE: Dumping /usr to samba mounted drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gayn.winters@bristolsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 16:24:38 -0000 > From: Mike Loiterman [mailto:mike@ascendency.net] > Sent: Friday, February 03, 2006 9:09 PM > To: gayn.winters@bristolsystems.com > Cc: freebsd-questions@freebsd.org > Subject: RE: Dumping /usr to samba mounted drive > > > Gayn Winters wrote: > >> From: Mike Loiterman [mailto:mike@ascendency.net] > >> Sent: Friday, February 03, 2006 12:46 PM > >> To: gayn.winters@bristolsystems.com; freebsd-questions@freebsd.org > >> Subject: RE: Dumping /usr to samba mounted drive > >> > >> > >> Gayn Winters wrote: > >>>> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Mike > >>>> Loiterman Sent: Friday, February 03, 2006 6:05 AM > >>>> To: freebsd-questions@freebsd.org > >>>> Subject: RE: Dumping /usr to samba mounted drive > >>>> > >>>> > >>>> Mike Loiterman wrote: > >>>>> I'm having trouble dumping /usr to a samba mounted drive. > >>>>> The process dies over processing 4 gigs worth of data. > >>>>> > >>>>> My other partitions dump fine, but they're all less than 4 gigs. > >>>>> > >>>>> This is the error I'm getting: > >>>>> > >>>>> DUMP: Date of this level 0 dump: Fri Feb 3 03:31:05 2006 > >>>>> DUMP: Date of last level 0 dump: the epoch > >>>>> DUMP: Dumping snapshot of /dev/ar0s1f (/usr) to > >>>>> /mnt/backup/usr-dump-l0 > >>>>> DUMP: mapping (Pass I) [regular files] > >>>>> DUMP: mapping (Pass II) [directories] > >>>>> DUMP: estimated 10943850 tape blocks. > >>>>> DUMP: dumping (Pass III) [directories] > >>>>> DUMP: dumping (Pass IV) [regular files] > >>>>> DUMP: 6.73% done, finished in 1:09 at Fri Feb 3 > 04:45:29 2006 > >>>>> DUMP: 14.92% done, finished in 0:57 at Fri Feb 3 > 04:38:12 2006 > >>>>> DUMP: 22.98% done, finished in 0:50 at Fri Feb 3 > 04:36:27 2006 > >>>>> DUMP: 31.37% done, finished in 0:43 at Fri Feb 3 > 04:34:56 2006 > >>>>> DUMP: write error 4194320 blocks into volume 1 > >>>>> > >>>>> The same thing happens, although I get different errors, if I > >>>>> use bzip2 or gunzip to compress the partition as it is being > >>>>> dumped. It obviously gets a lot further since it's > >>>>> compressed, but it still dies right around 4 gigs. > >>>>> > >>>>> How can I fix this? Is this a samba limitation? > >>> > >>>> > >>>> BTW, I'm running: > >>>> > >>>> FreeBSD 6.0-RELEASE > >>>> Samba 2.2.12_2 > >>>> > >>>> And transfering to unix formated drived mounted under Mac OS X > >>>> 10.4.4. > >>>> > >>>> Would upgrading to Samba 3.x help? > >>>> > >>>> ------------------------------ > >>>> Mike Loiterman > >>> > >>> Have you tried generating a file of size > 4GB on your mac mini? > >>> > >>> > >> http://www.freebsdforums.org/forums/showthread> > >> .php?p=203909#post203909 > >> > >> Changing the format of the drive to Mac OS Extended fixed the > >> problem. UFS has a 4 gig file size limit. > >> > > Mike, > > > > I'm glad you got it working. What was Apple ever thinking > with a 4GB > > limit? > > > > -gayn > > Did Apple develop the UFS spec or just implement it? > Mike, I think our very own M.K. McKusick is credited with inventing UFS for BSD 4.something. I'm sure others on this list know the history better than I do. In particular, I don't know the historical difference between FFS, UFS and UFS1. [If one of you history buffs can elucidate, please do so!] In any case, it looks like Apple chose an implementation at the low end of the range of possible implementations. Here is a chart that I find useful: http://www.mrsci.com/Computer-File-Systems/Comparison_of_file_systems.ph p Note the range of possible maximum file sizes on UFS1. Also note the 4GB limit on FFS. History aside, a 4GB limit for any modern file system seems somewhat backward, especially for an avant garde company like Apple. Maybe they got carried away with the "mini" in "Mac mini"! -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com