search for: newvg

Displaying 3 results from an estimated 3 matches for "newvg".

Did you mean: newfg
2015 Mar 06
3
LVM encryption and new volume group
Hi Chris, thanks for your answer. It is the first time I decided to encrypt my lvm. I choosed to encrypt the volume group, not every logical volume itself, because in case of doing lvm snapshots in that group they will be encrypted too? And how do I create a new encrypted volume group? Regards Tim Am 6. M?rz 2015 01:58:23 MEZ, schrieb Chris Murphy <lists at colorremedies.com>: >On
2015 Mar 06
0
LVM encryption and new volume group
...ur first drive. PLEASE make sure you don't use that command directly or it'll wipe the LUKS header on your current drive. You have to change the /dev/sdX designation to point to the new drive or partition. 2 cryptsetup luksOpen /dev/sdX newdrive 3. pvcreate /dev/mapper/newdrive 4. vgcreate newvg /dev/mapper/newdrive 5. lvcreate -L 300G -n morestuff newvg 6. mkfs.xfs /dev/mapper/newvg-morestuff Adapt as needed. Don't forget crypttab is used to point to the LUKS volume, once it's unlocked the PV is revealed and lvm will activate the VG and the LVs on it, and then in your fstab you...
2015 Mar 08
1
LVM encryption and new volume group
...re you don't use that command directly or it'll wipe the LUKS header > on your current drive. You have to change the /dev/sdX designation to > point to the new drive or partition. > > 2 cryptsetup luksOpen /dev/sdX newdrive > 3. pvcreate /dev/mapper/newdrive > 4. vgcreate newvg /dev/mapper/newdrive > 5. lvcreate -L 300G -n morestuff newvg > 6. mkfs.xfs /dev/mapper/newvg-morestuff > > Adapt as needed. Don't forget crypttab is used to point to the LUKS > volume, once it's unlocked the PV is revealed and lvm will activate > the VG and the LVs on it...