<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mkfs error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497876#M216042</link>
    <description>Good trick! I never though to use symlink in case of device files.&lt;BR /&gt;Thanks John!&lt;BR /&gt;&lt;BR /&gt;But this mksf command should also work.</description>
    <pubDate>Fri, 04 Mar 2005 10:59:28 GMT</pubDate>
    <dc:creator>Laszlo Csizmadia</dc:creator>
    <dc:date>2005-03-04T10:59:28Z</dc:date>
    <item>
      <title>mkfs error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497872#M216038</link>
      <description>I have a SAN library visible for two HP-UX node.&lt;BR /&gt;I want to have the same special file to contorll the library on both nodes. (because DataProtector is clustered...)&lt;BR /&gt;node1$ ioscan -fnC autoch&lt;BR /&gt;Class     I  H/W Path      Driver S/W State   H/W Type     Description&lt;BR /&gt;=======================================================================&lt;BR /&gt;autoch    1  1/0/2/0/0.97.35.255.1.3.0  schgr  CLAIMED     DEVICE       HP      ESL9000 Series&lt;BR /&gt;                          /dev/rac/c13t3d0&lt;BR /&gt;node2$ ioscan -fnCautoch&lt;BR /&gt;Class     I  H/W Path      Driver S/W State   H/W Type     Description&lt;BR /&gt;=======================================================================&lt;BR /&gt;autoch    1  1/0/2/0/0.97.35.255.1.3.0  schgr  CLAIMED     DEVICE       HP      ESL9000 Series&lt;BR /&gt;&lt;BR /&gt;That's fine, so let's create a special file(c13t3d0) on node2:&lt;BR /&gt;node2$ mksf -v -H 1/0/2/0/0.97.35.255.1.3.0 /dev/rac/c13t3d0&lt;BR /&gt;mksf: Couldn't get dev number from "schgr" with options "p1": Parameter error.&lt;BR /&gt;mksf: Couldn't get dev number from "schgr" with options "p1b": Parameter error.&lt;BR /&gt;&lt;BR /&gt;Obviously "insf -e -Cautoch" works fine but it creates the /dev/rac/c17t3d0.&lt;BR /&gt;How to solve this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 04 Mar 2005 10:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497872#M216038</guid>
      <dc:creator>Laszlo Csizmadia</dc:creator>
      <dc:date>2005-03-04T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: mkfs error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497873#M216039</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check for the driver being in the kernel on this node&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;            Steve Steel</description>
      <pubDate>Fri, 04 Mar 2005 10:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497873#M216039</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-03-04T10:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: mkfs error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497874#M216040</link>
      <description>The driver is in the kernel:&lt;BR /&gt;node2$ lsdev 231&lt;BR /&gt;    Character     Block       Driver          Class&lt;BR /&gt;      231          29         schgr           autoch&lt;BR /&gt;&lt;BR /&gt;If it were not compiled in I couldn't create it with insf either.&lt;BR /&gt;BTW if I create the special file with insf the library works fine on node2.&lt;BR /&gt;E.g. mc command show the slots, etc...&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2005 10:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497874#M216040</guid>
      <dc:creator>Laszlo Csizmadia</dc:creator>
      <dc:date>2005-03-04T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: mkfs error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497875#M216041</link>
      <description>Since it created /dev/rac/c17t3d0 - why don't you just run a "mknod" command to create a device by the name you want with the same major and minor number as /dev/rac/c17t3d0 ?? This should fix you up...&lt;BR /&gt;ls -al /dev/rac/c17t3d0...&lt;BR /&gt;crw-------   1 bin        sys        231 0x082300 Aug 13  2002 /dev/rac/c9t3d1&lt;BR /&gt;mknod [name your node] c 231 0x083200&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just an FYI - The way I tackled this was different:&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Fri, 04 Mar 2005 10:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497875#M216041</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-04T10:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: mkfs error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497876#M216042</link>
      <description>Good trick! I never though to use symlink in case of device files.&lt;BR /&gt;Thanks John!&lt;BR /&gt;&lt;BR /&gt;But this mksf command should also work.</description>
      <pubDate>Fri, 04 Mar 2005 10:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkfs-error/m-p/3497876#M216042</guid>
      <dc:creator>Laszlo Csizmadia</dc:creator>
      <dc:date>2005-03-04T10:59:28Z</dc:date>
    </item>
  </channel>
</rss>

