| Adding an LVM partition Posting this here because it seems like a newbie question to me, I just want to see if I am doing this right as I haven't worked with LVM before.
I wanted to add an audit partition /var/log/audit to comply with a security benchmark, the premise being that auditd needs it to correctly calculate when its partition is out of space.
I used the following commands:
lvcreate -L 2048M n- LV16 VG0
(create a 2GB partition, volume "LV16" in my sequence of partitions, on volume group "VG0")
mkfs.ext3 /dev/VG0/LV16
mount /dev/VG0/LV16 /var/log/audit
Then I added this line to fstab to make it permanent:
/dev/VG0/LV16 /var/log/audit ext3 defaults 1 2
Am I gold now or did I mess something up? |