- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rename disk device file
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
тАО11-21-2006 10:15 PM - last edited on тАО03-16-2014 09:31 PM by Lisa198503
тАО11-21-2006 10:15 PM - last edited on тАО03-16-2014 09:31 PM by Lisa198503
rename disk device file
i have tw0 rp3440 (11iv1) connected to an MSA1000(one switch, one controller) to form a cluster.
i have configured one LUN on the MSA array.
this LUN doesn't have the same device file on hpux servers
i'd like to change the device file on server2 from c8t0d0 to c6t0d0.
How to do ?
any help is apreciated
P.S. This thread has been moved from Disk to HP-UX > sysadmin. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 03:58 AM
тАО11-22-2006 03:58 AM
Re: rename disk device file
The important information is the major and minor numbers
If you do an ll on /dev/dsk/c8t0d0 you'll see the the major and minor numbers, these relate to the scsi path instance and the LUN number on the path for the disk.
In this case (by default) c8t0d0 means LUN 0 on scsi path #8. You really cannot easily change the instance number for a path, although it could be done. you could of course change the name of the device so that c6t0d0 really refers to instance 8 but that would be confusing and you'd need to change all the other stuff that knows the path by the old name, for example, LVM knows its disks by their device names.
Why is it a problem to have each server know a LUN by a different name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 07:50 AM
тАО11-22-2006 07:50 AM
Re: rename disk device file
#mksf -C disk -H
#mksf -C disk -H
Example:
#mksf -C disk -H 0/0/10/0/0.1.0.39.0.1.0 -I 62 /dev/dsk/c8t1d0
#mksf -C disk -H 0/0/10/0/0.1.0.39.0.1.0 -I 62 -r /dev/rdsk/c8t1d0