- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why use several logical volumes on the root di...
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
10-22-2002 05:55 AM
10-22-2002 05:55 AM
I would like to know what are the advantages of partitioning the root disk into several logical volumes (/opt, /usr, /home, /tmp, /stand, /var, /), instead of using just two: / and /var
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 05:58 AM
10-22-2002 05:58 AM
Re: Why use several logical volumes on the root disk?
If a file system like / home is full with the partition / and / var, / was full. If you done a total partitionning a file system full (exept / or /var) give you the hand on the system to make place.
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:00 AM
10-22-2002 06:00 AM
Re: Why use several logical volumes on the root disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:02 AM
10-22-2002 06:02 AM
Solution1) In case you need to extend any file system in future, you could do it easily without disturbing the root file system (which is a risky task)
2) The file systems like /opt, /home, /tmp, /usr will be growing continuously with the usage of the system (new appl. install, new users, new programs etc). If you keep this seperate, you will have the flexibility of changing the sizes.
3) You could avoid a root file system full state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:03 AM
10-22-2002 06:03 AM
Re: Why use several logical volumes on the root disk?
There are many many reasons, depending on what kind of applications you are using. First of all you can use different types of filesystems and you have to have a /stand which will hold the kernel. /stand must be /hfs, but you can make the others vxfs or use online JFS which will allow you to increase decrease the size on the fly.
Also, it helps you keep static and dynamic filesystems seperate. /var is a dynamic filesystem but /usr is static. This also helps performance so the server isn't trying to write a bunch of data to the same volume that is trying to read data from or load libs from.
Another reason is if you are using NFS mounts in your environment, you wouldn't want to mount / on a remote server just to get access to your files that are under /home.
Those are just a few, I'm sure otheres will post more reasons for you.
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:03 AM
10-22-2002 06:03 AM
Re: Why use several logical volumes on the root disk?
1) system protection - filesystems like /tmp and /var are designed to grow without bound due to logging. If the filesystems are in the root partition unexpected growth will cause unexpected downtime (minimally an ungraceful reboot (TOC) to clear space).
2) different classes of service - for instance, normally everything on our root drive is _required_ to be mirrored (generally /, /var, /opt, /usr, etc.). On our main sw depot server, we separate /var/spool/sw, and we don't mirror it. It's large and static - there's not an issue with loss of data (it's taped and can be easily rebuilt). We do the same thing with some archive log partitions.
3) Performance - if you're running a big mail system for instance, I'd advise you to put /var/mail and /var/spool/mqueue, all on different spindles (different lvols, striped).
4) Expansion - let's say you've got a 9G internal drive (ok, so it's old) - you're on today's 11.x which wants nearly that size drive. I've had systems with /opt and /var on one disk, and /usr, / and /tmp on the boot drive - all set up due to expansion after the system was built.
Use of these techniques are system and situation specific. YMMV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:04 AM
10-22-2002 06:04 AM
Re: Why use several logical volumes on the root disk?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe906237a4bc6d611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:07 AM
10-22-2002 06:07 AM
Re: Why use several logical volumes on the root disk?
However, splitting the filesystems up generally makes for a system that is easier to maintain. My typical way to install an OS is to make a very small primary swap (256-512MB); oversize /stand and / by about 50% and then make the reminder of the filesystems relatively small. I then use OnlineJFS to grow the filesystems as needed. Often, you don't know the disk space requirements beforehand.
It's very common for /var to be split into several filesystems itself (e.g. /var/tmp/, /var/spool, /var/mail because filling var will clobber a system.)
Generally, the idea is to keep VG00 fairly cleanly and only for OS related files. That makes recovery with Ignite easy.
Probably the best reason to not put essentially everything in / is that there is no need for / to grow hardly at all. Once a system has stabilized (i.e. patches loaded, spooler up and running, ... ), / should essentially remain fixed in size. If you see it growing, something is very wrong. However, if / contains a bunch of other directories that are typically filesystems, you won't see this problem until it's too late.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 06:11 AM
10-22-2002 06:11 AM
Re: Why use several logical volumes on the root disk?
If you boot in single user mode, vg00 will not be activated and so /var, /usr and /tmp will not be mounted.
So, no /usr/bin nor /usr/local/bin.
Also a 100% full /tmp will not bother you.
In the mode, you should mount these filesystems manually with great care.. because you have a reason/problem at such a moment.
Therefor it is not advisable to use only / and /var.
And besides, if you use only a / and /var, where did you leave the dump&swap space, do you have a /dev/vg00/lvol2 ?
Regards,
Ceesjan