Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 02:11:28 -0500
From:      Matt Heckaman <matt@ARPA.MAIL.NET>
To:        FreeBSD QUESTIONS <questions@FreeBSD.ORG>
Subject:   dump/restore question..
Message-ID:  <Pine.BSF.4.21.0003060204220.10546-100000@epsilon.lucida.qc.ca>

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

I have a setup with a rather large 18.3G drive on a public machine that I
would like to replace with a smaller drive so that the larger drive can go
into a web server. There are various reasons why I do not want to use NFS
for this though. My filesystem looks like this:

admin[alpha]:~> df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a    158783    23894   122187    16%    /
/dev/da0s1e   1002223    70289   851757     8%    /var
/dev/da0s1f   1002223      104   921942     0%    /tmp
/dev/da0s1g   1002223   503995   418051    55%    /usr
/dev/da0s1h  13171315  1139416 10978194     9%    /usr/home
procfs              4        4        0   100%    /proc

Let us assume that I do a level 0 dump of all filesystems, I remove this
18.3 G drive (after writing down everything I need to know as per the dump
section in the handbook) and replace it with an 8 GB drive.

I make /, /var, /tmp, /usr the same on the new drive as the 18.3G drive,
then allocate the remaining space to /usr/home, which will be more than
the 1.1G backed up by dump. 

When I restore from the dump, I'm sure the other filesystems will be ok,
but will /usr/home choke because it is smaller than the original dump? I'm
under the impression that it will work fine, though I have not tried
something like this before, and this is a production server that can't be
screwed up.

Comments or advice on a better solution are appreciated, thank you in
advance for your replies. While I'm at it, is there any news on Oracle &
Cold Fusion running on FreeBSD (under Linux emulation) - the customer
demand for these has gotten to the point that if I don't find a FreeBSD
solution I'm going to go Solaris/Ultra for the webserver, which is not my
ideal situation.

Matt
--
Matt Heckaman [matt@arpa.mail.net|matt@relic.net] [Please do not send me]
!Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail]



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?Pine.BSF.4.21.0003060204220.10546-100000>