LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-03-2009, 10:30 AM   #1
kickdgrass
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
shrinking root partition and using free space to create a block device


We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is no other space available on the primary disk where we can store the files to be protected tht is mirrored across other disk, so we intend to allocate some space on the primary disk that can be used as a LV that is mirrored across an LV on different disk.
What can be done in this situation?
For now we thought of the following:
1> Shrinking the root partition to get some unallocated space that can be used to create a PV.
problems :
a. How do u do it? Can gparted be used online without the live CD?
b. How much can the root be compressed without the OS failure?
2> Can the root partition be converted into a LV?
3> There is free space on the root partition. Now can we use this free space to create a block device that can be converted into PV that would contain my protected files mirrored across other LV on a different disk. If so how can we do it?
Can anyone help me with this?
Thanks a lot.
 
Old 02-04-2009, 05:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
1>
a. No
b. How long is a piece of string.
2> No - it can *be* an LV, but can't be converted (in place).
3> You can't. You have to shrink the partition, and use the resultant unallocated space as a partition so that it can be used as a PV.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
fdisk fails to create partition, but drive has free space whysyn Linux - Software 3 04-17-2007 02:13 PM
can't create partition on free space thyraios Linux - Newbie 17 02-15-2006 09:08 AM
Create new partition from existing free space distortedstar Linux - General 4 06-07-2005 09:47 PM
Can't free space on root partition AThomsen Fedora 1 06-18-2004 02:58 PM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration