- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mkfs error
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
03-04-2005 02:05 AM
03-04-2005 02:05 AM
I want to have the same special file to contorll the library on both nodes. (because DataProtector is clustered...)
node1$ ioscan -fnC autoch
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
autoch 1 1/0/2/0/0.97.35.255.1.3.0 schgr CLAIMED DEVICE HP ESL9000 Series
/dev/rac/c13t3d0
node2$ ioscan -fnCautoch
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
autoch 1 1/0/2/0/0.97.35.255.1.3.0 schgr CLAIMED DEVICE HP ESL9000 Series
That's fine, so let's create a special file(c13t3d0) on node2:
node2$ mksf -v -H 1/0/2/0/0.97.35.255.1.3.0 /dev/rac/c13t3d0
mksf: Couldn't get dev number from "schgr" with options "p1": Parameter error.
mksf: Couldn't get dev number from "schgr" with options "p1b": Parameter error.
Obviously "insf -e -Cautoch" works fine but it creates the /dev/rac/c17t3d0.
How to solve this?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 02:17 AM
03-04-2005 02:17 AM
Re: mkfs error
Check for the driver being in the kernel on this node
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 02:23 AM
03-04-2005 02:23 AM
Re: mkfs error
node2$ lsdev 231
Character Block Driver Class
231 29 schgr autoch
If it were not compiled in I couldn't create it with insf either.
BTW if I create the special file with insf the library works fine on node2.
E.g. mc command show the slots, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 02:24 AM
03-04-2005 02:24 AM
Solutionls -al /dev/rac/c17t3d0...
crw------- 1 bin sys 231 0x082300 Aug 13 2002 /dev/rac/c9t3d1
mknod [name your node] c 231 0x083200
now, just do an ls -al on the special file you just created. The major and minor numbers should match the one that the mksf created for the device. Now, you can proceed to use the device as you wanted.
Just an FYI - The way I tackled this was different:
for every tape device on every server on the SAN, I created a symbolic link naming the drive: D1, D2, D3, D4, etc linked to the real device names. Then, when I set up my devices in DataProtector - I only tell the systems about devices via the symbolic links, not the real device interface names. (That's the tape drives).
I did similar for the autochanger on both servers in the cluster, pointing DataProtector to /dev/autochanger instead of /dev/rac/cxtxdx. This also has the benefit of leaving a trail of sorts... to see what's linked to where.. all I have to do is "ls -al /dev | grep ^l " to see what links what devices to where.
And, just to be sure, make a backup of the /dev directory somewhere (use cpio - not tar), so that if things change on you (and they probably will), you can see what you had to put them back. This can/will happen if things get moved around in the tape library/SAN interconnects and not put back the same exact way. This can also happen if pieces of the SAN go down (lines, gbics, drives, robots) and reboot your server(s) - they will try to "fix" everything for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 02:59 AM
03-04-2005 02:59 AM
Re: mkfs error
Thanks John!
But this mksf command should also work.