Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 01:07:02 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        j telford <jtelford@visto.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Dump/Restore disk to disk trouble
Message-ID:  <20000411010702.C28498@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <38E3ECE0000B03A9@smtp.visto.com>; from jtelford@visto.com on Mon, Apr 10, 2000 at 02:38:58PM -0700
References:  <38E3ECE0000B03A9@smtp.visto.com>

next in thread | previous 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


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?20000411010702.C28498>