1832777 Members
3294 Online
110045 Solutions
New Discussion

Output file problem

 
mehul_3
Regular Advisor

Output file problem

Hi
When I started using fbackup -v -f /dev/rmt/0m -i u01/gdbs command with root login, the following message came

output file /dev/rmt/0m doesn't exist at the specified location.
Would you like to enter a new output file? if I give yes then output file was generated at / (root)location and my root file system got full and my backup got failed and to free space in root file system I deleted the output file and started backup all over again with same command.The following message came once again as following
output file /dev/rmt/0m doesn't exist at the specified location
Would you like to enter a new output file?If I give no, another message came as
would you like to continue this session.If I give yes then it will ask the same set of questions in round robin fasion.
Previousely no such problem exists because I logged with oracle login and this time I logged this with root.Is this make diffrences?

thanks and regards
mehul
5 REPLIES 5
SYS ADMIN_7
Advisor

Re: Output file problem

Hi Mehul

With the -f option you have to specify the device file i.e tape drive ..Now what is happening is instead of taking the backup to tape it is creating a file and then dumping there..
Check the contents of /dev/rmt directory
There will be some file created with the name 0m. Please also note this is 0m ( Zero Em not O Em).
First check the device file for the tape drive
#ioscan -f
#ioscan -funC tape

This will give the device file name used by tape drive..

use this file.. Most os the cases it will be 0m.

Hope this helps

Rgds
Suraj
mehul_3
Regular Advisor

Re: Output file problem

No I have given a path as /dev/rmt/0m (zero).
tar -cvf /dev/rmt/0m is successfully run but not fbackup.

mehul
Sunil Sharma_1
Honored Contributor

Re: Output file problem

Hi mehul,


Yur command is perfectly alright.
could you post the output of
#ioscan -funCtape

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
bhavin asokan
Honored Contributor

Re: Output file problem

hi,

you are using internal/external tape drive?
what are the permissions of /dev/rmt/0m,0mn .. in your system.

regds,


Kuang Chen
Frequent Advisor

Re: Output file problem

hi,

First, I will suggest you run
mt -f /dev/rmt/0m status
to find out your tape is good one or not.
Second, are you using "su - " when you switch user to root.
make sure your command " -i /u01/gdbs"
Usually, I create a tree file and using -g paht, it work better than just put -i in only command line.
You can change to /0mn to see what happen.

Hopefully, it help.
KC