Dumping /usr to samba mounted drive

Mike Loiterman mike at ascendency.net
Fri Feb 3 21:09:16 PST 2006


Gayn Winters <mailto:gayn.winters at bristolsystems.com> wrote:
>> From: Mike Loiterman [mailto:mike at ascendency.net]
>> Sent: Friday, February 03, 2006 12:46 PM
>> To: gayn.winters at bristolsystems.com; freebsd-questions at freebsd.org
>> Subject: RE: Dumping /usr to samba mounted drive
>> 
>> 
>> Gayn Winters <mailto:gayn.winters at bristolsystems.com> wrote:
>>>> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Mike
>>>> Loiterman Sent: Friday, February 03, 2006 6:05 AM
>>>> To: freebsd-questions at freebsd.org
>>>> Subject: RE: Dumping /usr to samba mounted drive
>>>> 
>>>> 
>>>> Mike Loiterman <mailto:mike at 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 Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: mike at ascendency.net
PGP Key: 0xD1B9D18E



More information about the freebsd-questions mailing list