- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to make alias of device file on hp-ux 11.1...
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
тАО06-10-2009 08:39 PM
тАО06-10-2009 08:39 PM
for instance:
in node A, lun0 detected with /dev/dsk/c6t0d0
in node B, lun0 detected with /dev/dsk/c8t0d0
I want to add or make alias of /dev/dsk/c8t0d0 to /dev/dsk/c6t0d0 in node B, so the device file of lun0 on both node is the same.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 09:02 PM
тАО06-10-2009 09:02 PM
Re: How to make alias of device file on hp-ux 11.11 ?
You can change it by editing the ioconfig file ,You can refer the thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1244695523685+28353475&threadId=475027
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 09:13 PM
тАО06-10-2009 09:13 PM
Re: How to make alias of device file on hp-ux 11.11 ?
i hace ever do this but im forget. no need to reboot the server. ioinit is replace all hardware.. I just want to add device file in some disk, not to all disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 09:23 PM
тАО06-10-2009 09:23 PM
Re: How to make alias of device file on hp-ux 11.11 ?
Then try creating special file on both node
I believe the below command does that
mksf -C disk -H
and give the newly created device file for RAC
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 09:54 PM
тАО06-10-2009 09:54 PM
Re: How to make alias of device file on hp-ux 11.11 ?
thx for your response.
i just tried with command mksf, here is:
mksf -C disk -H 0/4/2/0.134.77.0.0.6.5 -I 109 -v /dev/rdsk/c80t6d5. is it true ?
fromioscan output:
disk 109 0/4/2/0.134.77.0.0.6.5 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c40t6d5 /dev/dsk/c80t6d5 /dev/rdsk/c40t6d5 /dev/rdsk/c80t6d5
new device file are /dev/dsk/c80t6d5 & /dev/rdsk/c80t6d5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 10:49 PM
тАО06-10-2009 10:49 PM
Solutionmksf -C disk -H 0/4/2/0.134.77.0.0.6.5 -I 109 -v /dev/rdsk/c80t6d5. is it true ?
fromioscan output:
disk 109 0/4/2/0.134.77.0.0.6.5 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c40t6d5 /dev/dsk/c80t6d5 /dev/rdsk/c40t6d5 /dev/rdsk/c80t6d5
new device file are /dev/dsk/c80t6d5 & /dev/rdsk/c80t6d5
I wont recommanded you to map the device file to a different CTD number ..rather you can make a device file on both node something like
/dev/rdsk/ask_disk1
BTW I dont see the -r option in you mksf command
do it like this on both nodes
#mksf -C disk -H 0/4/2/0.134.77.0.0.6.5 -I 109 -v /dev/dsk/asm_disk1
# mksf -C disk -H 0/4/2/0.134.77.0.0.6.5 -I 109 -v -r /dev/rdsk/asm_disk1
ASM uses the raw disk so -r is necessary option
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 10:59 PM
тАО06-10-2009 10:59 PM
Re: How to make alias of device file on hp-ux 11.11 ?
You can also use mknod command to create device files
#ll /dev/rdsk/cxtydz
then
#mknod /dev/rdsk/asm_disk_raw c
eg : mknod /dev/rdsk/asm_disk_raw c 188 0x010000
#change the permission
#chown bin:sys /dev/rdsk/asm_disk_raw
(in case of rac it will be oracle:dba)
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 11:40 PM
тАО06-10-2009 11:40 PM
Re: How to make alias of device file on hp-ux 11.11 ?
use mksf or mknod!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 11:49 PM
тАО06-10-2009 11:49 PM
Re: How to make alias of device file on hp-ux 11.11 ?
Both will give you the same out put in fact..
The only difference i could see is, you may need to change the permission for the newly created deice file in case if you are creating it with mknod
I hope you have replaced the newly created device file ( ctd number) with some other name like /dev/rdsk/ask_disk
Rgds
Johnson