Sponsored Content
Operating Systems AIX "rmt0" is not a valid backing device - VIO Post 302471145 by omonoiatis9 on Friday 12th of November 2010 05:16:51 AM
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
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
roar_vs_file(3) 					   RoarAudio Programmer's Manual					   roar_vs_file(3)

NAME
roar_vs_file, roar_vs_file_simple, roar_vs_new_from_file - File mode for VS API SYNOPSIS
#include <roaraudio.h> int roar_vs_file(roar_vs_t * vss, struct roar_vio_calls * vio, int closefile, int * error); int roar_vs_file_simple(roar_vs_t * vss, char * filename, int * error); roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, char * filename, int * error); DESCRIPTION
These functions are used to open the VS object in file mode. In the file mode the VS API reads or writes the data from or to the file itself. The file mode uses normal VIO/DSTR so it supports streams as well. Just pass the stream URL as filename. roar_vs_file() sets up the file mode for a already opened object using the open VIO handle vio. This function requires the use of roar_vs_stream(3). roar_vs_file_simple() sets up the file mode using a given filename (or URL). It opens the file using DSTR API. By default the function assumes playback mode and tries to auto detect the audio parameters. To override the auto detection or use a diffrent stream direction use roar_vs_stream(3). roar_vs_new_from_file() creates a new VS object and enters file mode using the file (or URL) given as filename. To send data to or read data from use roar_vs_iterate(3) or roar_vs_run(3). PARAMETERS
server The server to connect to. NULL for defaults. name The application name. This should be something the user can use to identify the application. It MUST NOT be the application's binary name or the value of argv[0]. vio The VIO handle to be used by the file mode. closefile This parameter tells the file mode if the file should be closed on roar_vio_close(3). Must be ROAR_VS_TRUE (common) or ROAR_VS_FALSE. filename The filename used to open the file for file mode. The file is opend using DSTR API. All kinds of files supported by DSTR are sup- ported. This includes HTTP streams. error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom- mended to use this error value to report good error messages to the user. RETURN VALUE
On success roar_vs_new_from_file() return a new VS object. On error, NULL is returned. roar_vs_file() and roar_vs_file_simple() returns 0 on success and -1 on error. EXAMPLES
roar_vs_t * vss; int err; vss = roar_vs_new_from_file(NULL, "MyApp", "http://...", &err); if ( vss == NULL ) { //handle error. } if ( roar_vs_run(vss, &err) == -1 ) { //handle error. } if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { //handle error. } SEE ALSO
roar_vs_new_simple(3), roar_vs_iterate(3), roar_vs_run(3), roar_vs_close(3), roarvs(7), libroar(7), RoarAudio(7). RoarAudio June 2011 roar_vs_file(3)
All times are GMT -4. The time now is 09:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy