LVM

From ConShell
Revision as of 18:32, 31 October 2015 by Delimiter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Quick-n-dirty guide to creating a logical volume device/group/partition under [Ubuntu]

apt-get install lvm2 libdevmapper1.02.1
modprobe dm-mod
 pvcreate /dev/md2
vgcreate -v vg1 /dev/md2
lvcreate -L100G -nvol1 vg1
mkfs.jfs /dev/vg1/vol1 
mount -o noatime -t jfs /dev/vg1/vol1 /srv

Add to /etc/fstab!

See also: