Re: LVM and hard disk upgrade

2009-02-20 Thread Stefan Monnier
> failure, I need to move the system to a new HDD. This new drive is > bigger than the current one, so I can't just 'dd' from old one to the > new (and I'm not even sure if this could work - because of UUIDs > different for new disk?). You can dd just fine. The result will be a disk where some par

Re: LVM and hard disk upgrade

2009-02-20 Thread Eduardo M KALINOWSKI
Jacek Politowski wrote: > Hello, > > In LVM-HOWTO I found procedure for removing old drives from volume > group. Just create new PV on new disk, add the new PV to volume group, > move existing data out of old physical volume using 'pvmove old_pv > new_pv', remove old disk from volume group using 'v

LVM and hard disk upgrade

2009-02-20 Thread Jacek Politowski
Hello, I have a fresh (few days old) installation of Lenny (Debian 5.0, stable) system. This installation was performed on single disk - used drive, unfortunately. As S.M.A.R.T is reporting potential disk failure, I need to move the system to a new HDD. This new drive is bigger than the current on