<?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: Removing file in /dev/rmt/ in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514421#M897775</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt;THanks, but I can not even do an ll on the filename, ie ll 0m.&lt;BR /&gt;&lt;BR /&gt;I can only do an ll and I get all the files listed, including the big bad one.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
    <pubDate>Fri, 06 Apr 2001 11:49:42 GMT</pubDate>
    <dc:creator>Nick D'Angelo</dc:creator>
    <dc:date>2001-04-06T11:49:42Z</dc:date>
    <item>
      <title>Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514419#M897773</link>
      <description>Something went wonky with my backups and a file, a big backup&lt;BR /&gt;                             file was created in the /dev/rmt directory which is called 0m. &lt;BR /&gt;&lt;BR /&gt;                             Careful, I have device files in that directory. How can I remove the&lt;BR /&gt;                             big file listed below? &lt;BR /&gt;&lt;BR /&gt;                             **** THIS ONE -rw------- 1 root sys 54345728 Apr 6 07:57&lt;BR /&gt;                             0m **** &lt;BR /&gt;                             crw-rw-rw- 2 bin bin 205 0x020080 Jan 22 2000 0mb &lt;BR /&gt;                             crw-rw-rw- 2 bin bin 205 0x020040 Jan 22 2000 0mn &lt;BR /&gt;                             crw-rw-rw- 2 bin bin 205 0x0200c0 Apr 5 03:22 0mnb &lt;BR /&gt;&lt;BR /&gt;                             My system is still up at this point in time, HPUX 10.20 on a D350. &lt;BR /&gt;                             Thanks,</description>
      <pubDate>Fri, 06 Apr 2001 11:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514419#M897773</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-06T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514420#M897774</link>
      <description>hey,&lt;BR /&gt;just rm the file.&lt;BR /&gt;It is not a special file and was caused by doing a dd if and of to a file not to a special file.  ie you did not have the special file 0m on your system when you did the dd to it.  If it was a special file it would have pointed to the h/w through the driver.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rm the file&lt;BR /&gt;then insf -eCtape -I 0&lt;BR /&gt;to recreate the 0m special file&lt;BR /&gt;&lt;BR /&gt;To remove special files, that are really special files use the rmsf command.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2001 11:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514420#M897774</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-04-06T11:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514421#M897775</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;THanks, but I can not even do an ll on the filename, ie ll 0m.&lt;BR /&gt;&lt;BR /&gt;I can only do an ll and I get all the files listed, including the big bad one.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
      <pubDate>Fri, 06 Apr 2001 11:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514421#M897775</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-06T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514422#M897776</link>
      <description>If you cannot easily remove it, you should try the following: &lt;BR /&gt;&lt;BR /&gt;# cd /dev/rmt&lt;BR /&gt;# rm -i *&lt;BR /&gt;&lt;BR /&gt;This will ask you for every single file in the directory whether you want it to be removed or not. Say "Y" if it is your big one.&lt;BR /&gt;&lt;BR /&gt;You can also run &lt;BR /&gt;&lt;BR /&gt;# ls -lb &lt;BR /&gt;&lt;BR /&gt;on the file to check for any special characters in the filename, which I think is the cause why you cannot simply list or remove it.&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Fri, 06 Apr 2001 11:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514422#M897776</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-04-06T11:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514423#M897777</link>
      <description>Heres a link to a post showing h 2 delete files  by inode number especially related to files that have lots of wierd chars in them&lt;BR /&gt;&lt;BR /&gt;Can you move the file to /tmp ?&lt;BR /&gt;..Then delete it?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x0c87dfe5920fd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x0c87dfe5920fd5118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Fri, 06 Apr 2001 11:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514423#M897777</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-04-06T11:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514424#M897778</link>
      <description>You may have a space or special character in the name: ls -b show show any special characters.  if it is just one/two special characters I usually delete them by ?0m or ??0m</description>
      <pubDate>Fri, 06 Apr 2001 11:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514424#M897778</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-04-06T11:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514425#M897779</link>
      <description>Hmm, rm -i * did NOT list the file to be removed.&lt;BR /&gt;&lt;BR /&gt;But the ls -lb did give me the (full) name of the file -&amp;gt; .\0100m.&lt;BR /&gt;&lt;BR /&gt;But, I can not ll or attempt to reference the file.</description>
      <pubDate>Fri, 06 Apr 2001 11:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514425#M897779</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-06T11:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514426#M897780</link>
      <description>Hello Nick,&lt;BR /&gt;&lt;BR /&gt;pretty unusual problem :-)&lt;BR /&gt;&lt;BR /&gt;Is the backup process done? Maybe something is still writing to that file and that's why you can't delete the file.&lt;BR /&gt;&lt;BR /&gt;But as mentioned above... there is no harm in rm'ing that file and then later using insf to recreate the device files.&lt;BR /&gt;&lt;BR /&gt;You can try the following commands:&lt;BR /&gt;&lt;BR /&gt;1) ls -i *&lt;BR /&gt;2) num &lt;INODENUM&gt; -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;Good luck ,&lt;BR /&gt;&lt;BR /&gt;Steffi Jones&lt;/INODENUM&gt;</description>
      <pubDate>Fri, 06 Apr 2001 12:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514426#M897780</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-04-06T12:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514427#M897781</link>
      <description>This is a really common side affect of attempting to write to the tape drive but using the wrong device name.&lt;BR /&gt;&lt;BR /&gt;A large file is created and can be removed with rm.  There is no other special procedure for removing these files.</description>
      <pubDate>Fri, 06 Apr 2001 12:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514427#M897781</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2001-04-06T12:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514428#M897782</link>
      <description>ll -i (to find the inode number) &lt;BR /&gt;&lt;BR /&gt;substitute the inode number in place of the # below; (be very careful with the syntax, it must be exactly correct) &lt;BR /&gt;&lt;BR /&gt;find . -xdev -inum # -exec ll {} \; &lt;BR /&gt;find . -xdev -inum # -exec rm -i {} \; &lt;BR /&gt;&lt;BR /&gt;(ref: Alex Glennie in link above)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2001 12:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514428#M897782</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-04-06T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514429#M897783</link>
      <description>Looks like you have just one special character there, using ls ?0m doesn't show the file?</description>
      <pubDate>Fri, 06 Apr 2001 12:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514429#M897783</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-04-06T12:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514430#M897784</link>
      <description>Alrighty then,&lt;BR /&gt;&lt;BR /&gt;My actions were as follows:&lt;BR /&gt;&lt;BR /&gt;cd /dev/rmt/&lt;BR /&gt;rm * (to get rid of all files)&lt;BR /&gt;I ran an ll and the file is still there.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2001 12:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514430#M897784</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-06T12:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514431#M897785</link>
      <description>Bill comes though.&lt;BR /&gt;&lt;BR /&gt;Thanks, file removed.&lt;BR /&gt;&lt;BR /&gt;You gotta love this forum.&lt;BR /&gt;&lt;BR /&gt;Many thanks to the participants, full marks to everyone.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
      <pubDate>Fri, 06 Apr 2001 12:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514431#M897785</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-06T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514432#M897786</link>
      <description>rm * will only get rid of files with "normal" characters in the begging.  Usually it won't delete your .* files etc.</description>
      <pubDate>Fri, 06 Apr 2001 12:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514432#M897786</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-04-06T12:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514433#M897787</link>
      <description>try rm -Rf&lt;BR /&gt;That's a bit disasterous..&lt;BR /&gt;you probably have a process accessing the file.&lt;BR /&gt;&lt;BR /&gt;Use the fuser command and check if the inode is in use</description>
      <pubDate>Fri, 06 Apr 2001 12:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514433#M897787</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-04-06T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514434#M897788</link>
      <description>cd /dev/rmt/&lt;BR /&gt;rmsf -a *</description>
      <pubDate>Fri, 06 Apr 2001 12:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514434#M897788</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-06T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514435#M897789</link>
      <description>Nick,&lt;BR /&gt;&lt;BR /&gt;You could try this:&lt;BR /&gt;&lt;BR /&gt;1. cd /dev/rmt&lt;BR /&gt;2 cp /dev/null 0m&lt;BR /&gt;3. rm 0m&lt;BR /&gt;4. insf -e -C tape&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Joseph.</description>
      <pubDate>Sun, 08 Apr 2001 15:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514435#M897789</guid>
      <dc:creator>Joseph A Benaiah_1</dc:creator>
      <dc:date>2001-04-08T15:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Removing file in /dev/rmt/</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514436#M897790</link>
      <description>All, Thank you for your suggestions/ideas/comments.&lt;BR /&gt;&lt;BR /&gt;This issue is now closed.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
      <pubDate>Mon, 09 Apr 2001 10:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file-in-dev-rmt/m-p/2514436#M897790</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2001-04-09T10:28:22Z</dc:date>
    </item>
  </channel>
</rss>

