Adding a second drive with LVM

Remi Collet Fedora at FamilleCollet.com
Sat Feb 17 10:23:27 UTC 2007


Mark Fraser a écrit :
> I'm currently using FC6 with one hard drive formatted with LVM. I was
> thinking of buying a second larger hard drive just for /home. So that when
> F7 arrives I can install it without being concerned that everything in
> /home will get overwritten.
>
> My questions are:
>
> 1) is this possible with LVM?
>   
Of course.
- pvcreate to create a new physical volume
- vgextent to add the new PV to the existing volume group
- pvmove to move data (logical volume) from one PV to another.

Only use pvmove from latest lvm2 (2.02.17-1.fc6, previous is broken).

> 2) what is the easiest way of achieving it?
>
> 3) if it can't be done with LVM, are there any other ways of doing what I
> want?
>
> Thanks
>
>
>   




More information about the fedora-list mailing list