<?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 Extra device files in /dev/dsk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646414#M44934</link>
    <description>While writing a script, I noticed there are some device files in /dev/dsk that don't seem to be associated with any disk/luns?&lt;BR /&gt;&lt;BR /&gt;For instance:&lt;BR /&gt;# ls /dev/dsk&lt;BR /&gt;c1t2d0  c3t2d0  c5t0d1  c5t1d1  c6t0d1  c6t1d1&lt;BR /&gt;c2t2d0  c5t0d0  c5t1d0  c6t0d0  c6t1d0&lt;BR /&gt;&lt;BR /&gt;# ioscan -funC disk&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      0  0/0/1/1.2.0  sdisk CLAIMED     DEVICE       SEAGATE ST39103LC&lt;BR /&gt;                         /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk      1  0/0/2/0.2.0  sdisk CLAIMED     DEVICE       SEAGATE ST39102LC&lt;BR /&gt;                         /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;disk      2  0/0/2/1.2.0  sdisk CLAIMED     DEVICE       HP      DVD-ROM 6x/32x&lt;BR /&gt;                         /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      4  0/4/0/0.1.0  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c5t1d0   /dev/rdsk/c5t1d0&lt;BR /&gt;disk      8  0/4/0/0.1.1  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c5t1d1   /dev/rdsk/c5t1d1&lt;BR /&gt;disk      5  0/7/0/0.0.0  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c6t0d0   /dev/rdsk/c6t0d0&lt;BR /&gt;disk      9  0/7/0/0.0.1  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c6t0d1   /dev/rdsk/c6t0d1&lt;BR /&gt;&lt;BR /&gt;As you can see, c5t0d0, c5t0d1, c6t1d0, and c6t1d1 don't seem to have a disk/lun associated with them. &lt;BR /&gt;&lt;BR /&gt;If these are no longer needed, what is the correct way to remove them, or should they be removed?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Greg&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Jan 2002 16:09:57 GMT</pubDate>
    <dc:creator>Greg Stark_1</dc:creator>
    <dc:date>2002-01-16T16:09:57Z</dc:date>
    <item>
      <title>Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646414#M44934</link>
      <description>While writing a script, I noticed there are some device files in /dev/dsk that don't seem to be associated with any disk/luns?&lt;BR /&gt;&lt;BR /&gt;For instance:&lt;BR /&gt;# ls /dev/dsk&lt;BR /&gt;c1t2d0  c3t2d0  c5t0d1  c5t1d1  c6t0d1  c6t1d1&lt;BR /&gt;c2t2d0  c5t0d0  c5t1d0  c6t0d0  c6t1d0&lt;BR /&gt;&lt;BR /&gt;# ioscan -funC disk&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      0  0/0/1/1.2.0  sdisk CLAIMED     DEVICE       SEAGATE ST39103LC&lt;BR /&gt;                         /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk      1  0/0/2/0.2.0  sdisk CLAIMED     DEVICE       SEAGATE ST39102LC&lt;BR /&gt;                         /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;disk      2  0/0/2/1.2.0  sdisk CLAIMED     DEVICE       HP      DVD-ROM 6x/32x&lt;BR /&gt;                         /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk      4  0/4/0/0.1.0  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c5t1d0   /dev/rdsk/c5t1d0&lt;BR /&gt;disk      8  0/4/0/0.1.1  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c5t1d1   /dev/rdsk/c5t1d1&lt;BR /&gt;disk      5  0/7/0/0.0.0  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c6t0d0   /dev/rdsk/c6t0d0&lt;BR /&gt;disk      9  0/7/0/0.0.1  sdisk CLAIMED     DEVICE       HP      C5447A&lt;BR /&gt;                         /dev/dsk/c6t0d1   /dev/rdsk/c6t0d1&lt;BR /&gt;&lt;BR /&gt;As you can see, c5t0d0, c5t0d1, c6t1d0, and c6t1d1 don't seem to have a disk/lun associated with them. &lt;BR /&gt;&lt;BR /&gt;If these are no longer needed, what is the correct way to remove them, or should they be removed?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Greg&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2002 16:09:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646414#M44934</guid>
      <dc:creator>Greg Stark_1</dc:creator>
      <dc:date>2002-01-16T16:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646415#M44935</link>
      <description>Removing device files ..&lt;BR /&gt;&lt;BR /&gt;# rmsf /dev/dsk/c5t0d0&lt;BR /&gt;# rmsf /dev/rdsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;You can also double check with ..&lt;BR /&gt;&lt;BR /&gt;# /etc/diskinfo /dev/rdsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;before you proceed with the removal</description>
      <pubDate>Wed, 16 Jan 2002 16:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646415#M44935</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-16T16:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646416#M44936</link>
      <description>unless there is a huge need to remove them, I would leave them.  If you are having problems with a script that needs all the disks, I would either use &lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab | grep dsk (give you all the disks in volume groups)&lt;BR /&gt;&lt;BR /&gt;or ioscan -funC disk | grep dsk | awk '{print $1}'  (or $2 depending on if you want charcter or raw devide)</description>
      <pubDate>Wed, 16 Jan 2002 16:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646416#M44936</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2002-01-16T16:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646417#M44937</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the small script I run to clean up the unwanted device files.&lt;BR /&gt;&lt;BR /&gt;cd /dev/dsk&lt;BR /&gt;for i in `ls`                  &lt;BR /&gt;do                             &lt;BR /&gt;P=`lssf $i |awk '{print $13}'` &lt;BR /&gt;if [ "$P" = "???" ]            &lt;BR /&gt;then                           &lt;BR /&gt;echo $i $P                     &lt;BR /&gt;rmsf /dev/dsk/$i               &lt;BR /&gt;rmsf /dev/rdsk/$i              &lt;BR /&gt;fi                             &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 16 Jan 2002 16:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646417#M44937</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-16T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646418#M44938</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If it is not necessary, you may leave the /dev/dsk files as it is. You have to be careful while removing any files from /dev directory. Double check the output of 'ioscan -fn', diskinfo etc.&lt;BR /&gt;&lt;BR /&gt;You can use rmsf (remove special file) to remove these files. check man rmsf and good luck !&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Wed, 16 Jan 2002 16:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646418#M44938</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-16T16:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extra device files in /dev/dsk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646419#M44939</link>
      <description>HI&lt;BR /&gt;The unwanted device files can be safely removed.&lt;BR /&gt;The files in /dev/dsk/* that return with "???" as their path instead of a valid path can be removed.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Wed, 16 Jan 2002 16:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extra-device-files-in-dev-dsk/m-p/2646419#M44939</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2002-01-16T16:54:52Z</dc:date>
    </item>
  </channel>
</rss>

