LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2015, 03:26 AM   #1
danube
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
Deallocate some extents on encrypted root device in order to increase free physvolume


I just install Debian 8.1. I allocated for lvm volume group almost all disk (300 GiB ) to encrypted partition and a little bit for boot. I want to make smaller 50GiB encrypted physical volume and install different xen OS to the free space.

Is it possible to do it without data loss? How?

============

System info:
/dev/dm-1 ext4 /
/dev/sda1 ext2 /boot

Files in /dev/mapper :
control
hostname--vg-root
hostname--vg-swap_1
sda5_crypt

Last edited by danube; 07-21-2015 at 03:28 AM.
 
Old 07-21-2015, 03:53 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,634

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
I think I used this Ubuntu how-to when I wanted to test this recently.
I think I used gparted to do the partition resizing rather than fdisk. I did this on a system I could afford to lose, but everything went fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DEALLOCATE statement in Gfortran kills a program. Why? AlexBB Linux - Software 3 03-29-2015 03:30 PM
[SOLVED] Increase size of an encrypted LVM partition jjthomas Slackware 2 01-13-2013 04:10 AM
Mounting encrypted LVM - Device /dev/.../lv_home is not a valid LUKS device. recarv Linux - Hardware 3 02-15-2011 02:38 PM
shrinking root partition and using free space to create a block device kickdgrass Linux - General 1 02-04-2009 05:04 AM
Kernel 2.6.26.3: VFS cannot open root device, can't find root device dimm0k Linux - Kernel 1 09-21-2008 03:19 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration