problem with dump/restore across filesystems

Rick Lindsley richl at penguin.USS.TEK.COM
Sat Mar 5 10:38:34 AEST 1988



In article <22152 at felix.UUCP> gordon at prls.UUCP (Gordon Vickers) writes:
    
        For some reason, my backup filesystems are about 10Mbytes larger
     than the originals.  Prior to doing the backup, I used 'newfs' and
     then 'df' to verify that the new filesystem was empty (except for
     an empty lost+found directory).
    
The du output and ls -l's are very telling ... could you have dumped
from a file system with a small block size, like 1024, and restored to
one with a much larger size, like 4096 or 8192?

If you did this, then small files (or directories) might be using
more of the disk than before, due to larger "basic building blocks".

Try both "dumpfs /dev/ra0d" and "dumpfs /dev/ra1h" and look for "bsize"
and "fsize" in the output. If they aren't the same, then perhaps that
is the problem. Some of the problem may result from your doing dumps on
an active system -- a lot of file system information may not have been
written out to disk when you did your dump. A growth of 10 Mb, though,
seems unreasonable for both scenarios, so I can't believe this is the
only answer. (Of course, if /usr/spool/news is on /usr, you WILL find
lots of small files there ....)

Rick



More information about the Comp.unix.ultrix mailing list