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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:tips_n_tricks:luks.html [17.12.2015 03:16 CET] – [Resize an encrypted LV managed by cryptsetup] peterdocs:tips_n_tricks:luks.html [17.12.2015 11:45 CET] – [Resize an encrypted LV managed by cryptsetup] peter
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
Line 26: Line 35:
 {{entry>Linux}} {{entry>Linux}}
 {{entry>LVM}} {{entry>LVM}}
 +{{entry>LUKS}}
 {{entry>cryptsetup}} {{entry>cryptsetup}}
 {{entry>resize2fs}} {{entry>resize2fs}}
-{{tag>Linux LVM cryptsetup resize2fs}}+{{tag>Linux LVM LUKS cryptsetup resize2fs}}
docs/tips_n_tricks/luks.html.txt · Last modified: 21.08.2022 19:06 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki