Date: Sat, 4 Feb 2006 08:26:31 -0800 From: "Gayn Winters" <gayn.winters@bristolsystems.com> To: <mike@ascendency.net> Cc: freebsd-questions@freebsd.org Subject: RE: Dumping /usr to samba mounted drive Message-ID: <04ad01c629a7$c4b39ae0$6501a8c0@workdog> In-Reply-To: <016601c62949$1e590620$0401a8c0@Mike8500>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <mailto:gayn.winters@bristolsystems.com> 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 <mailto:gayn.winters@bristolsystems.com> 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 <mailto:mike@ascendency.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04ad01c629a7$c4b39ae0$6501a8c0>