Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:lvm [2006/10/29 15:03]
a LVM
linux:lvm [2009/05/25 00:35] (current)
Line 2: Line 2:
  
   * [[http://www.cyberciti.biz/tips/consistent-backup-linux-logical-volume-manager-snapshots.html|Consistent backup with Linux Logical Volume Manager (LVM) snapshots]]   * [[http://www.cyberciti.biz/tips/consistent-backup-linux-logical-volume-manager-snapshots.html|Consistent backup with Linux Logical Volume Manager (LVM) snapshots]]
 +  * [[http://www.howtoforge.com/encrypted-root-lvm|Encrypted root LVM]]
  
 ===== Example usage ===== ===== Example usage =====
Line 116: Line 117:
  
  mount -t ext3 /dev/opt_vg/opt_lv /mnt/lvm_filesystem  mount -t ext3 /dev/opt_vg/opt_lv /mnt/lvm_filesystem
- +
 ==== Grow an EXT2/3 filesystem (without unmount) ==== ==== Grow an EXT2/3 filesystem (without unmount) ====
  
Line 148: Line 149:
  
  vgextend vgname /path/to/PV  vgextend vgname /path/to/PV
- + 
 +===== Resizing crypted LVM  ===== 
 + 
 +   cryptsetup -c aes -h ripemd160 -s 256 create home /dev/disk_array/data 
 +   pvcreate /dev/hde1 
 +   vgextend disk_array /dev/hde1 
 +   lvresize -L +114G /dev/disk_array/data 
 +   cryptsetup resize home 
 +   resize_reiserfs -s +114G /dev/mapper/home 
 + 
linux/lvm.1162130603.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready