[LUNI] Migrating to new hard drive?
matt at abernackie.com
matt at abernackie.com
Mon Aug 19 11:42:13 CDT 2002
eeerk... forgot to mention that you have to partition the drive first... of course
I was assuming that was general knowledge :).
matt
On Mon, Aug 19, 2002 at 04:18:46PM +0000, Noesis wrote:
> cp -aprv <old> <new>
>
> I will explain.. Nothing special there, as you can see. The magic option
> is '-p' which is used to keep the existing permissions, ownership and
> timestamp of what you are copying. -r compies the directories and
> subdirectories, -a retain archival attributes and as much of the structure
> as it can and -v gives you a print out to see how far the copy is going
> along. You can leave -v out if you want things to be quiet. Another
> option would be to run it in the background (&) because depending on the
> computer you are using and the amount of data being copied it might take a
> while.
>
> Kind Regards,
> -Noesis
>
>
> On Mon, Aug 19, 2002 at 08:04:27AM -0500, Mark Martin wrote:
> > Also, see the Hard Disk Upgrade mini-HOWTO from the Linux Documentation
> > project. This mini-HOWTO indicates that there may be a bug in tar that
> > prevents you from using tar for this purpose but unfortunately does not
> > provide any information on the nature of the bug. I have used "cp -a" as
> > described in this HOWTO to copy a large number of systems to new hard drives
> > without incident.
> >
> > Good luck,
> >
> > Mark
> >
> > On Saturday 17 August 2002 23:24, gs-list wrote:
> > > I'd like to add another hard drive to my SuSE 6.4 Mailserver. Last time I
> > > mv'd everything, all of the file permissions got all botched up.
> > >
> > > How do I move files in one directory to another without modifying the owner
> > > and file permission data?
> > >
> > > Thanks,
> > > Gregg
> > > gs-list at glsrms.com
> > ______________________________________________________________________
> > Linux Users Of Northern Illinois - Technical Discussion
> > luni at luni.org
> > http://luni.org/mailman/listinfo/luni
> >
>
> --
> _ __ _
> / | / /___ ___ _____(_)____
> / |/ / __ \/ _ \/ ___/ / ___/
> / /| / /_/ / __(__ ) (__ )
> /_/ |_/\____/\___/____/_/____/
> noesis at darktide dot com
> http://www.darktide.com/noesis/
> DigitalNoesis.com - Darktide.com
More information about the luni
mailing list