- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Customizing device files for 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
04-28-2004 11:44 PM
04-28-2004 11:44 PM
Suppose I add a SCSI controller to my HP9000 servers. Is there a way to customize the device files of the disks connected to this controller.
For exemple, I would like that my controller number is 10, and the device files are
/dev/dsk/c10txdy
Please advise
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 11:49 PM
04-28-2004 11:49 PM
Re: Customizing device files for disk
I've used the attached procedure to build my own device files for tape devices. It seems like it might work just as well for disks.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 11:53 PM
04-28-2004 11:53 PM
Re: Customizing device files for disk
c10 - Card instance 10
tx - Target id
dy - LUN
OK It is upto HPUX to see which adapter first .. But I suppose this can be tackled.
I would try
man rmdev
man mksf
Regds,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 11:53 PM
04-28-2004 11:53 PM
Re: Customizing device files for disk
Now as far as x and y are concerned can be controlled by user but c10 is the instance number which is assigned by the SYstem.
To the best of my knowledge it is difficult or may be impossible to control the instance no.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 12:05 AM
04-29-2004 12:05 AM
Re: Customizing device files for disk
I also strongly feel that you might not be able to change the cXtydz numbers.
the t refers to the target device id and is your scsi id and depends on which slot the hard disk is connected (in case of hot swappable hard disk) and which scsi id it is set to (non hot swappable). the Lun number would normally be zero unless and until you are connecting to a raid array.
Thanks and Regards
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 12:21 AM
04-29-2004 12:21 AM
Solutionyou can tweak controller instance numbers in /etc/ioinit by using
ioinit -f infile -r
Search this forum for procedures on ioinit and how to create the infile,
I strongly recommend you make sure you have a good recovery tape before you start.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:01 AM
04-30-2004 01:01 AM
Re: Customizing device files for disk
Try this,
ioscan -fn | awk ' /fcparray/ { printf "%s %s %s\n", $3,$1,$2 } ' > /tmp/infile
isso irá criar um arquivo no formato :
this creates one file with this format ;
0/2/0/0.8.0.1.0 ext_bus 5
| | |----- HW_PATH
| |----- Class EXT_BUS
|--- Instance #
Device Disk = c5txdx
Change the last number (HW_PATH) of the file
0/2/0/0.8.0.1.0 ext_bus ----> 5 <----
Remove files /dev/dsk/c[5]* /dev/rdsk/c[5]*
#ioinit -f /tmp/infile
#shutdown -ry 0
Later boot
#ioscan -fn
#insf -e
Harrison M Lea