LVM on LUKS and fsck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have decided to give encryption a shot and I have started with some
bootable usb disks I have as emergency/recovery media.

Everything works and partitions seem to mount just fine, but during boot
in the fsck fase, root is apparently checked twice and home apparently
doesn't get checked.

root: clean, 177630/524288 files, 1430174/2097152 blocks
boot: clean, 34/65536 files, 50998/262144 blocks
root: clean, 12450/2162688 files, 7055618/8649728 blocks

Using dumpe2fs to check how many blocks my root and home volumes have I
can confirm that the first root line really corresponds to root and the
second root line corresponds to home.

Does anyone know if this is a (known) bug or am I missing something?

My partition/volumes setup is as follows:

boot
luks
-lvm
--root
--swap
--home

menu.lst:
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/lvmvol/root
cryptdevice=/dev/disk/by-uuid/d9cfc224-4ece-489b-a231-f5a5a876354f:luksvol
ro quiet
initrd /initramfs-linux.img

fstab:
UUID=b4a938a4-1a49-42dc-9535-472efcccc264 /boot ext2 defaults,noatime 0 1
/dev/lvmvol/root / ext4 defaults,noatime 0 1
/dev/lvmvol/home /home ext4 defaults,noatime 0 2
/dev/lvmvol/swap none swap defaults 0 0

mkinitcpio.conf:
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev usb usbinput keymap encrypt lvm2 autodetect pata scsi
sata filesystems"


-- 
Mauro Santos


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux