« HOWTO: Create a Snapshot on LVM.HOWTO: Extend a partition on LVM. »

HOWTO: Create a partition on LVM.

11/07/08

HOWTO: Create a partition on LVM.

The following command creates new logical volume made of

  • 5 Gbyte in size
  • striped over 3 disks
  • block size is 64K
  • called lv_root2
  • volume group vg01.

...

sudo lvcreate -L5G -i3 -I64 -n lv_root2 vg01

All that is left is to put the file system on the new stripped partition.

sudo mkreiserfs /dev/vg01/lv_root2

You can check all was created as expected with the following:

sudo lvs -o +stripes

LVM-HOWTO, it's all here

No feedback yet

Here are a collection of Mini-HOWTOs some of which are too short even for that grand title. I keep them around as it is easier to remember where to look these up that to remember the content of the mini-HOWTO

Search

Contents

powered by b2evolution