Dump or restore dropping/missing files?

From: Jim Seymour (jseymour_at_linxnet.com)
Date: 12/19/04

  • Next message: Bhavesh Shah: "Sun StorEDGE 3511"
    To: sunmanagers@sunmanagers.org
    Date: Sat, 18 Dec 2004 18:40:33 -0500 (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


  • Next message: Bhavesh Shah: "Sun StorEDGE 3511"

    Relevant Pages

    • automate dcpromo during nt4 pdc upgrade to W2k3 DC
      ... I am attempting to script the upgrade of a NT4 PDC to a W2K3 domain ... I have set the UnAttendMode to ... FullUnattended and the upgrade works perfectly up to the point where the ... @rem SetupMgrTag ...
      (microsoft.public.windows.server.migration)
    • Re: samba-common = 3.0.23d-4 but 3.0.24-2 is installed
      ... wants to upgrade to is 3.0.23d-4 which is lower. ... The problem is that the pre-removal script ... Reading package lists... ... warning - old pre-removal script returned error exit status 102 ...
      (Debian-User)
    • Re: FC2 upgrade-X problem
      ... Immideately after upgrade completed I ran 'yum update' ... > getting the X server to launch. ... I made up a test script that runs all the ... > longer able to run startx. ...
      (Fedora)
    • Re: Can someone help me write a "yes-man" program
      ... not work with the Ubuntu system upgrade script, ... which upgrade script you mean. ... from optparse import OptionParser ...
      (comp.lang.tcl)
    • Re: Some thoughts about Fedora Core 1 packages upgrade
      ... > upgrade hundreds of clients through Internet(big burden on Internet ... > building options, we have to download source RPMs as well, so there ... i'd recommend the apt-mirror script to be run once a day, ...
      (Fedora)