Re: Copying filesystems / logical volumes
- From: Trog Woolley <trog@xxxxxxxxxx>
- Date: Tue, 12 Dec 2006 21:06:39 +0000 (UTC)
While stranded on the hard shoulder of the information super highway cdwells@xxxxxxxxxxx typed:
Hi all,
I'm trying to determine the best way to copy entire filesystems. We're
using LVM and are migrating to new external storage. Our plan is to
add the new disks to the volume group (oraclevg) create new logical
volumes, mount them under /oracledata_new and /oracle_new, then copy
the data from /oracledata and /oracle to the newly created filesystems.
Both of these filesystems are separate logical volumes in oraclevg.
What is the most efficient way to do this? Is there way to copy the
contents of one logical volume to another, or from one filesystem to
another other than using just cp?
Any advice is much appreciated.
man dd
this is just one of the many uses for d(evice to)d(evice) copy
you should probably have both filesystems unmounted
rsync might to the job too, but I've never rsync'ed to the same machine.
--
Trog Woolley | trog at trogwoolley dot com
(A Croweater back residing in Pommie Land with Linux)
Isis Astarte Diana Hecate Demeter Kali Inanna
.
- References:
- Copying filesystems / logical volumes
- From: cdwells
- Copying filesystems / logical volumes
- Prev by Date: Re: Boot loaders
- Next by Date: Re: Trying to compile a program
- Previous by thread: Copying filesystems / logical volumes
- Next by thread: Re: Copying filesystems / logical volumes
- Index(es):
Relevant Pages
|
|