- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: create a device file 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
09-02-2002 08:53 PM
09-02-2002 08:53 PM
I have a K-Class/HP-UX 10.20 connected to a disk array. One of the 2 GB disk has failed. I have replaced it with a good one.
The original device file name of the defective disk was c7t8d0.
After replacing the disk in the ioscan it shows claim but there is no device file attached to it.
I don't want to run "insf -e" as it will create the device file for the 2 GB disk but inturn it will change the permission/ownership of the other device files.
c7t8d0 exists in /dev/dsk and /dev/rdsk but they are not able to access the replaced disk.
I want to create the new device file c7t8d0 for the replaced disk w/o disturbing the other device files in the /dev.
I think it can be done with mksf but I am not getting the exact syntax.
ioscan o/p
disk 18 10/4/12.8.0 disc3 CLAIMED DEVICE SEAGATE ST32272WC
Can you help me to get the correct syntax?
Or any other method of creating the device file for the replaced 2 GB disk.
Thanks,
Raje.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 09:13 PM
09-02-2002 09:13 PM
Re: create a device file for disk
insf -e -H 10/4/12.8.0
With the -H it will only recreate the devices for that h/w path.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 09:13 PM
09-02-2002 09:13 PM
Re: create a device file for disk
You can use "insf -H 10/4/12.8.0" which will only create the device file for that disk, BUT......
Strange that the disk now has a different address. The SCSI addresses seems to be set correctly in the disk (8).
To be honest I would have expected that the device files would access the disk.
Could you provide a full output of:
ll /dev/dsk
ioscan -fnkC disk
Thanks,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 09:56 PM
09-02-2002 09:56 PM
Re: create a device file for disk
I am unable to create the device file with
# insf -e -H 10/4/12.8.0
insf: Installing special files for disc3 instance 18 address 10/4/12.8.0
insf: Couldn't get dev number from "disc3" with options "": Parameter error.
insf: Couldn't get dev number from "disc3" with options "": Parameter error.
insf: Couldn't get dev number from "disc3" with options "": Parameter error.
insf: Couldn't get dev number from "disc3" with options "": Parameter error.
Enclosed are the details asked.
Thanks,
Raje.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 03:01 AM
09-03-2002 03:01 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:36 AM
09-03-2002 06:36 AM
Re: create a device file for disk
insf -e -H 10/4/12.8.0
Man insf. The -H will hit just the hardware path listed in the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 08:36 PM
09-03-2002 08:36 PM
Re: create a device file for disk
Seems the system has got confused over paths and device files, maybe because of a SCSI address problem.
Can you try a reboot of the system (if you haven't already done so) and pass on the results?
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 01:06 AM
09-04-2002 01:06 AM
Re: create a device file for disk
If you want to create the device file for that disk, you can run:
insf -e -C disk -I 18
OR
insf -H 10/4/12.8.0
Cheers,
Joseph.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 01:22 AM
09-04-2002 01:22 AM
Re: create a device file for disk
Just one question - does anybody bother to read what replies a message has already had before adding their comments?
I always check what has been said so that I'm not repeating information or so that I can enhance the help already given.
Seems to me there may be a few people out there who "jump on the bandwagon" to earn themselves a few extra points!
Ollie.