LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-19-2005, 10:28 AM   #1
scott.anderson
Member
 
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.

Scott
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 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