- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with TAR
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
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-19-2001 03:30 AM
02-19-2001 03:30 AM
Problem with TAR
I have a DLT 40/80 Tape. I wanted to restore thae content through remote machine. ( I dnt have DLT drive in the system where I wnat t restore). I used followng command
rsh i3sn03 dd if=/dev/rmt/2b | tar -xvf -
read: Not enough space
0+0 records in
0+0 records out
where i3sn03 is tha m/c where DAT drive is attched.
I always get not enough memory Why.
I added 1G swap but it gave same error
DLT has about 25G data. My Mount point has 35G fre space.
Can anybody help me
DKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 03:39 AM
02-19-2001 03:39 AM
Re: Problem with TAR
The command should work if you use 'remsh' as in:
remsh i3sn03 -n "dd if=/dev/rmt/2b" | tar -xvf -
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 03:45 AM
02-19-2001 03:45 AM
Re: Problem with TAR
DKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 03:51 AM
02-19-2001 03:51 AM
Re: Problem with TAR
If that doesn't work try looking at ~/.rhosts
If that works you might try GNU tar which has remote tarring via rmt. You would need to install on both systems and make sure you have it in the PATH first.
In my experience remote tarring is always a bit suspect. Have you thought of remote mounting the target via NFS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 04:00 AM
02-19-2001 04:00 AM
Re: Problem with TAR
Providing remote commands work (.rhosts files OK), try the following:
remsh i3sn03 -n "dd if=/dev/rmt/2b bs=10K" | tar -xvf -
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 06:16 AM
02-19-2001 06:16 AM
Re: Problem with TAR
> /usr/bin/remsh $HOST '/usr/bin/dd -if=/dev/rmt/c?t?d? bs=512b | /usr/bin/tar xvf -'
The problem in HP-UX is "rsh" is restricted shell, and will not work.
Depending on the topology of the network, you could try to add a "-n" to the remsh command.
> /path/remsh -n $HOST 'dd ...'
man remsh should give more.
As long as you can make the TCP/IP connection to the host, there should be no problem with this.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 07:24 AM
02-19-2001 07:24 AM
Re: Problem with TAR
remsh i3sn03 -n "dd if=/dev/rmt/2b ibs=10K" | tar -xvf -
may run
_____
No points for me , thank you.