Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-19-2005, 09:28 AM   #1
Registered: Mar 2005
Location: Natick, MA
Distribution: Redhat EL 5.2, Fedora 8
Posts: 30

Rep: Reputation: 15
LVM versus parted

I can see the advantages of LVM in some situations, such as joining a bunch of disks together into one big partition, and allowing snapshots of the partition (ideal for long tape dumps), but I don't see how it buys me much for allocating space on a single disk, despite that argument in the HOWTO for it.

Here's the specifics. I have a 40GB system disk. Suppose I divide it foolishly, giving roughly 10GB each to /, /usr, /var and /opt. (Ignore /boot and swap). Say I later discover that I need more space in /var and that /opt is mostly empty.

Scenario A, using LVM: I boot to single-user mode, or maybe I boot off a rescue disk, and use LVM to resize the /var and /opt partitions. I use resize2fs to resize the filesystems that live in those partitions. I reboot and hope that all is well. Right?

Scenario B, using old-fashioned partitions: I boot to single-user mode or boot off a rescue disk. I use parted to resize and move the /var and /opt partitions. I reboot and hope that all is well. Right?

Assuming I got the two scenarios right (a long shot, but that's my understanding from reading various HOWTOs), what is LVM buying me? I still have to shut the machine down, which is a hassle for my users. The operations don't seem to be any easier. Finally, with LVM, there are all kinds of dire warnings about not using it for / and /boot, so I still have some old-fashioned partitions (not that that's necessarily bad).

So, why would I go to the extra effort to use LVM?

Thanks very much for any advice or pointers.



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
Help using parted gauntalus Linux - Software 5 12-26-2004 03:40 PM
I need some help now, using Parted Ofvitinn Linux - Hardware 3 09-19-2004 08:28 PM
Using Parted Mathiasdm Linux - Software 7 08-23-2004 03:10 AM
parted alaios Linux - General 5 04-29-2004 12:13 PM
Can parted do this? szf2 Linux - Newbie 1 10-24-2003 03:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 AM.

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
Open Source Consulting | Domain Registration