Anakinholland
August 26th, 2014, 08:48 PM
Hi all,
I'm trying to do the following using 14.04 LTS:
To use in my business, using encrypted LVM preferrably, I would like something like the following (I know the details don't add up, it's a mock-up to give you an impression):
sda 8:0 0 167,7G 0 disk
├─sda1 8:1 0 243M 0 part /boot
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 150,5G 0 part
└─sda5_crypt (dm-0) 252:0 0 150,5G 0 crypt
├─ubun--vg-root (dm-1) 252:1 0 20,8G 0 lvm /
├─ubun--vg-virt (dm-1) 252:1 0 115,0G 0 lvm /virtual
└─ubun--vg-home (dm-2) 252:2 0 15,0G 0 lvm /home
└─sda6 8:5 0 7,7G 0 part
└─sda6_crypt (dm-0) 252:0 0 7,7G 0 crypt
└─ubun--vg-swap_1 (dm-2) 252:2 0 7,7G 0 lvm [SWAP]
I would like the /virtual to be XFS filesystem, as apparently there's a big speed-increase to be had for big files (which virtual machines are to the host).
I've tried the various forms I can think of, but:
When I use automatic partitioning it only makes 1 VG and creats 1 big filesystem /
When I manually partition in the installer, I cannot create multiple LV's in a single VG. Each LV needs to be on it's own Physical Volume.
When I manually partiion in the installer without LVM, all filesystems on separate encrypted partitions, it fails at creating/mounting the XFS filesystem.
When I manually partition using parted, then assign in the installer, it fails to copy the dm-crypt.ko into the bootloader (the file is physically not present in /boot/lib) and does not create /etc/crypttab
I tried the same thing with Xubuntu, ZorinOS and Mint, but all suffer from the same symptoms (which makes sense of course).
I tried setting up the same thing with RH-based distros, and succeed, but they are either too far behind software-wise or don't have an LTS release...
Any help with this would be greatly appreciated!
I'm trying to do the following using 14.04 LTS:
To use in my business, using encrypted LVM preferrably, I would like something like the following (I know the details don't add up, it's a mock-up to give you an impression):
sda 8:0 0 167,7G 0 disk
├─sda1 8:1 0 243M 0 part /boot
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 150,5G 0 part
└─sda5_crypt (dm-0) 252:0 0 150,5G 0 crypt
├─ubun--vg-root (dm-1) 252:1 0 20,8G 0 lvm /
├─ubun--vg-virt (dm-1) 252:1 0 115,0G 0 lvm /virtual
└─ubun--vg-home (dm-2) 252:2 0 15,0G 0 lvm /home
└─sda6 8:5 0 7,7G 0 part
└─sda6_crypt (dm-0) 252:0 0 7,7G 0 crypt
└─ubun--vg-swap_1 (dm-2) 252:2 0 7,7G 0 lvm [SWAP]
I would like the /virtual to be XFS filesystem, as apparently there's a big speed-increase to be had for big files (which virtual machines are to the host).
I've tried the various forms I can think of, but:
When I use automatic partitioning it only makes 1 VG and creats 1 big filesystem /
When I manually partition in the installer, I cannot create multiple LV's in a single VG. Each LV needs to be on it's own Physical Volume.
When I manually partiion in the installer without LVM, all filesystems on separate encrypted partitions, it fails at creating/mounting the XFS filesystem.
When I manually partition using parted, then assign in the installer, it fails to copy the dm-crypt.ko into the bootloader (the file is physically not present in /boot/lib) and does not create /etc/crypttab
I tried the same thing with Xubuntu, ZorinOS and Mint, but all suffer from the same symptoms (which makes sense of course).
I tried setting up the same thing with RH-based distros, and succeed, but they are either too far behind software-wise or don't have an LTS release...
Any help with this would be greatly appreciated!