- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to rename disks in HP-UX 11iV3 / 11.31
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
тАО08-22-2007 08:52 PM
тАО08-22-2007 08:52 PM
How to rename disks in HP-UX 11iV3 / 11.31
is it possible to rename disks in 11.31? For example: disk45 to disk10 ?
I know this is possible in Tru64 with #dsfmgr.
But this tool is not implemented in HP-UX.
regards
-Holger Nieraad-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 08:59 PM
тАО08-22-2007 08:59 PM
Re: How to rename disks in HP-UX 11iV3 / 11.31
Disk names are diffrent in HP-UX than Tru64. If you will issue a ioscan -fnCdisk you will find disk name in format /dev/dsk/c#t#d#.
c# ├в The number of the controller to which the disk drive is attached (used on HP-UX systems)
t# and d# ├в The target ID and device number that constitute the address of the disk drive on the controller (used on HP-UX systems)
s2 ├в The HP-UX partition number on the boot disk drive (used on HP-UX 11i Version 1.5 systems)
http://forums1.itrc.hp.com/service/forums/postanswer.do?threadid=1155293&forumId=1&closedFlag=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 09:03 PM
тАО08-22-2007 09:03 PM
Re: How to rename disks in HP-UX 11iV3 / 11.31
Furthe disk can utilize in LVM or VxVM, there you can create logical partitions and name as per your choice.
http://docs.hp.com/en/B7961-90020/ch03s07.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 09:04 PM
тАО08-22-2007 09:04 PM
Re: How to rename disks in HP-UX 11iV3 / 11.31
So, i find disk45 and would rename it to disk10.
# ioscan -funC disk -N
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 10 64000/0xfa00/0x0 esdisk CLAIMED DEVICE TEAC DW-224E
/dev/disk/disk10 /dev/rdisk/disk10
disk 11 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk11 /dev/rdisk/disk11
/dev/disk/disk11_p1 /dev/rdisk/disk11_p1
/dev/disk/disk11_p2 /dev/rdisk/disk11_p2
/dev/disk/disk11_p3 /dev/rdisk/disk11_p3
disk 45 64000/0xfa00/0x15 esdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/disk/disk45 /dev/rdisk/disk45
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 05:00 AM
тАО08-24-2007 05:00 AM
Re: How to rename disks in HP-UX 11iV3 / 11.31
You may want to use the command io_redirect_dsf (1M). See http://docs.fc.hp.com/en/B2355-60130/io_redirect_dsf.1M.html
Example:
io_redirect_dsf -d /dev/disk/disk23 -n /dev/disk/disk26
Marie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 08:27 AM
тАО08-24-2007 08:27 AM
Re: How to rename disks in HP-UX 11iV3 / 11.31
See ioinit(1m).
Marie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 06:19 AM
тАО08-25-2007 06:19 AM
Re: How to rename disks in HP-UX 11iV3 / 11.31
Hi Holger,
See the 11iv3 LVM management also few things to consider as well (see steps 1-10)
http://docs.hp.com/en/5991-6481/ch04s09.html
WK
please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2007 07:02 AM
тАО08-26-2007 07:02 AM
Re: How to rename disks in HP-UX 11iV3 / 11.31
Disk renaming procedures, which are really instance re-numbering procedures have limited ability to change the name's of disks.
However if all the disks in your system were present at first install, you are unlikely to get meaningful change from this risky procedure.
Far better than that is using lvcreate -n name to name logical volumes in a fashion that you prefer.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2007 11:06 PM
тАО08-26-2007 11:06 PM
Re: How to rename disks in HP-UX 11iV3 / 11.31
io_redirect_dsf -d /dev/disk/disk23 -n /dev/disk/disk26 works only, when dsf (here 26) is present.
In my case it was not, and i try it with ioinit -f -> reboot. And this works.
Thanks for all hints in this case
-Holger-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 09:02 PM
тАО08-29-2007 09:02 PM
Re: How to rename disks in HP-UX 11iV3 / 11.31
Works fine.
-Holger-