- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup: Could not open output file hostname:/dev/...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:52 AM
07-17-2007 01:52 AM
fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
I issued the following command to backup a database:
fbackup -v -f /dev/rmt/c0t3d0BESTb \
> -f hostname:/dev/rmt/c0t3d0BESTb \
> -i /PATH1 \
> -i /PATH2 \
> -i /PATH3 \
> -i /PATH4
Both servers, current and "hostname" has attached a
HP C1537A Drive, DDS-3 format
fbackup seems to run ok, until it needs to write in the tape of "hostname", and giving me the following error:
fbackup(3003): normal EOT
fbackup(3301): could not open output file hostname:/dev/rmt/c0t3d0BESTb
fbackup(3019): would you like to enter a new output file?
Another information:
- Sentence was executed before with success.
- We have no "easy" physical access to the drives.. Servers are outside the company.
- performed "ioscan -fnC tape" in "hostname" returned:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c0t3d0BESTn
/dev/rmt/0mb /dev/rmt/c0t3d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t3d0DDS
/dev/rmt/0mnb /dev/rmt/c0t3d0DDSb
/dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0DDSn
/dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDSnb
- Performed mt -f /dev/rmt/c0t3d0BESTb status in hostname returned:
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
- Performed mt -f zeusapps:/dev/rmt/c0t3d0BESTb status on host issuing fbackup, returned:
on tape open: No such file or directory
Anyone could help me to find what is wrong??
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:24 AM
07-17-2007 02:24 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
Obvious question - have you verified there actually is a tape in the drive?
If you want, you can remove the device files and recreate them with rmsf -H and INSF -H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:33 AM
07-17-2007 02:33 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
Far as I know fbackup can not use a tape drive on another system.
Try using a local tape drive with a tape drive in it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:05 AM
07-17-2007 03:05 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
SEP - fbackup does work on a tape drive on another system. I have successfully used it in the past, and the man page under the -f parameter states it will work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:09 AM
07-17-2007 03:09 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
I put the tapes on the drives, last week.. i assume that tapes are still there.. Tomorrow i will go to the datacenter to ensure that.. But i think that tapes are in there.. There is any way to test that??
Removing and recreating the device files is a "secure" proccess?
We are currently without system administrator.. So i have to be careful..
SEP: Shalom, and thank you.
I'm not the S.A, but i've worked here since seven years ago, in collaboration with many system admins. As far as i know, we always made our backups in that way..
Two tapes drives, one attached to our database server, the other attached to our application server..
And the backup takes two volumes, so it starts writing on the tape at the local drive, and continues on the remote drive..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 05:39 AM
07-17-2007 05:39 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
You can test the the tape drive with the mt command It has several options you could consider (man mt for specifics)
Your tape could be bad, or someone else may of accidently ejected it
Is Removing and recreating the device files is a "secure" proccess?
The rmsf and insf commands will need to be run from the root id. They do not require a reboot, and are pretty staight forward to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 06:09 AM
07-17-2007 06:09 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
I tried to fbackup something locally, and the process was done succesfully. So, the tape is ok, and so is the drive.
But from the other server, i get the same error:
could not open output file hostname:/dev/rmt/c0t3d0BESTb
could be something about permissions?
We recently changed the IP address of the server performing fbackup (not the server with the remote tape drive)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 06:55 AM
07-17-2007 06:55 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
could be something about permissions?
We recently changed the IP address of the server performing fbackup (not the server with the remote tape drive)
Check the /etc/hosts files on both servers to ensure each has the others correct IP address
Try pinging the system name of ech server from the other server. If there is a failure, then the /etc/hosts file on one of the systems did not get updated, or the DNS system was not updated correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 07:08 AM
07-17-2007 07:08 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
Any I/O error related messages in syslog?
You can also download LTT from
http://www.hp.com/support/tapetools and do some tests on the drive.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 08:14 AM
07-17-2007 08:14 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
Ping is okey in both servers..
Checked syslog (both)and had no errors
Performed st -f device status and says Ok and available...
It seems like a permissions or communication issue between both servers..
I don't know where to look...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 08:50 AM
07-17-2007 08:50 AM
Re: fbackup: Could not open output file hostname:/dev/rmt/c0t3d0BESTb
Added the new hostname in .rhosts file on the remote tape drive server..
Thanks all for your time.