Re: g4u option

2009-11-10 Thread Polytropon
On Tue, 10 Nov 2009 12:00:56 -0500, Jean-Paul Natola 
jnat...@familycareintl.org wrote:
 Hi all,
 
 I'm trying to figure out ,if possible, how to get g4u to only clone data,
 i.e.
 I have an 80 gig drive  but my OS and applications only come to about 6gigs
 that’s what I want to clone to the new drive.
 
 Is there a way to accomplish this?

Yes: using the proper tool for this job. :-)

In case of FreeBSD, dump + restore are excellent tools for
the task you seem to be describing. Refer to the mailing list
archive (or the Handbook) for examples how to use it - it's
quite easy. Using dump and restore involves some other tools
to prepare the target disk (e. g. fdisk, bsdlabel, newfs),
but everything can easily be scripted so it runs without any
human interaction.

Sadly, I can't answer your question about g4u because I've
never heared of it, and I don't see it in the ports collection,
so my anser is relatively FreeBSD-specific (but those tools
are the standard tools for such jobs in nearly all UNIX and
Linux environments).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: g4u option

2009-11-10 Thread Liontaur
On Tue, Nov 10, 2009 at 9:00 AM, Jean-Paul Natola 
jnat...@familycareintl.org wrote:

 Hi all,

 I'm trying to figure out ,if possible, how to get g4u to only clone data,
 i.e.
 I have an 80 gig drive  but my OS and applications only come to about 6gigs
 that’s what I want to clone to the new drive.

 Is there a way to accomplish this?


 TIA
 J

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


g4u does partitions so if the data is on a separate partition from the OS
then yes. If everything is on one partition then you'll have to copy the
whole thing with g4u
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: g4u option

2009-11-10 Thread Patrick Lamaiziere
Le Tue, 10 Nov 2009 12:00:56 -0500,
Jean-Paul Natola jnat...@familycareintl.org a écrit :

 I'm trying to figure out ,if possible, how to get g4u to only clone
 data, i.e.
 I have an 80 gig drive  but my OS and applications only come to about
 6gigs that’s what I want to clone to the new drive.
 
 Is there a way to accomplish this?

g4u uses dd(1) to dump the disk or a partition, then it compresses
datas with gzip. It copies *all*. You can save size by filling the
filesystem of the  partition with '0'.

This is in the FAQ of g4u:
http://www.feyrer.de/g4u/#shrinkimg

g4u is based on NetBSD, not FreeBSD.
Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: G4U inquiry

2008-12-04 Thread Tyson Boellstorff
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


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 [EMAIL PROTECTED]


Re: G4U inquiry

2008-12-04 Thread Wojciech Puchar

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


why not simply partition new drive and copy everything?

or use dd and then correct partiiton table

unix has tools for this, much simpler much better and included ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: G4U inquiry

2008-12-04 Thread Jerry McAllister
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 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u and ftp

2008-10-16 Thread Steve Quinn
--- On Thu, 10/16/08, Jean-Paul Natola [EMAIL PROTECTED] wrote:

 From: Jean-Paul Natola [EMAIL PROTECTED]
 Subject: g4u and ftp
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Date: Thursday, October 16, 2008, 1:41 PM
 Hi all,
 
 I'm having an issue trying to write to my ftp server
 from linux-
 
 I just setup the ftp server with read and write access
 anonymous login
 
 From windows explorer no-problem from the mac's no
 problem- but when I try to
 upload an image using  g4u  (http://www.feyrer.de/g4u/) I
 get rejected by the
 MS ftp server 
 
 
 Im not sure why it doesn't let me any thoughts?
 
 tia

Hi Jean-Paul

I use G4U very much myself so I've been there

G4U's defaults are reading/writing to a FTP user-account by the name of 
install

I hope that helps you out

Take care

Steve Quinn


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u

2008-06-20 Thread Wojciech Puchar

can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
drive only has 20 gigs of data?


what is G4U?

simply make partitions, newfs, copy files, install boot sector
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u

2008-06-20 Thread Odhiambo Washington
On Fri, Jun 20, 2008 at 3:48 AM, Jean-Paul Natola
[EMAIL PROTECTED] wrote:
 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?


Yes!
You can then create a partition on the extra space.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: g4u

2008-06-20 Thread Jean-Paul Natola
Ghost for unix
 
 
http://www.feyrer.de/g4u/
 
 
The drives i'm working with are windows



From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
Sent: Fri 6/20/2008 3:57
To: Jean-Paul Natola
Cc: [EMAIL PROTECTED]
Subject: Re: g4u



 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?

what is G4U?

simply make partitions, newfs, copy files, install boot sector


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u

2008-06-20 Thread D G Teed
On Thu, Jun 19, 2008 at 9:48 PM, Jean-Paul Natola 
[EMAIL PROTECTED] wrote:

 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?


G4U does not work with data, it works with partitions or whole disks.
If you get that concept, it will help in planning what you do with it.

A partition normally has a file system which has a file access table.
If you want file lookups to work properly afterwards, you need the
target partition to be at least the same size as the original.

I've tried to keep my answer OS agnostic as this BSD based utility
is capable of doing the job for any OS.

For broader hardware support, I suggest consideration of udpcast, which is
Linux based.  gzipped disk clone image files made from g4u are compatible
with restoring the same to a new target from udpcast, in case you wondered.

--Donald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]