- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar: cannot open /dev/rmt/0m
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-12-2000 12:19 PM
07-12-2000 12:19 PM
tar -cvf /dev/rmt/0m .
This has been working for a long time, but a new motherboard was installed yesterday and that's when this command stopped working. I have tried the following command with no luck:
insf -e
Also, when I issue the following command I get nothing back (it does not recognize it even has a tape drive, but the directory and file are there - /dev/rmt/0m):
ioscan -fnC tape
Thanks for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:24 PM
07-12-2000 12:24 PM
Re: tar: cannot open /dev/rmt/0m
How about ioscan - does it show in there?
Could the device have been moved to another name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:29 PM
07-12-2000 12:29 PM
Re: tar: cannot open /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:41 PM
07-12-2000 12:41 PM
Re: tar: cannot open /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:45 PM
07-12-2000 12:45 PM
Re: tar: cannot open /dev/rmt/0m
I had a similar problem recently. The SCSI cable to the tape drive may have disconnected or the tape drive itself may be defective. In my case, too, I could insert and eject tapes. A key sympton was the absence of any tape from ioscan. I suggest re-seating or replacing the tape drive.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 12:55 PM
07-12-2000 12:55 PM
Re: tar: cannot open /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 01:10 PM
07-12-2000 01:10 PM
Re: tar: cannot open /dev/rmt/0m
Ah, the wonderful properties of internal tape drives (not!). I realize that you have to down the box. I suspect that there's nothing wrong with ioscan nor the SCSI path; only the tape drive or the connection to it. You might get the warm fuzzy your looking for by doing an ioscan to your CDROM drive since it's probably on the same path.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 03:27 AM
07-13-2000 03:27 AM
Re: tar: cannot open /dev/rmt/0m
after changing the motherboard the hardware path to tape drive shouldn't be changed. So you can find out the path with
lssf /dev/rmt/0m.
Now you can recreate the device file with
insf -H
Hope this helps
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 05:59 AM
07-13-2000 05:59 AM
Re: tar: cannot open /dev/rmt/0m
stape card instance 1 SCSI target 0 SCSI LUN 0 at&t best destiny available at address ??? /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 07:19 AM
07-13-2000 07:19 AM
Re: tar: cannot open /dev/rmt/0m
x/x Core I/O Adapter
x/x/0 Built-in Parallel Interface
x/x/5 Built-in SCSI
x/x/5.0 (no label -- driver = tgt)
x/x/5.0.0 [YOUR TAE DEVICE]
x/x/5.2 (no label -- driver = tgt)
x/x/5.2.0 [YOUR CD-ROM]
x/x/5.7 (no label -- driver = tgt)
x/x/5.7.0 Initiator
If your display in ioscan -fn does not match this pattern (assuming a tape and a CD on teh internal SCSI) then you almost certainly have a seating problem with the internal tape drive. I would have whatever tech installed the motherboard for you come back to reseat (or replace) the internal tape drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 07:23 AM
07-13-2000 07:23 AM
Re: tar: cannot open /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 10:12 AM
07-13-2000 10:12 AM
Re: tar: cannot open /dev/rmt/0m
"when I ran the lssf /dev/rmt/0m command, I received the following output:
stape card instance 1 SCSI target 0 SCSI LUN 0 at&t best destiny available at address ??? /dev/rmt/0m"
The ??? is intersting. It looks like the hardware path is invalid, which in HP-UX is translated from an instance number into a full hardware path inside the kernel. Try this:
rm -H 12/3.4.5.0
where 12/3.4.5.0 is replaced with the actual hardware path of the tape drive. This will remove the device files as well as the instance number from the kernel's memory.
Now check to see that /dev/rmt/0m is gone too (use lssf /dev/rmt/* to see all the tape devices). If it is still there but all device files assigned to the problem hardware address are gone, you can then remove /dev/rmt/0m by hand (nad any others that weren't removed by rmsf)
Now recreate the device files with:
insf -H 12/3.4.5.0
(again, replace 12/3.4.5.0 with your real hw path) and use lssf again to make sure there are device files assigned to this hardware address. If so, make sure 0m belongs to the hw address too...if it does not exist, you can either create a link between a correct device file and the 0m file, or simply duplicate the device file with mknod using the same major/minor numbers found in an ls -l listing of /dev/rmt/*.
Now try:
mt -t rew
(there must be a tape installed). If the tape is writable, try:
mt -t status
If these return correctly, tar should work like a champ.
Bill Hassell, sysadmin