Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-30-2010, 05:02 PM   #1
LQ Newbie
Registered: May 2005
Posts: 23

Rep: Reputation: 1
Partition management: lvm? fdisk? parted? (on RAID)


I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?).

It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume.

I want to break that partition up into at least two separate ones. What I am wondering is:

* What's the difference between using fdisk and parted? Any reason to use one over the other?

* Should I just use lvm instead to shrink the current volume and create a second one? Is there a down-side to use logical volumes without creating a physical partition with fdisk/parted?

* Being that there are already two disks in RAID 1 configuration, does partitioning with lvm or fdisk/parted transparently propagate to the mirror disk or do I need to do something to partition BOTH drives?

Thanks in advance!!

Last edited by emailbuilder88; 04-30-2010 at 05:02 PM. Reason: better title
Old 04-30-2010, 10:59 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,799

Rep: Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182
I would suggest you go to Linux_Raid homepage. Plenty of good info - including info on /proc/mdstat which you should have if software RAID; from you previous thread I'd be guessing you had hardware RAID.
Regardless, it is/looks like a block device to you - just a disk to all intents and purposes.

Partitions go on block devices - use your tool of choice; I tend to use fdisk, because I have for years. Parted is better supported, and can be used for big (as in *BIG*) disk and gpt. Go with that if you have no pre-existing prejudices.
LVM adds some nice features and is somewhat more accommodating when you need to expand "partitions". Especially if you need to add more (actual) disks. Replacing disks or importing disks can get interesting. You might want to add volume groups rather than add partitions if this is all for the same system. Have a look at the LVM-HOWTO as well.

Your (RAID1) disks will look like one 500Gig disk. That's what you deal with - the "other" is handled automagically.


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
fdisk vs parted L1nuxn00b703 Linux - Newbie 2 09-08-2009 09:13 PM
Raid, fdisk and partition tables zdenisl Linux - Software 0 10-21-2006 10:35 PM
cannot use 100% of hard disk, fdisk / parted / partition question lucastic Linux - Hardware 5 12-02-2005 08:58 PM
partition resizing using parted...bad memories of fdisk rextor Linux - General 1 07-30-2005 10:34 AM
What app can REALLY delete a partition? (not fdisk, parted, etc...) kornerr Linux - General 4 05-28-2005 12:14 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:40 PM.

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