NavigationGeek Stuff
Current Projects
Newest RecipesSearch |
Using Logical Volume Management in LinuxI haven't done much with LVM in Linux. In Red Hat 4, it became possible to use it to manage your volumes. In Red Hat 5, it's the default method for dealing with disks. I've done a fair amount with Veritas Volume Manager (VxVM) under Solaris, however, it's been awhile. But, the concepts I learned under VxVM are similar to that of the Linux LVM. One thing that appears to be different about Linux LVM vs VxVM is that LVM only creates raid 0/1 sets and NOT raid 5 sets. If you need Raid 5, you have to use a md device.However, md sets can create 0/1/5 raid sets. Here's the concepts you need to know in relation to LVM: Physical Volume - Physical Disks on the System (The pv* commands) Here's a quick cheat-sheet of things to know while using Linux LVM: lvmdiskscan - show all disks on system Here's the basic theory for creating a volume: This is an article on HowTo Forge about LVM's. It's brief and covers a lot of ground.
|