G4U inquiry
Jerry McAllister
jerrymc at msu.edu
Thu Dec 4 13:20:29 PST 2008
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list