<?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 Persistent Device Files recreation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283070#M474585</link>
    <description>I want to recreate the persistent device file to follow a certain counting. /dev/disk/disk14 then /dev/disk/disk15 then ...&lt;BR /&gt;&lt;BR /&gt;I present the disk from the storage then:&lt;BR /&gt;ioscan -fnNC disk&lt;BR /&gt;I get /dev/disk/disk21 then I &lt;BR /&gt;rmsf /dev/disk/disk21 &lt;BR /&gt;mksf -C disk -H hwpath -v /dev/disk/disk14&lt;BR /&gt;mksf -C disk -H hwpath -v -r /dev/rdisk/disk14&lt;BR /&gt;&lt;BR /&gt;All works fine, but when I "ll /dev/disk" I get all the devices with 1 bytes and the one create with mksf is 31 bytes. I tried mksf with -d esdisk but it says other information for the drive is not there.&lt;BR /&gt;&lt;BR /&gt;Any idea why?</description>
    <pubDate>Wed, 25 May 2011 16:44:23 GMT</pubDate>
    <dc:creator>Jacky Wing</dc:creator>
    <dc:date>2011-05-25T16:44:23Z</dc:date>
    <item>
      <title>Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283070#M474585</link>
      <description>I want to recreate the persistent device file to follow a certain counting. /dev/disk/disk14 then /dev/disk/disk15 then ...&lt;BR /&gt;&lt;BR /&gt;I present the disk from the storage then:&lt;BR /&gt;ioscan -fnNC disk&lt;BR /&gt;I get /dev/disk/disk21 then I &lt;BR /&gt;rmsf /dev/disk/disk21 &lt;BR /&gt;mksf -C disk -H hwpath -v /dev/disk/disk14&lt;BR /&gt;mksf -C disk -H hwpath -v -r /dev/rdisk/disk14&lt;BR /&gt;&lt;BR /&gt;All works fine, but when I "ll /dev/disk" I get all the devices with 1 bytes and the one create with mksf is 31 bytes. I tried mksf with -d esdisk but it says other information for the drive is not there.&lt;BR /&gt;&lt;BR /&gt;Any idea why?</description>
      <pubDate>Wed, 25 May 2011 16:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283070#M474585</guid>
      <dc:creator>Jacky Wing</dc:creator>
      <dc:date>2011-05-25T16:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283071#M474586</link>
      <description>&amp;gt;&amp;gt; when I "ll /dev/disk" I get all the devices with 1 bytes and the one create with mksf is 31 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you show us the "ll" output?</description>
      <pubDate>Wed, 25 May 2011 17:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283071#M474586</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-05-25T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283072#M474587</link>
      <description>Hi Jacky:&lt;BR /&gt;&lt;BR /&gt;Sample Persistent Device file list:&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x00001f Apr 25 09:42 disk338&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000020 Apr 25 09:42 disk339&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000021 Apr 25 09:42 disk340&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000022 Apr 25 09:42 disk341&lt;BR /&gt;&lt;BR /&gt;Sample Legacy Device file list:&lt;BR /&gt;&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x0b0000 Apr 19 14:57 c11t0d0&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x0c5700 Apr 25 09:33 c12t5d7&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x0c6000 Apr 25 09:33 c12t6d0&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x0c6100 Apr 25 09:33 c12t6d1&lt;BR /&gt;&lt;BR /&gt;#insf -L -v&lt;BR /&gt;insf: Legacy mode is enabled&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2011 08:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283072#M474587</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2011-05-26T08:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283073#M474588</link>
      <description>You rae looking at the wrong column... the 2nd column on your "ls -l" shows the device file size (1 byte in both cases), the 5th column shows the device major number for the block device (you are looking in /dev/dsk and /dev/disk):&lt;BR /&gt;&lt;BR /&gt;#lsdev | grep sdisk&lt;BR /&gt;       13           1         esdisk          disk&lt;BR /&gt;      188          31         sdisk           disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So these are correct... if you look in /dev/rdsk and /dev/rdisk you will no doubt see 13 and 188 in these columns.&lt;BR /&gt;&lt;BR /&gt;So this is correct - do you still have a problem?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 26 May 2011 08:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283073#M474588</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2011-05-26T08:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283074#M474589</link>
      <description>ll output:&lt;BR /&gt;&lt;BR /&gt;brw-rw-rw-   1 bin        sys         31 0x0e0400 May 26 11:15 disk14&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000013 May 2 15:42 disk2_p1&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000014 May 2 15:42 disk2_p2&lt;BR /&gt;brw-r-----   1 bin        sys          1 0x000015 May 2 15:42 disk2_p3&lt;BR /&gt;&lt;BR /&gt;crw-rw-rw-   1 bin        sys        188 0x060400 May 26 11:19 disk14&lt;BR /&gt;crw-r-----   1 bin        sys         13 0x000013 May 2 16:26 disk2_p1&lt;BR /&gt;crw-r-----   1 bin        sys         13 0x000014 May 2 16:25 disk2_p2&lt;BR /&gt;crw-r-----   1 bin        sys         13 0x000015 May 2 15:44 disk2_p3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;why do I get a 31 next to the sys? &lt;BR /&gt;I am doing: mksf -C disk -H .... /dev/disk/disk14&lt;BR /&gt;&lt;BR /&gt;when I try: mksf -d esdisk -H .....&lt;BR /&gt;&lt;BR /&gt;I get: mksf: Couldn't find driver matching arguments&lt;BR /&gt;&lt;BR /&gt;why do I get 31 (next to sys) for the manually created /dev/disk device file instead of 1. &amp;amp; 188 for the manually created /dev/rdisk device file instead of 13?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2011 10:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283074#M474589</guid>
      <dc:creator>Jacky Wing</dc:creator>
      <dc:date>2011-05-26T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Device Files recreation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283075#M474590</link>
      <description>I found my error. I was using the legacy hwpath to create persistent device file. &lt;BR /&gt;when I use the persistent hwpath it works normally.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 26 May 2011 10:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/persistent-device-files-recreation/m-p/5283075#M474590</guid>
      <dc:creator>Jacky Wing</dc:creator>
      <dc:date>2011-05-26T10:32:12Z</dc:date>
    </item>
  </channel>
</rss>

