Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
deb610:gemlvm [2012/07/17 12:11] – external edit 127.0.0.1deb610:gemlvm [2026/10/11 02:01] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-===== Install logical volumes (LVM) ===== 
- 
-==== Prepare and install volumes ==== 
- 
-Prepare a single disk or a disk raid: 
-  mkfs.ext3 <phsvol> 
-  lvm 
-  lvm> pvcreate <physvol> 
-  lvm> vgcreate <physvol> // or several physical volumes: <physvol1> <physvol2> <physvol3> 
-  lvm> lvcreate <volgroup> <physical> 
-  lvm> quit 
-  mkfs.ext3 /dev/mapper/<volgroup-logvol> 
-  mount /dev/mapper/<volgroup-logvol> <dir> 
- 
-Auto-mount during boot: 
-  vim /etc/fstab 
-  /dev/mapper/<volgroup-logvol> <dir> ext3 noatime,user_xattr 0 0