User Tools

Site Tools


docs:tips_n_tricks:luks.html

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
docs:tips_n_tricks:luks.html [17.12.2015 03:21 CET]
peter [Resize an encrypted LV managed by cryptsetup]
docs:tips_n_tricks:luks.html [17.12.2015 11:45 CET] (current)
peter [Resize an encrypted LV managed by cryptsetup]
Line 2: Line 2:
 ===== Resize an encrypted LV managed by cryptsetup ===== ===== Resize an encrypted LV managed by cryptsetup =====
  
-While it is quite straight forward ​(([[http://​www.google.com/?​q=LVM+LUKS+resize2fs]])) to resize any stack of LUKS, ext2,3,4, LVM, MSDOS or GPT partitions, it becomes strange if you're using Ubuntus package //​cryptsetup//​ ((Consisting of ''/​etc/​crypttab''​ and ''​cryptdisks_''​(''​start''​|''​stop''​) ))+While it is seems to be quiet obvious for most people 
 +(([[https://​help.ubuntu.com/​community/​ResizeEncryptedPartitions|Help Ubuntu]], 
 +[[http://​www.linuxquestions.org/​questions/​linux-general-1/​resize-lvm-insize-luks-4175543023/​|Linuxquestions]],​ 
 +[[http://​serverfault.com/​questions/​394902/​resizing-a-luks-encrypted-volume|Serverfault]],​ 
 +[[https://​debianforum.de/​forum/​viewtopic.php?​f=27&​t=148210|debianforum]],​ 
 +[[https://​wiki.archlinux.org/​index.php/​Resizing_LVM-on-LUKS|Archlinux Forum]], 
 +[[https://​forum.ubuntuusers.de/​topic/​luks-partition-vergroessern.-ohne-lvm/​|Ubuntuusers]],​ 
 +[[http://​www.google.com/?​q=LVM+LUKS+resize2fs|All the Rest]] 
 +)) 
 +how to resize any stack of LUKS, ext2,3,4, LVM, MSDOS or GPT partitions, it becomes strange if you're using Ubuntus package //​cryptsetup//​ ((Meaning, if you are using ''/​etc/​crypttab''​ and ''​cryptdisks_''​(''​start''​|''​stop''​) ​for automatic handling of mounts))
  
   ~ # lvresize -L 22.5G /​dev/​vg_sys/​lv_home   ~ # lvresize -L 22.5G /​dev/​vg_sys/​lv_home
docs/tips_n_tricks/luks.html.txt · Last modified: 17.12.2015 11:45 CET by peter