Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 13:49:52 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DUMP + RESTORE
Message-ID:  <456D9000.8090701@dial.pipex.com>
In-Reply-To: <001c01c713ba$e7e2be30$6501a8c0@GRANT>
References:  <001c01c713ba$e7e2be30$6501a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote:

>Hi all,
>
>I know that if I dump a filesystem (lets say a full dump), that everything says the restore filesystem needs to be at least as big as the one the dump was made from.
>
>But I dare ask this question anyway ...
>
>If I have a filesystem that is 10 GIG, but because I am only using 2 GIG of that can I restore it to a 3 GIg file system?
>
>I ask becuase somehow I have a 73 gig drive, but all my spare hard disks disks are only 36 Gig.
>  
>
You only need as much disk space where you are restoring as you actually 
used on the filesystem being dumped, so yes, if you really only used 2Gb 
then restoring to a 3Gb partition is fine.  Just beware that a 3Gb 
partition before newfs will have less that 3Gb of usable space as some 
is taken up by filesystem overhead, and the 10% space is usually to be 
left free for speedier, less fragmented operation.  But 2Gb of data will 
still fit comfortably.

This is *one* of the reasons why dump is better than dd.  dd just copies 
the whole slice, all 10Gb in this case, and then you'd be stuck :-)

--Alex






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