1833875 Members
1592 Online
110063 Solutions
New Discussion

Re: /dev/diag/rmt files

 
SOLVED
Go to solution
Darrell Allen
Honored Contributor

/dev/diag/rmt files

Hi all,

I'm planning to change some SCSI instance numbers on an 11.0 system and found "character special" files in /dev/diag/rmt for one of the controllers involved. The files are named c3t0d0 thru c3t15d0. Another server (with the same diag bundle loaded from the support CD) doesn't have any files in /dev/diag/rmt.

How are these files created and used? Can I delete them?

Thanks,

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
4 REPLIES 4
Darrell Allen
Honored Contributor

Re: /dev/diag/rmt files

PS: I see 1 of these special files listed when I do ioscan -fnkC tape. So I suppose I'd have to remove it (and probably all of the others also) with rmsf.

Any thoughts are appreciated.

Thanks,
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Craig Rants
Honored Contributor

Re: /dev/diag/rmt files

Darrell,
I checked a few of my servers, they didn't have anything in the /dev/diag/rmt dir. I believe that it is used for omniback. Here is a link associated to that. I would say if you are not using omniback and are concerned about deleting them just take a snapshot of the dir so you know the major and minor numbers associated with them if you need to recreate them with mknod.



HH,
C

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x27288ffa98a2d5118ff10090279cd0f9,00.html
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Sridhar Bhaskarla
Honored Contributor
Solution

Re: /dev/diag/rmt files

Hi Darrel,

If you look at 'man 7 mt' page, you can get what those files are for.

//quote


Diagnostic Access Naming Convention (tape1 only)
The following alternative naming convention is used to provide
diagnostic access for HP-IB devices only:

/dev/diag/rmt/c#t#d#

......
/dev/diag/rmt/* diagnostic access special files (HP-IB only)

//unquote

If you don't have any HP-IB devices, you can safely delete them. You can also do an lssf and find the paths of these files.. I would guess them to be ????s

-Sri


You may be disappointed if you fail, but you are doomed if you don't try
Darrell Allen
Honored Contributor

Re: /dev/diag/rmt files

Good call Sri. c3t1d0 is a DLT7000 drive on an HP-PB chain. The other system doesn't have HP-PB cards.

lssf on the other special files report:
Unable to open tape configuration special file
No such file or directory

Also, my DLT shows up in ioscan as tape2. Seems the man page needs to be updated.

Thanks,
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)