Oh file in /dev/rmt

Oh file in /dev/rmt

Post by Peter Bre » Thu, 14 Aug 1997 04:00:00



I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
size and I'm trying to determine its purpose.  I'd like to delete it
as my root filesystem is maxed out.  Is this something I can delete?
Its contents all seem to be text based - possibly helpfile text.
Thanks for any help.

Pete

--

-----------------------------------------------------------------
| Pete Bretz                            Off www.cern.ch...      |      



-----------------------------------------------------------------

 
 
 

Oh file in /dev/rmt

Post by Russell Hamme » Thu, 14 Aug 1997 04:00:00



> I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
> size and I'm trying to determine its purpose.  I'd like to delete it
> as my root filesystem is maxed out.  Is this something I can delete?
> Its contents all seem to be text based - possibly helpfile text.
> Thanks for any help.

> Pete

> --

> -----------------------------------------------------------------
> | Pete Bretz                            Off www.cern.ch...      |



> -----------------------------------------------------------------

This brings me back to my admin days, many moons ago!

Someone (with root permission) tried to write to a tape
that didn't exist (ie. tar cvf /dev/rmt/0h .).  Instead
of opening the /dev/rmt/0h tape device (which didn't exist)
it created a file called /dev/rmt/0h with the data intented
for the tape.  If this were my machine, I'd try to find out
who created the file and ask them if this is important
irreproducable data, and if not, go ahead and delete it.
It's also possible that some automatic backup proceedure
is doing this.  If so then you probably have no valid
backups!  This would need correcting right away!

Regards,
Russ

 
 
 

Oh file in /dev/rmt

Post by Alvin Sylvai » Thu, 14 Aug 1997 04:00:00




> > I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
> > size and I'm trying to determine its purpose.  I'd like to delete it
> > as my root filesystem is maxed out.  Is this something I can delete?
> > Its contents all seem to be text based - possibly helpfile text.
> > Thanks for any help.

> > Pete

> > --

> > -----------------------------------------------------------------
> > | Pete Bretz                            Off www.cern.ch...      |



> > -----------------------------------------------------------------

> This brings me back to my admin days, many moons ago!

> Someone (with root permission) tried to write to a tape
> that didn't exist (ie. tar cvf /dev/rmt/0h .).  Instead
> of opening the /dev/rmt/0h tape device (which didn't exist)
> it created a file called /dev/rmt/0h with the data intented
> for the tape.  If this were my machine, I'd try to find out
> who created the file and ask them if this is important
> irreproducable data, and if not, go ahead and delete it.
> It's also possible that some automatic backup proceedure
> is doing this.  If so then you probably have no valid
> backups!  This would need correcting right away!

> Regards,
> Russ

It occurs to me that, in addition to the above, you very well
might have a device connected to the machine that's =supposed=
to be /dev/rmt/0h, but somebody forgot to "boot -r" to make the
system recognize a new device!

You could be performing repeated backups to this file, while
rotating a bunch of empty (unwritten!) tapes!

--
| Alvin Sylvain | What this country needs is a good 5 cent dollar. |
+---------------+--------------------------------------------------+
Apologies for anti-spam address: see Org line for domain info.

 
 
 

Oh file in /dev/rmt

Post by Andrew Gabri » Thu, 14 Aug 1997 04:00:00




Quote:>I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
>size and I'm trying to determine its purpose.  I'd like to delete it
>as my root filesystem is maxed out.  Is this something I can delete?
>Its contents all seem to be text based - possibly helpfile text.
>Thanks for any help.

It's probably a tar (or similar) file which someone thought they
were putting onto a tape, but spelt the tape device wrong.

DGUX has a nice feature whereby /dev is a filesystem which is
mounted with a special option which disallows creation of regular
files, precisely to get round this sort of problem.

--

Consultant Software Engineer

 
 
 

Oh file in /dev/rmt

Post by Jim Moore - Solaris OS Sustaining Engineerin » Fri, 15 Aug 1997 04:00:00



> I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
> size and I'm trying to determine its purpose.  I'd like to delete it
> as my root filesystem is maxed out.  Is this something I can delete?
> Its contents all seem to be text based - possibly helpfile text.
> Thanks for any help.

Someone has probably done used a backup utility against
/dev/rmt/O (char) instead of /dev/rmt/0 (zero).

Do a "file /dev/rmt/O" to see if you can find out what it is (ie.
tar, cpio or ufsdump) which may give you a clue as to the identity
of the originator.  Then redo the archive correctly (if necessary).

Finally, remove the bogus file.

Cheers,
Jim.
-=-
Jim Moore, Principal Engineer     | "adb is *still* your friend"
Solaris OS Sustaining Engineering |

 
 
 

Oh file in /dev/rmt

Post by Chris Raymon » Sat, 16 Aug 1997 04:00:00


Hi Peter,

Bet the ranch somebody was trying to tar or dump something to tape--
and typed 'Oh' instead of '0h' (i.e. letter 'O' versus numeral zero).
Delete it with a clear conscience, I say.

Chris Raymond


> I have a file 'Oh' in the /dev/rmt directory.  The file is >150MB in
> size and I'm trying to determine its purpose.  I'd like to delete it
> as my root filesystem is maxed out.  Is this something I can delete?
> Its contents all seem to be text based - possibly helpfile text.
> Thanks for any help.

> Pete

> --

> -----------------------------------------------------------------
> | Pete Bretz                               Off www.cern.ch...      |      



> -----------------------------------------------------------------

 
 
 

1. Cannot open /dev/rmt/0un (or any other /dev/rmt/??n)

(I see this group is much more active)

I've moved an L9 autoloader from a Solaris 9 E250 to a Solaris 9 V120.

I've duplicated the info from st.conf

tape-config-list=
"QUANTUM DLT8000","Quantum DLT8000","DLT8k-data";
DLT8k-data = 1,0x38,0,0x10639,4,0x84,0x85,0x88,0x89,3;

and sgen.conf

device-type-config-list="changer", "sequential"
.....
name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=2 lun=0;
name="sgen" class="scsi" target=3 lun=0;
name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
name="sgen" class="scsi" target=7 lun=0;
name="sgen" class="scsi" target=8 lun=0;

# ls -la /dev/scsi
total 14
drwxr-xr-x   4 root     other        512 May 16 08:31 .
drwxr-xr-x  15 root     sys         4096 May 17 07:26 ..
drwxr-xr-x   2 root     other        512 May 16 08:31 changer
drwxr-xr-x   2 root     other        512 May 16 08:31 sequential

My problem is every time I do a backup I get the following:

  DUMP: Date of this level 0 dump: Wed May 17 10:44:21 2006
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c1t0d0s0 (west:/) to /dev/rmt/0un.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 63 Kilobyte records
  DUMP: Estimated 269898 blocks (131.79MB).
  DUMP: NEEDS ATTENTION: Cannot open `west:/dev/rmt/0un'.  Do you want
to retry the open?: ("yes" or "no") no
  DUMP: The ENTIRE dump is aborted.
  DUMP: Date of this level 0 dump: Wed May 17 10:44:24 2006
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c1t0d0s4 (west:/var) to /dev/rmt/0un.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 63 Kilobyte records
  DUMP: Estimated 544350 blocks (265.80MB).
  DUMP: NEEDS ATTENTION: Cannot open `west:/dev/rmt/0un'.  Do you want
to retry the open?: ("yes" or "no")

When the L9 was connected to the E250, I had no problems.  I tried
every /dev/rmt/ that ended with an "n" and all return the same error.

I think I am overlooking something obvious but so far no luck on a
solution.

Thanks!

2. doc3.1, SLS, MIDI, etc...

3. /dev/rmt/0cbn or /dev/rmt/0mbn?

4. anomymous FTP by default. HOW ??

5. tape device bulebud01 / 57 <> mt status /dev/rmt/3n /dev/rmt/0n: Device busysy?

6. epst driver

7. tape drive /dev/rst11 instead of /dev/rmt/0

8. DHCP server for solaris

9. What is the difference between /dev/rmt/0 and /dev/rst5?

10. Does tar the same file to /dev/rmt/1n overwrite or append?

11. Question about files in /dev/rmt

12. Missing file in /dev/rmt IRIX 5.3

13. cpio/tar large file to DDS as /dev/rmt/0