*BSD News Article 94046


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.mathworks.com!news1.best.com!nntp2.ba.best.com!orca
From: haggis@cesium.com (John R. Haggis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Hard Disk Maintenance
Date: Mon, 21 Apr 97 08:09:15 GMT
Organization: Central Intelligence Organization
Lines: 62
Message-ID: <5jf7bd$c9a$1@nntp2.ba.best.com>
References: <5j8r78$r4l$1@nntp2.ba.best.com> <slrn5lkdmq.o9p.ripley@nortobor.nostromo.in-berlin.de>
NNTP-Posting-Host: orca.yamato.com
X-Newsreader: News Xpress 2.0
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39431


Thank you for your response.  Please see one or two comments/questions 
below:

In article <slrn5lkdmq.o9p.ripley@nortobor.nostromo.in-berlin.de>, 
ripley@nostromo.in-berlin.de (H. Eckert) wrote:
>haggis@cesium.com (John R. Haggis):
>> I set up FreeBSD about a year and a half ago.  We've outgrown our /usr 
>> partition and I need to expand the disk.  Due to disk needs, I plan to 
>
>I'd recommend setting up 2.2.1-Release on the new disk from scratch
>and migrating the local configuration and datafiles.  While this will
>be more work than a simple dump/restore of all filesystems, it will
>certainly be worth it to get the new features that 2.1.x doesn't have.

Is there a migration guide or some such thing?  Is there a way to 
install over a given installation so you don't obliterate things like 
source directories and installed files?  Or would I have to back up on 
disk and tape and reinstall apps and config files?

Are the name database files the same for BIND?

Is the Sendmail config file the same?

I run a web site with two or three dozen clients, so I can't just rip 
up the software at my whim.  I run Apache web server, Sendmail, POP 
mail, Majordomo, wwwstats, ghostscript, BIND, etc.


>> 3.  If I dump "/", will it dump my other mounted partitions, or do I 
>> have to dump them separately?
>
>Have you read "man dump" ?
>
>> 4.  If separately, how do I dump multiple partitions onto one tape?  
>
>Use the /dev/nrst0 so the tape driver doesn't rewind the tape after
>dump closes the device.

Yes, I studied the man pages, and found howling errors in the 
Blocksize and Block count options.  Thank God I have SunOS man pages, 
too...

So after futzing around with these parameters, using nrst0, I managed 
to dump my three significant partitions onto one DAT.

Then, when I went to restore them to the new disk, I rewound the tape, 
restored with nrst0, and after restoring the first partition, when I 
went to restore the second one, restore gave me several errors about 
not being synchronized with the beginning of the dump or something...  
a tape mark?  I'm sorry I didn't write it down.  I was in a frenzy at 
that point and I just did a disk-to-disk dump|restore.

So, how do you restore multiple volumes from one tape?  Is there some 
trick to it?

Thanks again.

- JohnR

--
John R. Haggis                  haggis@cesium.com