- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sizing Root Volume Group
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
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
тАО04-18-2006 01:06 AM
тАО04-18-2006 01:06 AM
Sizing Root Volume Group
I'm currently installing my first new server a rp 3440.
It will be my ignite server as well as my SD-UX server and maybe even an LDAP server if I ever figure that out.
My question is, I have the relative luxury of a pair of 70Gb internal drives to create the root vg using Mirrordisk/UX. All other storage will be on a EVA via Fibre cards.
What I want to know is how big to size the various bits of the root vg.
/
/stand
/var
/usr
/tmp
/opt
/home
Is it worth sizing them to use the whole 70 GB if so where to use the space? Or should I just leave xGb unused and not worry about it?
Your thoughts as ever would be appreciated.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:11 AM
тАО04-18-2006 01:11 AM
Re: Sizing Root Volume Group
You might just as well use up the whole 70GB - you don't want to mix anything else in with your root VG! You can be very generous with /var, /home, /usr, /opt and your swap space and it should make your life easier later on. I would also leave some space unused just in case you need to expand a file system later on.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:17 AM
тАО04-18-2006 01:17 AM
Re: Sizing Root Volume Group
Cheers Pete, my thoughts too in many ways. I was thinking use 50Gb and maybe keep 20 back in reserve in case I may any huge miscalculations on file system sizes at this stage.
The box has 8Gb of memory so I guess I'll have to make /stand big enough to take a full dump and swap will need to be reasonably large too. Just wondered how you guys with way more experience that I would divvy up the space between the filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:17 AM
тАО04-18-2006 01:17 AM
Re: Sizing Root Volume Group
Cheers Pete, my thoughts too in many ways. I was thinking use 50Gb and maybe keep 20 back in reserve in case I may any huge miscalculations on file system sizes at this stage.
The box has 8Gb of memory so I guess I'll have to make /stand big enough to take a full dump and swap will need to be reasonably large too. Just wondered how you guys with way more experience than I would divvy up the space between the filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:26 AM
тАО04-18-2006 01:26 AM
Re: Sizing Root Volume Group
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:43 AM
тАО04-18-2006 01:43 AM
Re: Sizing Root Volume Group
Here is how I have recently set up a pair of rp4440's with 8GB RAM and the 73GB internal disks:
/dev/vg00/lvol3 524288 141912 379432 27% /
/dev/vg00/lvol1 314736 43672 239584 15% /stand
/dev/vg00/lvol8 4194304 1672024 2502632 40% /var
/dev/vg00/lvol7 4194304 1450072 2722856 35% /usr
/dev/vg00/lvol6 2097152 12560 2070280 1% /tmp
/dev/vg00/lvol5 4194304 2563024 1618600 61% /opt
/dev/vg00/lvol4 2097152 144504 1937560 7% /home
I have 2GB of primary swap (/dev/vg00/lvol2) and I have the 'swapmem_on' kernel parameter set to 1.
You don't necessarily need to worry about having a 1:1 ratio of memory to dump space anymore. There is a package available for 11.11 and 11.23 (I think) called compressed dump that can help out in that area.
Info on that is available here:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CDUMP11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:45 AM
тАО04-18-2006 01:45 AM
Re: Sizing Root Volume Group
My cardinall rule is to constrain vg00 to *only* the logical volumes standardly defined for vg00.
Chapter-2 of the HP-UX 11i v[1-2] Installation and Update Guide offers a size guideline along with the percent utilization expected for installation of each operating environment type. THe sizes are fairly generous and lead to using about 12-17GB *not* including swap space.
Personally, I provide generous space to '/tmp' and '/var/tmp' particularly for the purposes of patch installation (i.e. using 'swcopy' to merge depots to minimize reboots, etc).
I setup an appropriate primary device swap space and then don't worry about how much un-utilized vg00 space I have. I'd rather grow a filesystem (e.g. /opt) later if I need to do so than to have nothing in reserve or have to shrink something.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:48 AM
тАО04-18-2006 01:48 AM
Re: Sizing Root Volume Group
If the system needs to write a crash dump to /var/adm/crash, having its own filesystem guarantees there is enough space for the dump even if /var has filled.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:57 AM
тАО04-18-2006 01:57 AM
Re: Sizing Root Volume Group
Although the default is for swap and dump to use the same space, it's dumb. Swap and dump have nothing to do with each other; moreover, swap should always be mirrored and dump should never be. If it is ever actually used, a separate dump space can be a big benefit in getting your machine rebooted because now the image does not have to be compressed and stored with a filesystem before the swapspace might actually be used. About the only concession to these large disks that I would make is expand / to perhaps 400-500MB and /stand to
300MB just to make sure that future upgrades
go well. The other filesystems are so easy to extend that they are not worth worrying about. I see nothing wrong with leaving huge amounts of unused space in vg00 --- just don't be tempted to use vg00 for anything other than the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 11:18 AM
тАО04-18-2006 11:18 AM
Re: Sizing Root Volume Group
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 01:50 PM
тАО04-18-2006 01:50 PM
Re: Sizing Root Volume Group
you can consider disk space requirement from HPUX installation guide to decide file partitions.
http://docs.hp.com/en/5990-8144/5990-8144.pdf
look under page 36 for details.
Regards,
Sung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2006 02:45 PM
тАО04-18-2006 02:45 PM
Re: Sizing Root Volume Group
Thx
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2006 03:36 AM
тАО04-25-2006 03:36 AM
Re: Sizing Root Volume Group
Thanks for your opinions. In the end I went for the following
root@server:bdf
Filesystem kbytes Mounted on
/dev/vg00/lvol3 524288 /
/dev/vg00/lvol1 505392 /stand
/dev/vg00/lvol8 8388608 /var
/dev/vg00/lvol9 10485760 /var/adm/crash
/dev/vg00/lvol7 4194304 /usr
/dev/vg00/lvol6 4194304 /tmp
/dev/vg00/lvol5 4194304 /opt
/dev/vg00/lvol4 4194304 /home
I'm sure there are better setups and other things to consider, but it's all about learning through experimentation isn't it?
Thanks