- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- _hp_root_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
01-20-2004 02:53 AM
01-20-2004 02:53 AM
What is the selection rule ? Is it according to scsi-id/controller or the hardware path?
Looking at the different size of disks on one machine of mine, I would like to know some ways to have controls on it.
Jun Z
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:57 AM
01-20-2004 02:57 AM
Re: _hp_root_disk
I couldn't quite well get the context of your question. If you are referring to lvm order it's the way the disks are added into /etc/lvmtab. Then the boot path determines who disk to boot from.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 02:59 AM
01-20-2004 02:59 AM
Re: _hp_root_disk
It is the hardware path ( this includes the SCSI id at the end), you can alter this info with ioinit ( man ioinit ). But this info normally is stable.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:00 AM
01-20-2004 03:00 AM
Re: _hp_root_disk
These can be set to any valid boot device regardless of the controller slot or SCSI ID.
HP does not follow the stupid PC convention of looking for SCSI ID 0 -- which was a bad choice because under SE-SCSI, 0 was the lowest priority device. The smart play would have been to look for 6 -- the highest after the controller itself (7).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:27 AM
01-20-2004 03:27 AM
Re: _hp_root_disk
I have an E35 with 5 disks on the same controller, and 56/52.0.0 is being used as the root disk, so I'am not sure if the pick is from high to low or vice versa (scsi id).
This has nothing to do with lvm.
Jun Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:36 AM
01-20-2004 03:36 AM
Re: _hp_root_disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:43 AM
01-20-2004 03:43 AM
Re: _hp_root_disk
What exactly are you trying to accomplish?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 04:20 AM
01-20-2004 04:20 AM
Re: _hp_root_disk
My apology if I didn't express it clearly.
Jun Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 04:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 06:41 AM
01-20-2004 06:41 AM
Re: _hp_root_disk
I looked at save_config script that makes the config files *if* this is what you are referring to.
Here is where the root disk is initialized. I am pasting only the lines that are appropriate.
root_disk=$(grep "^Root:" $lvlnboot_temp_file | awk ' { print $4 } '
This is part of find_root_disk function. Then it gets the hardware path of this disk by calling another function disk_to_path. Then it assigns it to _hp_root_disk
print -u4 "init _hp_root_disk=\"$root_hardware_path\""
So, it's nothing but from the output of lvnlboot which is decided by the order in which the PV appears in /etc/lvmtab
Similar procedure is there if the root disk is part of vxvm.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 07:04 AM
01-20-2004 07:04 AM
Re: _hp_root_disk
Sorry at this point I didn't do any research but shoot my question once it came upon me.
Jun Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 07:07 AM
01-20-2004 07:07 AM
Re: _hp_root_disk
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 07:15 AM
01-20-2004 07:15 AM
Re: _hp_root_disk
Jun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 07:45 AM
01-20-2004 07:45 AM
Re: _hp_root_disk
When you create a recovery archive using make_net_recovery or make_tape_recovery, a config file will be created using save_config command and the path to the root disk (as determined in my previous posts). When you restore the system using this image and if you do not interact (or take the defaults) OS will be recovered exactly on the same disk like it was before.
You can change the configuration by interacting with it. Like creating the whole disk configuration or changing the hardware path.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 08:10 AM
01-20-2004 08:10 AM
Re: _hp_root_disk
Jun Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 08:29 AM
01-20-2004 08:29 AM
Re: _hp_root_disk
You can reboot the system with the alternate path and see if _hp_root_disk gets changed after running save_config. It should if the output of lvlnboot gets changed.
-Sri