- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- tar premission denied
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
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
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
тАО01-03-2008 02:13 AM
тАО01-03-2008 02:13 AM
when im trying to extract data from tape(HP DDS-3) im getting an error
tar:
the command which i gave to extract is
tar -xvf
i took the backup in to tape from one server and trying to extract it in to another server.
im struggling with this error from last 3 days..
plz help me out
o/s
TRU64 ALPHA(1.5A)--The One Which im extracting
TRU64 ALPHA(1.5B)--The One Which i took the backup to tape.
when i tried from root user it is extracting to root mountpoint.
plz gimme the solution
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 02:37 AM
тАО01-03-2008 02:37 AM
Re: tar premission denied
There could be problem on destination system w.r.t
(1) Permission on directory or directory itself not being present on dest m/c.
(2) If there is the block size problem; this might help
tar xvbf 1
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 02:40 AM
тАО01-03-2008 02:40 AM
Re: tar premission denied
Most common cause of not being able to write to tape:
1) Write tab is set to not permit writes.
I don't know why you posted to HP-UX. But in that OS tape drives are not shareable machine to machine. That could be your problem here. Not a solution but an explanation.
The way around it. I write a script that builds the tar file to disk, scp (password free) the file to the machine with the tape drive and ssh to that machine to actually write the file to tape.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 02:48 AM
тАО01-03-2008 02:48 AM
Re: tar premission denied
thanks for the reply
i tried with xvbf
getting the same error :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:00 AM
тАО01-03-2008 03:00 AM
Re: tar premission denied
Give:
tar -tvf tar_file
This will list the contents, check for the leading /
It will indicate whether it has absolute paths or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:00 AM
тАО01-03-2008 03:00 AM
Re: tar premission denied
How about the permission and ownership on the directory. Please compare between the 2 box.
May I have the command used for tar cvf and tar xvf for better understanding of the problem.
thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:02 AM
тАО01-03-2008 03:02 AM
Re: tar premission denied
>when i tried from root user it is extracting to root mountpoint<
It sounds as if you do not get the permission error when executing the tar extraction as root?
When you get the permission error, do you then use the same user (non-root) for the tar operations on both machines?
If yes, I guess that the users are not mapped to the same numeric id in /etc/passwd; just guessing, but this could explain the permission problem. Is that correct?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:03 AM
тАО01-03-2008 03:03 AM
Re: tar premission denied
tar -cvf /dev/tape/tape14c IN_CDRP_46_1-17_CT_SEP2007.dmp.gz IN_CDRP_46_1-17_CT_SEP2007.log
for extracting im giving the following command
tar -xvf dev/tape/tape14c IN_CDRP_46_1-17_CT_SEP2007.dmp.gz IN_CDRP_46_1-17_CT_SEP2007.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:32 AM
тАО01-03-2008 03:32 AM
Re: tar premission denied
thanks for replying.
im using different users on both the servers for backup and restore operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:45 AM
тАО01-03-2008 03:45 AM
Re: tar premission denied
It seems your version has completely different checking and error messages.
I'm asking this thread be moved to the right forum.