- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mt -f /dev/rmt/0m rewind fails
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
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
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
тАО06-03-2005 09:44 PM
тАО06-03-2005 09:44 PM
mt -f /dev/rmt/0m rewind fails
I have HP-UX 11.11 running on 2470 server.
I have QUANTUM DLT8000 attached to it.
when i do ioscan -fnkC it shows me the tape.
Even i am able to copy and recover the files from it.
But the problem is when i try to rewind the tape it gives me following errors.
root@kddtest/$>mt -f /dev/rmt/0m rewind
/dev/rmt/0m: I/O error
root@kddtest/$>mt -f /dev/rmt/0 rewind
rewind 1 failed: Not a typewriter
i am using dd cmd to backup and recover the files.
i am attaching a file for details.
Thanks N Regards
Musaddaq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 09:53 PM
тАО06-03-2005 09:53 PM
Re: mt -f /dev/rmt/0m rewind fails
when you make the dd command you type :
... of=/dev/rmt/0 ...
it's not the right way to the tape the right one is /dev/rmt/0m !!!
for me your tape is off or is bad !!!
try an # insf -e and look again the ioscan to see if it is in CLAIMED state...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:08 PM
тАО06-03-2005 10:08 PM
Re: mt -f /dev/rmt/0m rewind fails
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.4.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c0t4d0BESTn
/dev/rmt/0mb /dev/rmt/c0t4d0BEST /dev/rmt/c0t4d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t4d0BESTb
Now it is showing claimed but still this cmd fails
$ mt -f /dev/rmt/0m rewind
/dev/rmt/0m: I/O error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:12 PM
тАО06-03-2005 10:12 PM
Re: mt -f /dev/rmt/0m rewind fails
try
ioscan -H 0/0/1/0.4.0
insf -eH 0/0/1/0.4.0
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:14 PM
тАО06-03-2005 10:14 PM
Re: mt -f /dev/rmt/0m rewind fails
http://www.informatik.uni-frankfurt.de/doc/man/hpux/mt.7.html
it is said :
"NAME
mt - magnetic tape interface and controls
DESCRIPTION
This entry describes the behavior of HP magnetic tape interfaces and
controls, including DDS and QIC cartridge drives. The files
/dev/rmt/* refer to specific raw tape drives, and the behavior of each
given unit is specified in the major and minor numbers of the device
special file."
So I think the mt command doesn't work for DLT cartridge...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:24 PM
тАО06-03-2005 10:24 PM
Re: mt -f /dev/rmt/0m rewind fails
Prior to HP-UX we had DG boxes and we used to rewind DLT tapes on that server.
Is it something HP is not supporting it.
Regards
Musaddaq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:26 PM
тАО06-03-2005 10:26 PM
Re: mt -f /dev/rmt/0m rewind fails
Try
mt -f /dev/rmt/0m rew
Check man pages for details...
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:34 PM
тАО06-03-2005 10:34 PM
Re: mt -f /dev/rmt/0m rewind fails
i tried
ioscan -H 0/0/1/0.4.0
insf -eH 0/0/1/0.4.0
and even with the cmd
root@kddtest/$>mt -f /dev/rmt/0m rew
/dev/rmt/0m: I/O error
but still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:50 PM
тАО06-03-2005 10:50 PM
Re: mt -f /dev/rmt/0m rewind fails
mt -f /dev/rmt/0m status
mt -f /dev/rmt/0m rew
One more thing I would like to point from that the attached file that you were doing dd on a wrong device file..... (/dev/rmt/0)
try dd on correct device file (/dev/rmt/0m) and let me know wats happening...
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 10:57 PM
тАО06-03-2005 10:57 PM
Re: mt -f /dev/rmt/0m rewind fails
$ mt -f /dev/rmt/0m status
no tape loaded
$
$
$ mt -f /dev/rmt/0m rew
/dev/rmt/0m: I/O error
$
Regards
Musaddaq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 11:01 PM
тАО06-03-2005 11:01 PM
Re: mt -f /dev/rmt/0m rewind fails
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 11:12 PM
тАО06-03-2005 11:12 PM
Re: mt -f /dev/rmt/0m rewind fails
# mt -f /dev/rmt/0mn rew
or
# mt -t /dev/rmt/0mn rew
or
# mt rew
...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 11:18 PM
тАО06-03-2005 11:18 PM
Re: mt -f /dev/rmt/0m rewind fails
$ mt -f /dev/rmt/0mn rew
/dev/rmt/0mn: I/O error
$
$
$ mt -t /dev/rmt/0mn rew
/dev/rmt/0mn: I/O error
$
$
$
$ mt rew
/dev/rmt/0mnb: I/O error
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 11:24 PM
тАО06-03-2005 11:24 PM
Re: mt -f /dev/rmt/0m rewind fails
on which type of controller the DLT8000 is connected?
did you have put a terminator on the DLT8000?
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 12:03 AM
тАО06-04-2005 12:03 AM
Re: mt -f /dev/rmt/0m rewind fails
1)
$ tar -cvbf 64 /dev/rmt/0 f1
a f1 1 blocks
$
$
$ tar -cvbf 64 /dev/rmt/0m f1
tar: cannot open /dev/rmt/0m
$
2) There is no terminator on DLT8000
3) How to find the controller the DLT8000
is connected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 12:09 AM
тАО06-04-2005 12:09 AM
Re: mt -f /dev/rmt/0m rewind fails
is there something wrote on SCSI connectors at the back of DLT8000 ( i.e. SCSC differential or something like this?)?
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 12:52 AM
тАО06-04-2005 12:52 AM
Re: mt -f /dev/rmt/0m rewind fails
I have no idea of model of DLT8000 or SCSI controller.
Is there any command from which i can check them.
Regards
Musaddaq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 12:59 AM
тАО06-04-2005 12:59 AM
Re: mt -f /dev/rmt/0m rewind fails
because it's wrote at the back of the DLT where you plug SCSI cable...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 01:57 AM
тАО06-04-2005 01:57 AM
Re: mt -f /dev/rmt/0m rewind fails
I got it
Its SCSI LVD\SE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2005 02:01 AM
тАО06-04-2005 02:01 AM
Re: mt -f /dev/rmt/0m rewind fails
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 05:01 AM
тАО06-06-2005 05:01 AM
Re: mt -f /dev/rmt/0m rewind fails
You probably should check your /dev/rmt directory. If you have been writing to /dev/rmt/0, then you are probably creating a file there, not actually sending data to a tape device. Check for a big file in /dev/rmt called 0. You can cripple your machine this way, because /dev is part of the root (/) filesystem, and it's really easy to fill up root when you write a file to /dev.
Just my 2cts worth,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 05:23 PM
тАО06-06-2005 05:23 PM
Re: mt -f /dev/rmt/0m rewind fails
U was right there was a file called 0 in my /dev/rmt directory.
I deleted it. but i am still in the middle of the ocean. I cannot rewind my tape.
Any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 08:22 PM
тАО06-06-2005 08:22 PM
Re: mt -f /dev/rmt/0m rewind fails
$ mt -f /dev/rmt/0m status
You get the reply:
$ no tape loaded
If you do not have a tape loaded, how can your rewind it? Or, if you do have a tape loaded why does you drive say there isn't one?
Does
# mc -q
give you anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2005 04:54 PM
тАО06-07-2005 04:54 PM
Re: mt -f /dev/rmt/0m rewind fails
ERROR: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 02:34 AM
тАО06-08-2005 02:34 AM
Re: mt -f /dev/rmt/0m rewind fails
can you see your tape drive in sam? what if you try to do an interactive backup from sam also what do you get? and by the way why do you insist on rewinding your tape manually? u can achieve the same effect by using the device file without the n ...
Cheers
Elie