Carl Lowenstein wrote: > Something I have been thinking about, but not sure whether I can do it. > > I have a bunch of data on a 300GB drive, in a 250GB LVM volume. This > drive is in an external USB box. I would like to migrate the data to > a different LVM volume on an internal 500GB drive. Obviously this can > be done using tar piped to tar, or rsync, or other means. Possibly by > using LVM commands that I don't quite understand. > > Maybe this is the section "Removing an Old Disk" in the LVM HOWTO. > > Could it be done by setting up a mirrored pair between the two drives? > Then at some later time I could break the mirror and unplug the > external drive and put it somewhere for safekeeping. > > Another future time I could get another external drive and again set > it up as the second drive in a mirror pair. Repeat, storing old disk > drives somewhere until it is time to reuse them. > > Given that I don't quite know what I am talking about here, ideas or > command-line recipes are welcome. > > As a side comment, I wish that whoever writes the LVM HOWTO would > arrange to print the revision number on every page of the > documentation. I have three copies of the document, different > revision numbers, and the section numbers wander all over the place. > Suppose I should just throw out the old ones. :-)
Is this not what the pvmove command is for? Tracy is probably the one most likely to have personally performed such an operation (I haven't). Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
