From: Jon Bendtsen <jon+lvm@silicide.dk>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] How to migrate data from one Hard Drive to a new one
Date: Sun Aug 31 04:27:01 2003 [thread overview]
Message-ID: <3F51BF42.6070403@silicide.dk> (raw)
In-Reply-To: <1062272914.11039.103.camel@candido>
Luca Da Col wrote:
[cut]
> I finally decided to upgrade my old 6.5G HD to a new 120G HD; is the procedure described in
> http://www.tldp.org/HOWTO/LVM-HOWTO/removeadisk.html a safe way to migrate all my data
> from the former to the 120G? I mean, my case is slightly different from the one described
> because of /boot partition and LILO in the MBR...
yes, but if you are worried, you can do it like this:
mount the new "partition" (real or LV) to /mnt
cd /the_source, eg. /usr /var /home ...
find -xdev | cpio -pm /mnt
umount /mnt
repeat for the next source.
The process is described in the software raid howto.
Remember to edit the new /etc/fstab and new /etc/lilo.conf,
and run lilo with lilo -r /mnt
JonB
next prev parent reply other threads:[~2003-08-31 4:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 14:49 [linux-lvm] How to migrate data from one Hard Drive to a new one Luca Da Col
2003-08-31 4:27 ` Jon Bendtsen [this message]
2003-09-01 17:04 ` Luca Da Col
2003-09-02 7:29 ` Wolfgang Weisselberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F51BF42.6070403@silicide.dk \
--to=jon+lvm@silicide.dk \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.