----- Original Message -----
From: "Duane Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 8:02 PM
Subject: Re: Drive Imaging


> Greg Wright wrote:
> > Look in the archives for various answers....but
> >
> > cp /dev/hdx /dev/hdx     where x is a different drive should copy
> > everything, cannot comment on flaws though...
>
> This would indeed copy the disk. But your new 40 GB disk would magically
> become a 10 GB disk!, and the only way to recover the missing space
> would be to reformat the disk. Not sure if that counts as a flaw though
>:-) This method really best works on identical disks.
>
> david wrote:
> > cp doesn't keep permissions, I learned this the hard way...
>
> You will notice that the copy command he was using specified raw devices
> rather than a filesystem. In that case, cp does in fact preserve
> everything. In fact, there is no need to partition the new disk, because
> cp will create and copy over all the partitions, including extended
> partitions. This includes Linux, boot, and swap partitions, and even
> Windoze partitions. I do this on a semi-regular basis. But again, it
> really only works well on identical disks.
>

I suppose that you are rebutting Davids comments and not giving advice to my
problem: D

Is that correct or am I misreading your comments?

Essentially what you are saying is that if I did do the 'cp' command is
would preserve all permissions however the 40GB would be seen as two 5GB
partions ? and /home respectively?

CM
> >
> > *********** REPLY SEPARATOR  ***********
> >
> > On 8/01/01 at 19:02 cmead wrote:
> >
> > >Hi,
> > >
> > >I'm using 6.2, I have a 10GB hard drive which is partitioned in half
first
> > >5 GB is / the other half is /home. The box is our server which i use
for
> > >DNS, Samba, Netatalk, Masq, printing...so for me alot of work went into
setting
> > >this up it runs perfectly :)
> > >
> > >My question, is I want to upgrade to a new much bigger hard drive over
40GB.
> > >Is there a *flawless* way to just plug in the new drive and copy
everything
> > >over and then remove the old drive? So i could use as a back up in case
this
> > >new one ever goes down.
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to