- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Accesing the tape drive from server
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
02-13-2004 01:40 AM
02-13-2004 01:40 AM
Accesing the tape drive from server
Could any one please tell, how to access the tape drive from the remote server.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:43 AM
02-13-2004 01:43 AM
Re: Accesing the tape drive from server
backupcommand hostname:/dev/rmt/xxx
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:47 AM
02-13-2004 01:47 AM
Re: Accesing the tape drive from server
Thanks for the reply. I receved the following message.
dd if=cctest:/dev/rmt/0m of=/dev/null bs=2048
cctest:/dev/rmt/0m: No such file or directory
dd: cannot open cctest:/dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:49 AM
02-13-2004 01:49 AM
Re: Accesing the tape drive from server
check the device files :
ioscan -fnkCtape
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:50 AM
02-13-2004 01:50 AM
Re: Accesing the tape drive from server
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c1t0d0BESTn
/dev/rmt/0mb /dev/rmt/c1t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c1t0d0DDS
/dev/rmt/0mnb /dev/rmt/c1t0d0DDSb
/dev/rmt/c1t0d0BEST /dev/rmt/c1t0d0DDSn
/dev/rmt/c1t0d0BESTb /dev/rmt/c1t0d0DDSnb
tape 1 8/16/5.5.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/1m /dev/rmt/c1t5d0BESTn
/dev/rmt/1mb /dev/rmt/c1t5d0BESTnb
/dev/rmt/1mn /dev/rmt/c1t5d0DDS
/dev/rmt/1mnb /dev/rmt/c1t5d0DDSb
/dev/rmt/c1t5d0BEST /dev/rmt/c1t5d0DDSn
/dev/rmt/c1t5d0BESTb /dev/rmt/c1t5d0DDSnb
[cctest02]: /root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:51 AM
02-13-2004 01:51 AM
Re: Accesing the tape drive from server
Your commando would become:
remsh cctest -n "dd if=/dev/rmt/0m bs=2048" | dd of=/dev/null bs=2048
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:53 AM
02-13-2004 01:53 AM
Re: Accesing the tape drive from server
Try,
rsh
Also check this link (really good one)
http://www.sunmanagers.org/archives/1997/0549.html
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:54 AM
02-13-2004 01:54 AM
Re: Accesing the tape drive from server
I would like to restore the data from the remote tape drive onto the local server. I am not sure remsh can do that. If so please tell how?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:55 AM
02-13-2004 01:55 AM
Re: Accesing the tape drive from server
rsh
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 03:22 AM
02-13-2004 03:22 AM
Re: Accesing the tape drive from server
The following is the result.
rsh cctest dd if=/dev/rmt/0m bs=126b | tar -xvpBfb - 126 inittab
tar: B: unknown option
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] f.
rsh: cctest: not found
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 05:01 AM
02-13-2004 05:01 AM
Re: Accesing the tape drive from server
You could just write the tape out to a file on that system and then copy it over to your local, or ftp it over to your local.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 05:14 AM
02-13-2004 05:14 AM
Re: Accesing the tape drive from server
Just export the filesystem from the machine you want the data to arrive on to the machine that has the tape drive. Then use your normal restore command, either from the remote machine or as a "remsh" from th second one..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 06:40 AM
02-13-2004 06:40 AM
Re: Accesing the tape drive from server
>The following is the result.
>rsh cctest dd if=/dev/rmt/0m bs=126b | tar -xvpBfb - 126 inittab
>tar: B: unknown option
This one is quite simple: remove the 'B' option. I don't know what you want with it, but your TAR version running on the HP-UX box doesn't support it.
>tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] f.
This is caused by the 'B' option too.
>rsh: cctest: not found
Ah. This is a nice one. Your problem is the difference between hp-ux and some other ux's.
rsh == restricted shell
remsh == remote shell.
What you want is the latter, so replace the rsh with remsh.
This should do the trick, I guess, or give errors like host not found or access denied, two possible other problems. But those we will get to when you tested this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 09:16 AM
02-13-2004 09:16 AM
Re: Accesing the tape drive from server
is there something missing in this thread? How is the data put on tape? tar,fbackup?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2004 12:35 AM
02-16-2004 12:35 AM
Re: Accesing the tape drive from server
The following is the output after modification.
# remsh cctest01 dd if=/dev/rmt/0m bs=126b | tar -xvpfb -126 inittab
Invalid blocksize. (Max 64)
The data is copied using tar.
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2004 04:13 AM
02-16-2004 04:13 AM
Re: Accesing the tape drive from server
use:
remsh cctest01 "dd if=/dev/rmt/0m" | tar xvpf - inittab
Michael