Re: Why is disk full?

2022-03-30 Thread Jan Stary
On Mar 29 10:25:34, fbax...@gmail.com wrote: > I copied all files from /mnt/wd1l to /mnt/wd2l > wd2l is slightly larger than wd1l; yet wd2l is full! > $ df -h /mnt/wd1l /mnt/wd2l > Filesystem Size Used Avail Capacity Mounted on > /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l > /dev/wd2l 1020G 969G

Re: Why is disk full?

2022-03-29 Thread Aner Perez
Delete them from the destination and resync with -S.     - Aner On 3/29/22 12:14, F Bax wrote: Looks like sparse files are no longer sparse on /mnt/wd2l/ !! Thanks Otto & Aner. du reported different sizes for several dozen folders that contain files created by scan to PDF. Not all of the

Re: Why is disk full?

2022-03-29 Thread F Bax
Looks like sparse files are no longer sparse on /mnt/wd2l/ !! Thanks Otto & Aner. du reported different sizes for several dozen folders that contain files created by scan to PDF. Not all of the scanned files were affected; but some might contain mostly blank pages. For one sample file; ls -l

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
On Tue, Mar 29, 2022 at 11:12:23AM -0400, F Bax wrote: > # dumpfs /dev/rwd1l | head -1 > magic 11954 (FFS1)timeWed Jan 8 19:45:37 2020 > # dumpfs /dev/rwd2l | head -1 > magic 11954 (FFS1)timeSun Mar 27 13:01:58 2022 OK, third option: you had sparse files on the source disk.

Re: Why is disk full?

2022-03-29 Thread Aner Perez
You may have large files with "holes" in them (i.e. sparse files).  Rsync has a --sparse (-S) flag that tries to create holes in the replicated files when it finds sequences of nulls in the source file. The -a flag does not turn on this sparse file handling. You can run "du" on different

Re: Why is disk full?

2022-03-29 Thread F Bax
# dumpfs /dev/rwd1l | head -1 magic 11954 (FFS1)timeWed Jan 8 19:45:37 2020 # dumpfs /dev/rwd2l | head -1 magic 11954 (FFS1)timeSun Mar 27 13:01:58 2022 On Tue, Mar 29, 2022 at 11:07 AM Otto Moerbeek wrote: > On Tue, Mar 29, 2022 at 10:58:49AM -0400, F Bax wrote: > > > I

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
On Tue, Mar 29, 2022 at 10:58:49AM -0400, F Bax wrote: > I used rsync to copy files. > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > reports no changes required (runtime under 3 minutes). > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > reports no difference (runtime 10 hours) > > $ sudo df -i

Re: Why is disk full?

2022-03-29 Thread F Bax
I used rsync to copy files. sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ reports no changes required (runtime under 3 minutes). sudo diff -r /mnt/wd1l/ /mnt/wd2l/ reports no difference (runtime 10 hours) $ sudo df -i /mnt/wd1l/ /mnt/wd2l/ Filesystem 512-blocks Used Avail Capacity

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
On Tue, Mar 29, 2022 at 10:25:34AM -0400, F Bax wrote: > I copied all files from /mnt/wd1l to /mnt/wd2l > > wd2l is slightly larger than wd1l; yet wd2l is full! > > $ df -h /mnt/wd1l /mnt/wd2l > Filesystem Size Used Avail Capacity Mounted on > /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l >

Why is disk full?

2022-03-29 Thread F Bax
I copied all files from /mnt/wd1l to /mnt/wd2l wd2l is slightly larger than wd1l; yet wd2l is full! $ df -h /mnt/wd1l /mnt/wd2l Filesystem Size Used Avail Capacity Mounted on /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l /dev/wd2l 1020G 969G -508M 100% /mnt/wd2l Output from disklabel is almost