Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 07:44:52 -0700
From:      "j telford" <jtelford@metroland.com>
To:        cjclark@home.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Dump/Restore disk to disk trouble
Message-ID:  <38E3ECE0000BBD3F@smtp.visto.com> (added by administrator@visto.com)

next in thread | raw e-mail | index | archive | help


On Mon, Apr 10, 2000 at 02:38:58PM -0700, j telford wrote:
> First, I'm quite new at this.
> 2 Seagate 8 GB SCSI Ultra Wide off an Adptec 2940 UW.
> FeeBSD 3.4
> 
> Complete new setup and no extra data on drives that didn't come with the 
> install CD.
> 
> I realized I wanted to turn my /usr 16 GB slice into a vinum mirror to the 
> other drive so I thought I could use dump/restore commands first move /usr to 
a 
> small 1 gb slice, create the vinum slice and copy it back. Also gives me good 
> experience playing with dump/restore and vinum before turning users loose on 
> the box.
> Well and I'm done playing and now need some help please.
> I searched back through some other posts and attempted the following:
> 
> Current /usr slice da0s1f
> Create new slice on da1s1f
> Boot to single user mode
> fsck -y /
> fsck -y /dev/da0s1f
> fsck -y /dev/da1s1f
> Clean on all
> 
> mount -u /
> mount /dev/da1s1f /mnt
> 
> >From this point I tried 2 different dump/restore commands, both seem to have 
> trouble with the restore portion.
> 
> Attempt 1
> dump -0f - /dev/da0s1f | (cd /mnt; restore -xf -)
> 
> We get past "Dump:dumping (Pass iv) " 
> Then a multiple of ' <file name> cannot create file no such directory ' 
errors.
> Then a multiple of ' <file name> cannot create hard link no such directory ' 
> errors.
> Then : set owner . y/n: I answer y
> 
> /mnt now appears to contain some of the sub-directory tree but not all of it.
> 
> Attempt 2
> dump -0f - /dev/da0s1f | restore -rf -
> Gets past 'dump:dumping (Pass IV) again then after a few minutes then a 
> multitude of file names with the error 'unable to create device not 
configured'
> fopen: device not configured.
> another pause with a message 'invalidating pack'
> and finally 'cannot create savefile ./resoresymtable for symbol table'
> 
> I have also tried doing the dump and restore separately and can create a dump 
> file on disk but the restore from disk file runs for a bit then asks for a 
tape 
> which I can't get around.

Is /dev/da0s1f roughly the same size as /dev/da1s1f? What does,

  % df -i

Produce when both are mounted? I'm just making a wild guess that those
errors could be from running out of inodes on the target partition.
-- 
Crist J. Clark                           cjclark@home.com

Crist:
/usr (/dev/da0s1f) was a 16 gb slice and the new slice was (/dev/da1s1f) was 
only 1 gb.
So the inode difference was huge. 
Today just for testing I made /dev/da1s1f 16 GB and had the same results with 
the above procedure. The dump/restore did not work.

Any other thoughts ? harware timeout or something ? The errors fly by so fast, 
is there a log generated somewhere ?

Thanks, John.

______________________________________________________________________
Get Visto.com!  Private groups, event calendars, email, and much more.  
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E3ECE0000BBD3F>