- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: not a valid device file for backup
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
03-05-2006 10:33 PM
03-05-2006 10:33 PM
not a valid device file for backup
I have a problem with running fbackup to tape.
This is output from fbackup:
br_backup: Invoking fbackup. See /var/sam/log/br_log for details.
fbackup(1004): session begins on Mon Mar 6 03:05:01 2006
fbackup(3038): output file /dev/rmt/0mnb is not a valid device file for backup
fbackup(3019): would you like to enter a new output file?
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
The job is scheduled like this :
05 3 * * 0,1,2,3,4,5 /usr/sam/lbin/br_backup TAPE_DEVICE FULL Y /dev/rmt/0mnb /var/sam/graphNCAa22660 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup
Here is some more info on the device file :
# ioscan -fnkC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/1/1/1.2.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/c3t2d0BESTn
/dev/rmt/0mb /dev/rmt/c3t2d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t2d0DDS
/dev/rmt/0mnb /dev/rmt/c3t2d0DDSb
/dev/rmt/c3t2d0BEST /dev/rmt/c3t2d0DDSn
/dev/rmt/c3t2d0BESTb /dev/rmt/c3t2d0DDSnb
# ls -l /dev/rmt/0mnb
crw-rw-rw- 2 bin bin 205 0x0320c0 Feb 19 03:05 /dev/rmt/0mnb
# ls -l /dev/rmt/c3t2d0DDSnb
crw-rw-rw- 1 bin bin 205 0x0320c1 Mar 24 2005 /dev/rmt/c3t2d0DDSnb
# file /dev/rmt/0mnb
/dev/rmt/0mnb: character special (205/204992)
# mt -f /dev/rmt/0mnb rew
/dev/rmt/0mnb: No such device or address
#
Any idea how to fix my OS backup ?
Thanks in advance for your inputs !
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 10:37 PM
03-05-2006 10:37 PM
Re: not a valid device file for backup
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 10:43 PM
03-05-2006 10:43 PM
Re: not a valid device file for backup
'fbackup' should not be used with no-rewind devices (e.g. /dev/rmt/0mn).
Try using '/dev/rmt/0m'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:32 PM
03-05-2006 11:32 PM
Re: not a valid device file for backup
I tried the 0m version but the result is the same :
br_backup: Invoking fbackup. See /var/sam/log/br_log for details.
fbackup(1004): session begins on Mon Mar 6 18:03:25 2006
fbackup(3038): output file /dev/rmt/0m is not a valid device file for backup
fbackup(3019): would you like to enter a new output file?
n
fbackup(3022): would you like to continue this session?
n
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:34 PM
03-05-2006 11:34 PM
Re: not a valid device file for backup
Can you specify the parameters of the rmsf command ?
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:36 PM
03-05-2006 11:36 PM
Re: not a valid device file for backup
Make sure that the tape is write-enabled. Make sure, too, that a simple 'tar' works:
# tar -cvf /dev/rmt/0m /tmp
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:41 PM
03-05-2006 11:41 PM
Re: not a valid device file for backup
Try 2 things:
- Clean your device with a cleaning tape;
- Run "Information" for both the interface and the tape (mstm).
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:50 PM
03-05-2006 11:50 PM
Re: not a valid device file for backup
# tar -cvf /dev/rmt/0m /tmp
tar: cannot open /dev/rmt/0m
but
# tar -cvf /dev/rmt/1m /tmp
seems to work
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 11:50 PM
03-05-2006 11:50 PM
Re: not a valid device file for backup
rmsf -H 0/1/1/1.2.0
insf -e
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:03 AM
03-06-2006 12:03 AM
Re: not a valid device file for backup
In the meantime I ran into a problem :
Running the 1m version with fbackup caused a 100% full / directory.
This is the run statement :
/usr/sam/lbin/br_backup TAPE_DEVICE FULL Y /dev/rmt/1m /var/sam/graphNCAa22660 root Y 1 N > /var/sam/SAM_br_msgs
This is the error:
Mar 6 18:24:51 scprod5 vmunix: msgcnt 1 vxfs: mesg 001: vx_nospace - /dev/root
file system full (1 block extent)
Any idea where to fix this ?
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:05 AM
03-06-2006 12:05 AM
Re: not a valid device file for backup
Apparently a file in the /dev/1m dir was created.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:12 AM
03-06-2006 12:12 AM
Re: not a valid device file for backup
I ran the suggested commands.
# rmsf -H 0/1/1/1.2.0
# insfe -e
Still the same result :
fbackup(1004): session begins on Mon Mar 6 18:43:04 2006
fbackup(3038): output file /dev/rmt/0mnb is not a valid device file for backup
fbackup(3019): would you like to enter a new output file?
n
fbackup(3022): would you like to continue this session?
n
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
You have mail in /var/mail/root
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:17 AM
03-06-2006 12:17 AM
Re: not a valid device file for backup
Yes, I'd expect the using '/dev/rmt/1m' would have created a regular file in your root filesystem. Your ioscan did not show any tape device for this path.
If the tape drive has worked before, and cleaning it does not help, you may have a defunct drive.
Another thing to check is to do the 'ioscan' but thusly (to probe the hardware and not the current kernel's view):
# ioscan -fnC tape
If the tape doen't show a CLAIMED software state you need to check the hardware -- cables and/or drive.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:21 AM
03-06-2006 12:21 AM
Re: not a valid device file for backup
I ran a verify with mstm for the tape device :
Verify Tool for device (SCSI Tape) on path (0/1/1/1.2.0).
The media cannot be accessed. This may be because:
1) The tape has not finished loading.
2) The drive is not online.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:26 AM
03-06-2006 12:26 AM
Re: not a valid device file for backup
Thanks for enlightening me. I didn't know about the '1m' behaviour.
In the meantime I ran
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/1/1/1.2.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/c3t2d0BESTn
/dev/rmt/0mb /dev/rmt/c3t2d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t2d0DDS
/dev/rmt/0mnb /dev/rmt/c3t2d0DDSb
/dev/rmt/c3t2d0BEST /dev/rmt/c3t2d0DDSn
/dev/rmt/c3t2d0BESTb /dev/rmt/c3t2d0DDSnb
#
It looks claimed.
My local contact confirms that a cleaning tape was run before the start of this thread.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:36 AM
03-06-2006 12:36 AM
Re: not a valid device file for backup
could it be a SCSI id mismatch?
Or a missed SCSI terminator?
Please check all cables/connections/id settings.
Do you have tried a new tape?
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:46 AM
03-06-2006 12:46 AM
Re: not a valid device file for backup
If that still doesn't work, try a new tape.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 12:52 AM
03-06-2006 12:52 AM
Re: not a valid device file for backup
'fbackup(1002): Backup did not complete : Reader or Writer process exit
You have mail in /var/mail/root'
Atre there more infos in /var/mail/root?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:02 AM
03-06-2006 01:02 AM
Re: not a valid device file for backup
When you load a tape, if the drive LED lights continue to flash, and/or the drive's cleaning light doesn't go off after cleaning, the tape drive is bad and needs replacement.
If the tape unit is particularly dirty, clean the drive 2-3 times in succession. Make sure too to try *different* tapes! You may just have a bad tape.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:22 AM
03-06-2006 01:22 AM
Re: not a valid device file for backup
No more info in /var/mail/root available.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:27 AM
03-06-2006 01:27 AM
Re: not a valid device file for backup
We are using the 0mnb device on several HP-UX 11.23 systems and sofar without problems.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:35 AM
03-06-2006 01:35 AM
Re: not a valid device file for backup
what hardware/workstation do you use?
And the tape drive - is it SCSI or USB?
Internal/external?
Which tape do you use?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 02:13 AM
03-06-2006 02:13 AM
Re: not a valid device file for backup
if you have identical systems (is this also 11.23?) then - can you change the tape with another system and test both systems with the other tape?
I think that's the easiest way to find a reason.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 02:34 AM
03-06-2006 02:34 AM
Re: not a valid device file for backup
The systems are 1000 miles away from each other.
Franky