- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: devices file name
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
тАО01-20-2006 12:15 AM
тАО01-20-2006 12:15 AM
I have some problem.
i have DS25(Tru64 5.x) connecting to EVA 5000,
on EVA i make snapclon of this system and i need mount this snapclon on second DS25.
When EVA create snapclon and present to host, i do
hwmgr -scan scsi; and i can see /dev/disk/dskXXc COMPAQ HSV110 (C)COMPAQ bus-4-targ-0-lun-3.
All work ok, but i cant make script because on ever snapclon i have dskXX+1 device.
How i can do static name for disk device ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 01:04 AM
тАО01-20-2006 01:04 AM
Re: devices file name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 01:09 AM
тАО01-20-2006 01:09 AM
Re: devices file name
hwmgr v d
79: /dev/disk/dsk4c COMPAQ HSV110 (C)COMPAQ IDENTIFIER=2202
use
hwmgr v d |grep "IDENTIFIER=2202" |awk '{print $2}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 03:31 AM
тАО01-20-2006 03:31 AM
Re: devices file name
Since dskXX was created at previous snapclone and does not exist anymore and not in use. You can use hwmgr to delete it and then use
dsfmgr -m dskXX+1 dskXX
or, if you do not delete it with hwmgr, you can use:
dsfmgr -e dskXX+1 dskXX
So you can reuse dskXX in your scripts.
Rgds,
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 04:10 AM
тАО01-20-2006 04:10 AM
Re: devices file name
This device name change to dskXX+1 or no?
Can i reset this count to dsk1c w/o dsfmgr?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 04:25 AM
тАО01-20-2006 04:25 AM
Re: devices file name
Boris,
The snapclone contains pointers to the original boot dsk-name in /etc/sysconfigtab "swapdevice" and in /etc/fdmns/* domain links. These should be modified to point to dskXX.
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 04:51 AM
тАО01-20-2006 04:51 AM
Re: devices file name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2006 12:44 AM
тАО01-22-2006 12:44 AM
Re: devices file name
Can i disable automatic discovery disk devices on reboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2006 08:32 PM
тАО01-22-2006 08:32 PM
SolutionYou cannot disable autodiscovery of new units at boot-time, nor should you add dsk's manually with mknod or MAKEDEV on V5.1x
But, please read the dsfmgr manpage... in particular the purpose of the "-I" switch, it brings the device instance number back to the lowest possible number.
This feature has been introduced to V5.1B with patchkit#1 and in V5.1A with patchkit#5 and was in high demand by customer just for those sites that use snap/clone regulary.
Rgds,
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 04:19 PM
тАО01-23-2006 04:19 PM
Re: devices file name
But now i can't reset HWID on hwmgr :-)
my script:
hwmgr -delete -did 4
sleep 5
dsfmgr -v -I
sleep 3
hwmgr -scan scsi
sleep 3
mount -t advfs eva_domain#my_fs /clone