LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-10-2012, 02:42 AM   #1
scorpiobleue
LQ Newbie
 
Registered: Aug 2012
Distribution: Fedora 15
Posts: 6

Rep: Reputation: Disabled
Can a New Partition and Volume Be Created on a Tri-booted System?


I would like create a new partition and volume on a tri-booted system. The boot setup is Windows 7 64 Home Premium/Fedora 15/Ubuntu 12.04. I was trying to do this using parted in the command line on Fedora. When I ran print I got the following:

Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 181GB 181GB primary ntfs
3 181GB 182GB 524MB primary ext4
4 182GB 320GB 138GB extended
5 182GB 250GB 68.2GB logical lvm
6 250GB 250GB 499MB logical ext4
7 250GB 252GB 1999MB logical linux-swap(v1)
8 252GB 262GB 9999MB logical ext4
9 262GB 320GB 57.6GB logical ext4

Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space. Can a new partition be installed on the 44GB of unallocated space? When I was originally setting up the system it said to leave space if I wanted to add partitions.

Last edited by scorpiobleue; 12-10-2012 at 02:47 AM.
 
Old 12-10-2012, 09:02 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Yes, you should be able to add additional logical volumes using the Fedora logical volume management tool.

And as a reminder Fedora 15 reached end of life on 6/26/2012.
 
1 members found this post helpful.
Old 12-13-2012, 02:20 PM   #3
scorpiobleue
LQ Newbie
 
Registered: Aug 2012
Distribution: Fedora 15
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, you should be able to add additional logical volumes using the Fedora logical volume management tool.

And as a reminder Fedora 15 reached end of life on 6/26/2012.
Should I not even try using parted?

Am I going wrong on how I want to partition the drive? I wanted to partition that unallocated 44GB (sda5) starting at 206GB and ending at 250GB. Using parted it said "The closest location we can manage is 250GB to 250GB." I am completely and utterly confused.

Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 181GB 181GB primary ntfs
3 181GB 182GB 524MB primary ext4
4 182GB 320GB 138GB extended
5 182GB 250GB 68.2GB logical lvm
6 250GB 250GB 499MB logical ext4
7 250GB 252GB 1999MB logical linux-swap(v1)
8 252GB 262GB 9999MB logical ext4
9 262GB 320GB 57.6GB logical ext4

(parted) mkpart
Partition type? [logical]?
File system type? [ext2]?
Start? 206GB
End? 250GB
Warning: You requested a partition from 206GB to 250GB.
The closest location we can manage is 250GB to 250GB.
 
Old 12-13-2012, 02:42 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
No. use the GUI LVM management tools. As far as I know parted does not support LVM. Here is some information that will help you understand how LVM works.

http://www.debian-administration.org/articles/410

Last edited by michaelk; 12-13-2012 at 02:44 PM.
 
Old 12-13-2012, 03:27 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Quote:
Originally Posted by scorpiobleue View Post
Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space. Can a new partition be installed on the 44GB of unallocated space?
No, because it isn't unallocated, just unused. Parted (and other non-LVM tools) deal with partitions - that's the level below LVM, and requires (truly) unallocated space on the physical disk itself.
Quote:
When I was originally setting up the system it said to leave space if I wanted to add partitions.
Always a good idea, but due to overloading of terminology, you appear to have mis-interpreted this. Not your fault BTW, this can get very confusing.
 
Old 12-13-2012, 03:33 PM   #6
scorpiobleue
LQ Newbie
 
Registered: Aug 2012
Distribution: Fedora 15
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
No, because it isn't unallocated, just unused. Parted (and other non-LVM tools) deal with partitions - that's the level below LVM, and requires (truly) unallocated space on the physical disk itself.Always a good idea, but due to overloading of terminology, you appear to have mis-interpreted this. Not your fault BTW, this can get very confusing.
Oh wow. Cripes, so any other words if I want to add another partition it looks like I will have to repartition the entire drive all over again. Or can I just get rid of Ubuntu and use that space for the new partition instead.
 
Old 12-13-2012, 03:45 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Who says that the OP's system is using LVM? as far as I can tell from the first post it's only that there is an extended partition 4 and within this there are several logical partitions.

scorpiobleue, could you please post the output of
Code:
fdisk -l
and please use code tags! [code][/code]

Markus
 
Old 12-13-2012, 05:37 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
From the first post
Quote:
5 182GB 250GB 68.2GB logical lvm
Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space.
 
Old 12-14-2012, 03:37 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Quote:
Originally Posted by scorpiobleue View Post
Cripes, so any other words if I want to add another partition it looks like I will have to repartition the entire drive all over again.
Noooo ...
Planning is always a better option than impulse - especially when your data is involved. Things can generally be managed, but might be awkward and time consuming. As is likely if you want to retain all the current partitions.
Quote:
Or can I just get rid of Ubuntu and use that space for the new partition instead.
You can certainly do that, and it would be simple. You may not learn a lot though.
One can really assume you don't want the new partition for Ubuntu then. If you want it for Fedora, it would be simpler to create another lv in that vg - that is effectively the same in an LVM environment.
If you want to add a partition ("volume" in your first post ?) to Windoze, you'll need to find space outside the LVM allocation - you can free that space in the vg, but it will be involved.
 
Old 12-14-2012, 08:25 PM   #10
scorpiobleue
LQ Newbie
 
Registered: Aug 2012
Distribution: Fedora 15
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you guys for all of your help, it is much appreciated. I decided to add another logical volume. Again thank you for the help.
 
  


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
How to refresh shared file system on shared logical volume created in NAS back-end Kaustuv Linux - Enterprise 3 08-13-2011 07:48 AM
how to secure a partition in a triple booted system??? firewiz87 Linux - Security 7 12-30-2007 12:44 AM


All times are GMT -5. The time now is 08:51 PM.

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