Thanks for the response Dave...

Let me ask you one more thing cause a fowl up would cost me too much time
right now. : P

I'm guessing that I would make two new partitions on the new disk / and
/home and repeat this command on each partition.

So in effect i would be doing:

mkdir /                                                  #on dev/hdb1
and then cd to /dev/hdb1/ /                    #and execute this command
(cd /dev/hda1/; tar cf - .) | tar xvpf -      #and that would essentially
copy all the files on /dev/hda/ to /hdb1

and again repeating it for my /home directory.

Let me apologize for over being so anal (on the usage on the above command)
emphasising this point however it is extremely important to my company that
I dont mess this up I really dont have the time to do this over again right
now: (

Can you analyse the above syntax and point out any flaws?
If its not too much trouble is there any way that I could harm the first
drive by running this?

Thanx again bro i really appreciate it
CM

----- Original Message -----
From: "david" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 7:39 PM
Subject: Re: Drive Imaging


> cp doesn't keep permissions, I learned this the hard way, here's the most
> reliable way to do it:
>
> mkdir dst_dir
> cd dst_dir
> (cd src_dir; tar cf - . ) | tar xvpf -
>
> david
>
> ----- Original Message -----
> From: "cmead" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 08, 2001 7:29 PM
> Subject: Re: Drive Imaging
>
>
> > I was figuring that would be one way to do it however uing that method
do
> > you believe all of the permissions would remain the same?
> >
> > Does anyone else have an opinion?
> >
> > Thanks for the response Greg  : )
> >
> > ----- Original Message -----
> > From: "Greg Wright" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, January 08, 2001 7:17 PM
> > Subject: Re: Drive Imaging
> >
> >
> > > 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...
> > >
> > > *********** 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
> >
>
>
>
>
> _______________________________________________
> 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