HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root Disk Setup
Operating System - HP-UX
1827243
Members
2258
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-13-2004 09:54 AM
04-13-2004 09:54 AM
Root Disk Setup
How many of you use the lvol1 to lvol8 to name your volumes on install. I wrote a script to automate the mirror process and just wanted to get an idea if its nessasary to have it search for the lvol names or hard code it. Otherwise finding the root swap is a pain, I am looking at a
#pvdisplay -v $ROOTDISK|grep -v current|grep -v stale|grep -v Name|awk {'print $1'}|cut -f 4 -d /
And then I am tring to avoid a tmp file for that out put and the such.
So how many of you have special names for the lvols? Save me a lot of trouble....
#pvdisplay -v $ROOTDISK|grep -v current|grep -v stale|grep -v Name|awk {'print $1'}|cut -f 4 -d /
And then I am tring to avoid a tmp file for that out put and the such.
So how many of you have special names for the lvols? Save me a lot of trouble....
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 10:11 AM
04-13-2004 10:11 AM
Re: Root Disk Setup
As far as VG00 lvols, I dont prefer customizing the name.
Learn What to do ,How to do and more importantly When to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 10:27 AM
04-13-2004 10:27 AM
Re: Root Disk Setup
Well, lvol1, lvol2, lvol3, ... is by far the most common but I know of a few whacko's who, for example, put everything except /stand and primary swap in /. There are no other LVOL's. It's even conceivable that / could also be the boot LVOL -- if / is configured as an hfs filesystem. So the rigorous solution requires that you do an lvlnboot -v and ask the system itself. After /stand, primary swap, and / are mirrored in that order the order of the other lvextends is not critical so a vgdisplay -v | grep "LV Name" should serve as a filter.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 10:30 AM
04-13-2004 10:30 AM
Re: Root Disk Setup
I should add that the way to avoid all this nonsense is to set standards as in "Thou shalt lay out boot disks thusly:" and then it is perfectly acceptable to hardcode LVOL names. That way, you always know, for example, that /usr is lvolxx. Of course, it is also necessary that said standards be adhered to ---- I find baseball bats to be useful for that.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP