"rmt0" is not a valid backing device - VIO


 
Thread Tools Search this Thread
Operating Systems AIX "rmt0" is not a valid backing device - VIO
# 1  
Old 11-12-2010
"rmt0" is not a valid backing device - VIO

hello to all,

i am trying to assing a tape drive to a virtual partition through VIO but i get the message "rmt0" is not a valid backing device.
the oslevel of my VIO is AIX 6.1.3.0. when i run the command
lsdev |grep rmt i get the following result:
rmt0 Available 08-08-00-0,0 Other SCSI Tape Drive
the problem is when i use the command mkvdev to assign the tape drive to the virtual partition. the command i use is the following:
mkvdev -vdev rmt0 -vadapter vhost3 -dev LTO4
when i run this command i get the message mentioned above.
also i check the entry in the ODM for the rmt and i when i run then command odmget CuDv i get the following result:
CuDv:
name = "rmt0"
status = 1
chgstatus = 0
ddins = "tape"
location = "08-08-00-0,0"
parent = "scsi0"
connwhere = "0,0"
PdDvLn = "tape/scsi/ost"

i find the the status=1 means that the device is defined. so is there a way to change the status of the device in the ODM database and if i can, does this fix the problem that i face?
if it is helpful the AIX version of my virtual partition is 5.3.0.0

thank you for your time
# 2  
Old 11-14-2010
The OS level of your VIO is AIX 6.1.3.0?
As far as I know the latest level of VIOS is 2.2, you should not use the AIX level as a reference for a VIOS partition.

You cannot virtualize tape drives, only hard disks and recently CD / DVD devices can be virtualized, hence the message that your tape is not a valid backing device.

HTH.
# 3  
Old 11-15-2010
i am sure that you CAN virtualise tape drives because i already did it and is working fine on the machines located in the production site.
this problem i only have it with the disaster recovery site machines. so i have the same partitions with same AIX versions on production and disaster recovery site.
on the production site i CAN virtualise tape drives and assign them to virtual partitions but on the disaster recovery site i get this message.
# 4  
Old 11-15-2010
OK, yes, it seems it is now OK to virtualise tapes but only a few drives are supported and as yours shows as "Other SCSI Tape Drive" I guess it is not one of the few.

http://www.redbooks.ibm.com/redbooks/pdfs/sg247590.pdf
Page 23:

Supported tape drives at the time of writing are:
Feature Code 5907 36/72 GB 4 mm DAT72 SAS Tape Drive
Feature Code 5619 DAT160: 80/160 GB DAT160 SAS Tape Drive
Feature Code 5746 Half High 800 GB/1.6 TB LTO4 SAS Tape Drive
# 5  
Old 11-16-2010
Supported tape drives at the time of writing are:
Feature Code 5907 36/72 GB 4 mm DAT72 SAS Tape Drive
Feature Code 5619 DAT160: 80/160 GB DAT160 SAS Tape Drive
Feature Code 5746 Half High 800 GB/1.6 TB LTO4 SAS Tape Drive

LTO4 SAS Tape Drive is the tape drive that i am currently trying to assing to my virtual partition
# 6  
Old 11-16-2010
Not by the looks of the lsdev output:

rmt0 Available 08-08-00-0,0 Other SCSI Tape Drive

The "Other" usually means the device is configured as a generic device because the correct driver is not loaded or the device is not recognised.
# 7  
Old 11-17-2010
ok i have fixed the problem
what i did was to remove the tape drive from the VIO server using
rmdev -R <adapter_name) -l
and then from the HMC through Dynamic Logical Partitioning i move the adapter to the virtual partition i wanted. it looks fine now
thank you anyway
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies

2. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. AIX

"Please mount volume 2 on /dev/rmt0.1" message during mksysb restore

Dear all First of all, my English not so good. We have p52a (production server) and p52a (test server). Tape drives are VXA2. When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK. The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Discussion started by: fifa15pc
3 Replies

5. Shell Programming and Scripting

Help with error "por: 0403-012 A test command parameter is not valid."

Hi, im asking for help with the next script: echo ^; then if then printf "\033 query1.sh: export TERM=vt100 export ORACLE_TERM=at386 export ORACLE_HOME=/home_oracle8i/app/oracle/product/8.1.7 export ORACLE_BASE=/home_oracle8i/app/oracle export... (8 Replies)
Discussion started by: blacksteel1988
8 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Emergency UNIX and Linux Support

Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed....

Dear All, I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output : root # powermt display dev=all Pseudo name=emcpower3a CLARiiON ID=CK200073400372 Logical device ID=60060160685D1E004DD97FB647BFDC11 state=alive; policy=CLAROpt;... (1 Reply)
Discussion started by: Reboot
1 Replies

8. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Login or Register to Ask a Question