How to prevent /dev/rmt* re-assignments


 
Thread Tools Search this Thread
Operating Systems AIX How to prevent /dev/rmt* re-assignments
# 1  
Old 03-25-2008
How to prevent /dev/rmt* re-assignments

Hi all,

Sometimes, when I reboot my AIX server, my tape drive /dev/rmt# assignments change. This creates some tedious TSM work prior to and after a reboot of the server.
Is there a way to ensure that the /dev/rmt# assignments come up the same every time?

Thanks
# 2  
Old 03-25-2008
hmmm, coming up every time the same *is* the default behavior. There must be something wrong with your machine.

I can only guess, but i suspect that something with the ODM is wrong and therefore the cfgmgr which runs at boot time tries (probably in vain) to correct that. Maybe the following helps: completely remove the tape drive from the ODM (use "rmdev -dl" generously) and make sure the tape drive shows up nowhere in the ODM (check CuAt and PdDv tables primarily). Then reboot the machine so that the drives configuration is written anew.

I hope this helps.

bakunin
# 3  
Old 03-25-2008
Helo.
First of all, I'm not an expert in backup but here the experts have configured a script that, everytime the TSM server reboots, configures the tapes. It basically deletes the tape devices and then, hba by hba, configures them again, changing "alt_pathing" into "yes" when appropriate. This process, I think, depends on your configuration and must be mantained by hand.
I hope this helps.
Regards.
# 4  
Old 03-25-2008
Thanks for the input... interesting posts. One states: "must be something wrong with machine", other states: "... everytime the server reboots, we reconfigure...".
Apparently, I'm not the only one who is seeing this behavior.
# 5  
Old 03-25-2008
Quote:
Originally Posted by jwholey
One states: "must be something wrong with machine",
hm, this meant only that the reason is not something in AIX but in your machine. "wrong" was probably a stretch. For instance, hdisk devices (which are similar insofar as several equivalent ones are usually there) aren't changing every reboot either.

Maybe there is some script which deletes and reconfigures the devices upon (re)-boot time for some unknown reason?

bakunin
# 6  
Old 03-30-2008
Hi

That is not the normal behavior of AIX. Different from Solaris where you have to make a persistent binding of the tape devices, AIX it's supposed to save all information about devices in the ODM DB so in the next reboot it will configure devices still connected based on information of that ODM.

You can use commands in order to review contents of your ODM:

odmget CuAt > /tmp/cuat
odmget CuDep > /tmp/cudep
odmget CuDv > /tmp/cudv
odmget CuDvDr > /tmp/cudvdr
odmget CuVPD > /tmp/cuvpd

is this environment a LPAR ?? if so, adapter where rmt devices are connected (either SCSI or HBA) is a desired or required resource at LPAR configuration ?

Hope this helps
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. Solaris

Rogue file in /dev/rmt fills up / file system

Hi Peeps, Got a very wierd problem (not a show stopper, but really annoying). I've recovered a system for a DR test and by the looks of it every night (between 1030 and 11pm) it's creating a file called 1hbn in /dev/rmt and literally looks like it's utilizing all the remaining space in /... (2 Replies)
Discussion started by: callmebob
2 Replies

3. AIX

/dev/rmt devices are missing

Hello, I attached a tape drive to one of my partitions but i cannot find the device. I run the command lsdev|grep rmt but i dont get anything in return. When i run lsslot -c slot i can see the slot number and the device that belongs to the tape drive but i cannot find any rmt files in /dev.... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

4. Solaris

/dev/rmt/0mn: write protected or reserved

# mt stat HP DDS-4 DAT (Sun) tape drive: sense key(0x0)= No Additional Sense residual= 0 retries= 0 file no= 0 block no= 0 mt -f /dev/rmt/0mn erase /dev/rmt/0mn: write protected or reserved. Getting error while ufsdump .... --- Dumping / to /dev/rmt/0mn --- DUMP: Date... (5 Replies)
Discussion started by: vickyingle5
5 Replies

5. Hardware

/dev/rmt/0mn: write protected or reserved

# mt stat HP DDS-4 DAT (Sun) tape drive: sense key(0x0)= No Additional Sense residual= 0 retries= 0 file no= 0 block no= 0 mt -f /dev/rmt/0mn erase /dev/rmt/0mn: write protected or reserved. Getting error while ufsdump .... --- Dumping / to /dev/rmt/0mn --- DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies

6. Solaris

/dev/rmt is empty - Trying to make Tape Drive Functional

I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck: touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies

7. Solaris

Empty /dev/rmt

Hi Guys, I a newbie in Unix environment. I need a help to detect my external SCSI tape drive. I tried with command drvconfig;devlinks;tapes.. but when I go to /dev/rmt/, the directory is still empty. I also tried with add_drv -v st but I'm getting this message # add_drv -v st exit... (8 Replies)
Discussion started by: akuslive
8 Replies

8. AIX

dev/rmt 0.1 block size is 0; variable; must be 1024 fixed.

Hi. After the shutdown for SWIFT Alliance Server, tape backup process will be done. Unfortunately, I encountered this error message when I performed the database tape backup. The error was "/dev/rmt 0.1 block size is 0; variable; must be 1024 fixed. Consider reconfiguration through 'chdev'... (2 Replies)
Discussion started by: MariaLuisa
2 Replies

9. Solaris

/dev/rmt empty

hi all , i have just installed solris 9 on a sun 280R ,and i have appleid the recommended patches . after the installation i have found that /dev/rmt/ directory is empty , i thought that was normal , so i attached my DDS4 external tape drive and treid : devfsadm -C devfsadm -v reboot --... (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Dummies Questions & Answers

/dev/rmt/0cn

Following the below info: ---------------------------------------------------------------------------------- # SYNTAX: /dev/rmt/<unit number><density> · Density: l, m, h, u/c (low, medium, high, ultra/compressed, respectively) · BSD behavior: (optional) b · no rewind: (optional) n · For... (5 Replies)
Discussion started by: guest100
5 Replies
Login or Register to Ask a Question