Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2008 16:15:23 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Tyson Boellstorff <perlcat@alltel.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: G4U inquiry
Message-ID:  <20081204211523.GA2693@gizmo.acns.msu.edu>
In-Reply-To: <200812041500.09469.perlcat@alltel.net>
References:  <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> <200812041500.09469.perlcat@alltel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 04, 2008 at 03:00:09PM -0600, Tyson Boellstorff wrote:

> On Thursday 04 December 2008 14:44:40 Jean-Paul Natola wrote:
> 
> > I have a bsd box with a 12 gig drive- I'm going to get a new drive (larger)
> > to replace it as it is quite old and slow -
> >
> > My question is when I clone it with g4u  where will the extra space go
> >

 
Usually you are much better off creating new [slices and] partitions
with new appropriate sizes, newfs-ing the partitions to turn them in
to filesystems and then copying the previous disk filesystem by filesystem 
to the new disk - using dump/restore.    Then you will not be stuck with
geometry mismatches and wasted disk space.     I have posted excruciatingly
detailed instructions for this sort of things about every coupld of months
on this list as other have asked.    A little searching should find one.
If not, I can give a basic rundown.

////jerry



> 
> it's in the faq.
> 
> http://www.feyrer.de/g4u/#disks
> 
> 5.4 A word on disk sizes
> 
>       The question how g4u deals with different disk sizes arises a lot too. 
> The general answer is, g4u works best with identical disk sizes & geometry. 
> Putting an image from a small disk on a big disk works, putting an image from 
> a big disk to a small disk is likely to cause problems.
> 
>       If you cannot avoid preparing an image on a big disk that'll get 
> deployed to a small disk later, make sure the "extra" space is not occupied 
> by a active partition or filesystem, else data loss is very likely to occur!
> 
>       If you intend to deploy a "small" image to a "big" disk, the extra space 
> that's not covered by g4u can be used for creating a partition and a 
> filesystem. You will have to do that on your own, e.g. using your operating 
> systems' post installation steps. 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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