- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change instance number of current VG00
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
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-03-2008 08:54 AM
тАО04-03-2008 08:54 AM
Itanium rx3600 + sas controller with disks (vg00) and fiber storage
While igniting this new box, it was attached with SAS disks and has connection to SAN storage via fiber.
This is the result:
$ /usr/sbin/ioscan -fnkCext_bus
Class I H/W Path Driver S/W State H/W Type Description
==================================================================================
ext_bus 0 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED INTERFACE USB SCSI Stack Adaptor
ext_bus 1 0/1/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt1
ext_bus 2 0/1/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt2
ext_bus 3 0/3/1/0.1.0.239.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
ext_bus 4 0/3/1/0.1.0.255.14 fcd_vbus CLAIMED INTERFACE FCP Device Interface
ext_bus 7 0/4/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface
ext_bus 8 0/4/2/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface
ext_bus 5 0/7/1/0.1.8.239.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
ext_bus 6 0/7/1/0.1.8.255.14 fcd_vbus CLAIMED INTERFACE FCP Device Interface
as you can see, the sequence of instance numbers go like:
first USB devices, then FCP, then SAS.
What I want is, it that the root disk (SAS) to have instance number 3 and 4 so that the device names will be c3t0d0...
I know i can use ioscan to prepare a mapfile, manualy change instance numbers of ext_bus.
delete /etc/ioconfig , /stand/ioconfig and reboot in single-user mode to force to generate a new ioconfig.
then I run /sbin/ioinit -f mapfile -r
hope that will force the instance numbes will be swapped, and the device files of vg00 disks will changed too
but it's not working as I want to. I must have forgotten something.
do I need to rmsf everything?
Delete /dev/rdsk, /dev/dsk?
Some guideline will be great, thanks in advance.
William
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 12:16 PM
тАО04-03-2008 12:16 PM
Re: Change instance number of current VG00
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1198301
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 01:34 AM
тАО04-04-2008 01:34 AM
Re: Change instance number of current VG00
But my actual question is:
How to re-confige the VG00
using ioinit, i changed the interface for SAS controller (where root disk attached)
from 5 to 3, so my root disk will change from
c5t0d0 to c3t0d0.
I think I need to vgexport VG00, rm /dev/dsk/* /dev/rdsk/*
and reboot again in lm mode to rebuild to VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 03:48 AM
тАО04-04-2008 03:48 AM
Re: Change instance number of current VG00
If you want to update the new device file on /etc/lvmtab,
you could move the /etc/lvmtab and run vgscan -pv
If it doesn't update the work, you could create map file and vgimport in maitenance mode
Best Regards
Ramesh S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 05:07 AM
тАО04-04-2008 05:07 AM
Solution"Then I run /sbin/ioinit -f mapfile -r
hope that will force the instance numbes will be swapped, and the device files of vg00 disks will changed too"
With HP-UX 11.23 or lower, it will not. Starting from HP-UX 11.31, device file names will not change even if you modify hardware instanciation and if you use new DSF but legacy files.
Assuming you are working with 11.23, you must import vg00 with new device file names. Here is a general guide :
- boot in maintenance mode (-lm)
- vgexport -m vg00.map vg00
- ioscan
- insf -e
- locate the new device file name for system disk. Assuming this name is now /dev/dsk/c3t0d0 ...
- mkdir /dev/vg00
- mknod /dev/vg00/group c 64 0x000000
- vgimport -m vg00.map vg00 /dev/dsk/c3t0d0s2
- vgchange -a y vg00
- mountall (errors on other vg than vg00, but doesn't matter)
- su - root
- lvlnboot -R (check with lvlnboot -v)
- setboot -p HardwarePathOfSystemDisk (can get it with lssf /dev/dsk/c3t0d0)
- sync;sync;reboot -r
It should be better now
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 07:13 AM
тАО04-04-2008 07:13 AM
Re: Change instance number of current VG00
thanks