Dump or restore dropping/missing files?

From: Jim Seymour (jseymour@linxnet.com)
Date: Sat Dec 18 2004 - 18:40:33 EST


Hi,

Well, I've Google'd for this one and checked the FAQ, and come up bupkis.

$ uname -a
SunOS jimsun 5.7 Generic_106541-29 sun4u sparc SUNW,UltraSPARC-IIi-Engine

Trying to upgrade the system from a Seagate ST39175LW (9GB) to an
ST318436LW (18GB). Created the slices on the new drive, then ran a
script to, one-by-one:

    . Create the new filesystems with newfs

    . Use the following to "clone" the old, smaller partitions to the
      new, larger ones:

      mount /dev/dsk/$dst /mnt || exit
      cd /mnt || exit
      ufsdump 0f - /dev/rdsk/$src |ufsrestore xf -

This mechanism (which is in a script) worked fine on a 2.5.1 system I
did this with not long ago, but this time I'm having something *very*
strange happen: The cloned filesystems are missing seemingly random
files. (How did Sun manage to break dump/restore?)

Has anybody seen this before? Any (other) suggestions on how I might
faithfully clone one (smaller) filesystem into a larger space w/o
having to worry about mount-point traversal and so-on?

Thanks,
Jim
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:54 EDT