- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Should I use LVM or single disk?
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
Forums
Discussions
Discussions
Discussions
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
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
11-13-2001 06:34 AM
11-13-2001 06:34 AM
The old disks used LVM and had 1 volume group, and several logical volumes. I'm wondering if I should set up the new disks with LVM, or just use the entire disk for the / partition.
Part of the reason for the upgrade is some poor choices that were made in the logical volume sizing. I'm thinking it might be wise to avoid this and just use the whole disk for root partition, (minus swap space of course).
I'm wondering what other peoples opinions are to the advantages/disadvantages of using/not using LVM.
My thoughts are that there is most likely never going to be more than 1 disk on these systems, so why use LVM?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:38 AM
11-13-2001 06:38 AM
Re: Should I use LVM or single disk?
Go with LVM. With 18GB you should be ok as far as space goes. I would recommend getting OnlineJFS, that will vastly improve you view on using LVM over a single / partition.
Just my thoughts.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:40 AM
11-13-2001 06:40 AM
Re: Should I use LVM or single disk?
Do you know what will happen tomorrow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:40 AM
11-13-2001 06:40 AM
Re: Should I use LVM or single disk?
You can use entire disk for root VG but make sure that you have to have a mirror disk to root.
Also have a latest copy of your make_recovery tape handy always.
Goodluck
-USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:42 AM
11-13-2001 06:42 AM
Re: Should I use LVM or single disk?
I'd definitely choose LVM. Your requirements may change down-the-road, and then you can grow your logical volume size and/or add more physical volumes to the volume group. One thing that comes to mind immediately is that with LVM you could add mirroring later if you wanted high-availability.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:42 AM
11-13-2001 06:42 AM
Re: Should I use LVM or single disk?
You should always go for LVM. Regarding poor lv sizing, you can always increase/decrease them using LVM commands lvextend/lvreduce.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:46 AM
11-13-2001 06:46 AM
Re: Should I use LVM or single disk?
Consider what would happen is you use whole disk for your / partition and then need more space in /opt, /var, or /usr for some reason. How you going to expand it?
With LVM size your partitions the sizes you think you'll need, just make sure that / and /stand are sized maybe just a bit larger than you think you need. Don't give out the whole 18GB to LVs right away. There is no need for that. You should have some space left on the disk that you can allocate on an emergency basis. That's the beauty of LVM, especially if you have the optional Online/JFS product. You can add space on the fly with no downtime.
You don't have the flexibility with whole disk.
To be honest, I'm not sure whole disk is even an option when you install the OS. It may be, I've never tried it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:49 AM
11-13-2001 06:49 AM
Re: Should I use LVM or single disk?
Certainly the LVM way.
Use optional ($$) Online JFS to change/resize the logical volumes on-fly, without any down time.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:50 AM
11-13-2001 06:50 AM
Re: Should I use LVM or single disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:55 AM
11-13-2001 06:55 AM
Re: Should I use LVM or single disk?
Without LVM, you have little control over a RUN-AWAY program. Let's say you put everything under "/", then some wacko user decides to write a program that goes beserk and starts writing a log file in the /home/
If you want, tell us your OS (10.20, 11.00, 11.11), the amount of memory, system type, and some application size info, and we'll help you layout the filesystems!!!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:56 AM
11-13-2001 06:56 AM
Re: Should I use LVM or single disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:00 AM
11-13-2001 07:00 AM
SolutionAdding to the LVM chorus ;-)
Go for LVM. Actually, it gives you more flexibility!
Except for /stand and / filesystems , you can change any of the other filesystem sizes (increasing) in a jiffy.
So, be little liberal in assigning size for /stand and /.
/stand -> 100Mb
/ -> 300MB
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:04 AM
11-13-2001 07:04 AM
Re: Should I use LVM or single disk?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:25 AM
11-13-2001 07:25 AM
Re: Should I use LVM or single disk?
Not only that but there is a significant memory impact.
If your server sucks in terms of performance consider changing, although by default go with LVM for ease of administration.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:30 AM
11-13-2001 07:30 AM
Re: Should I use LVM or single disk?
LVM! If for no other reason then one runaway process can't fill up your root disk and crash the system.
Imagine, giving anyone with write permission ANYWHERE the ability to crash the system because of a poorly written script.
-Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:57 AM
11-13-2001 08:57 AM
Re: Should I use LVM or single disk?
LVM is simply much more flexible than whole disk.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 01:35 PM
11-14-2001 01:35 PM
Re: Should I use LVM or single disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 05:53 AM
11-15-2001 05:53 AM
Re: Should I use LVM or single disk?
> well LVM pretty mich sucks in terms of the io perf hit you're going to get when comparing to fixed disk.
I am sorry to disagree, but as far as I know that is an urban legend, at least for apples to apples comparisons (i.e. comparing the same system with the same disks with the same disk layout with the same filesystem layout with the same application, etc., you get the drift).
If I remember correctly, actual controlled tests have shown a worst case of an about 5% degredation.
> Not only that but there is a significant memory impact.
True. Just generate a kernel with and without LVM to see if the impact is high for your particular system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 06:09 AM
11-15-2001 06:09 AM
Re: Should I use LVM or single disk?
Always use LVM. Online JFS and some good know-how will solve your "poor choices" problem.
Also . . .
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
Cheers,
Jim