Query about the LVM?
My Fedora 11 hard disk space setup is
Code:
[root@localhost ~]# fdisk -l Code:
root@localhost ~]# pvdisplay Code:
[root@localhost ~]# vgdisplay Code:
[root@localhost ~]# lvdisplay Few doubts to ask: 1. What partitions are recommended to be created on LVM? Is boot and swap partition recommended? 2.What more partition I can create with this LVM? |
These days you can put what you like on LVM.
Used to be you couldn't put /boot on it. Read up about it to make sure you want what it does. It's often used like RAID - only more flexible. |
Any specific reason for not putting /boot.
As I think if it put could save our life more. |
Quote:
Simon is correct: create whatever lv's you feel like. Partitioning is a very personal choice. Here's mine. I'm sure you can guess where they're mounted based on the lv names. :) Code:
root@nix:~# pvs P.S. Some people prefer to keep / (rootfs) and /boot outside of lvm to help with resilience and to ensure that you can still boot the system to a maintenance shell if your lvm config gets corrupted somehow. Personally, I don't subscribe to this and I keep a live-cd to hand to boot from should I ever end up in that situation. |
/boot is where the kernel lives... and the kernel contains the drivers which can manage the lvm volume. Thus, it used to be a bit like opening a box with the key locked inside it. These days, the ability has been added to grub.
If you use encryption, you still have the issue that something must be unencrypted to load the keys. ince /boot is not writable in normal operation, it is safe to leave unencrypted. Unlike windows which can write sensitive data anywhere and so needs whole-disk encryption. It is not too uncommon in linux to put /boot on a keydrive though - so it will only boot with the key in the lock as it were. The internal drive can be totally encrypted then. Note on swap: if you want to use hibernate - you need swap. If you have lots of RAM, you can get away with lowering swappiness. |
All times are GMT -5. The time now is 08:29 PM. |