- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: tradition partition or LVM ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 10:52 PM
тАО02-19-2009 10:52 PM
tradition partition or LVM ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 03:08 AM
тАО02-20-2009 03:08 AM
Re: tradition partition or LVM ?
The answer is it depends.
I just attended a performance class (In November) that said to not put swap in LVM. I've been doing that for years.
What you do, and how you do it completely depends on your application needs and what kind of storage you have available.
Here is a layout of a typical system, 20 GB boot disk 200 GB of storage and a smb mount to a Samba network/NAS device for shared storage.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-lvol1
2.0G 427M 1.5G 23% /
/dev/mapper/vg00-lvol3
7.8G 2.6G 4.9G 35% /usr
/dev/mapper/vg00-lvol4
7.7G 301M 7.0G 5% /var
/dev/mapper/vg01-lvol0
184G 71G 105G 41% /share
/dev/hda1 99M 32M 63M 34% /boot
tmpfs 180M 0 180M 0% /dev/shm
//10.0.0.10/web 465G 364G 102G 79% /web
It works for me, leaves enough software update space laying around plus a generous /var partition for variable data.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 03:28 AM
тАО02-20-2009 03:28 AM
Re: tradition partition or LVM ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 03:45 AM
тАО02-20-2009 03:45 AM
Re: tradition partition or LVM ?
LVM has saved me a great deal of OS reinstall time due to the ability to completely reconfigure storage while the system is running.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 07:06 AM
тАО02-20-2009 07:06 AM
Re: tradition partition or LVM ?
Steven, that's interesting about swap within LVM having possible performance problems. Did they mention how much noticeable performance degradation there might be? Perhaps I should update my server deployments to keep swap out of LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 11:29 AM
тАО02-20-2009 11:29 AM
Re: tradition partition or LVM ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 01:04 AM
тАО02-23-2009 01:04 AM
Re: tradition partition or LVM ?
I dont have much to answer coz other gurus have given u sufficient info regarding this topic.
Adding few more....
LVMs primary purpose is enable flexible disk space management mechanism.
so if you think your servers space requirement will grow in the future and also u want to keep your mount points unchanged LVM is the option.
LVM allows u to expand your file system space on the fly but reducing is not recommended on the fly.
Also it is a best practice to keep /boot & swap out of LVMs.
Yes LVM adds some over head to the file system but it can be ignored when u compare the advantages u gain from it.
Good Luck...!
Technology is there to use so use it when ever u can apply.