LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-13-2012, 04:20 PM   #1
uschxc
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Can I add a logical partition to a filesystem with an LVM?


If I deleted /dev/sda4? I wasn't aware of the 4 primary partitions per disk limitation, and I need to be able to have 4-5 more partitions on this disk that would all eventually be added to the LVM. I'm not sure if the LVM itself counts as the one allowed logical partition per disk.

Here is a cfdisk screenshot of the partition table:

http://tinypic.com/view.php?pic=28v6rrn&s=6
 
Old 08-14-2012, 09:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
a primary partition is a primary partition, there's no interest in what the partition type is (and note that this "limitation" is a 100% DOS legacy issue, Linux doesn't care at all.

LVM partitions can be primary or logical, it's just seen as a block device at the level LVM deals with it at.
 
Old 08-15-2012, 01:40 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Chris' comments are true, but need some elaboration to answer the (largely implied) question.
In future, how about you ask the entire question in the post, instead of starting it in the subject ?.

Note your unusable area - if you delete sda4, you will wind up with a larger area that must (in this case) be allocated as a primary partition. That can be configured as a pv, and added to the LVM vg.
Ugly but workable.
 
  


Reply



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
How to add unallocated space to a logical volume? using LVM tauro_kpo Linux - Hardware 7 08-19-2012 01:02 PM
[SOLVED] partition table seems to be corrupted .. (physical != logical ) LVM weeb0_tikris Linux - General 1 01-16-2011 11:39 AM
Growing an LVM Partition in Fedora 10 using Logical Volume Manager Lee_Ball Linux - General 1 01-29-2009 08:14 AM
add lvm to expand a full filesystem mariogarcia Linux - Software 3 04-27-2007 04:16 AM
Add logical ntfs partition to GRUB loader ! Bonch Debian 1 12-09-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration