- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar doubt
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
11-18-2006 04:40 AM
11-18-2006 04:40 AM
Thanks
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2006 04:49 AM
11-18-2006 04:49 AM
Re: tar doubt
created. Some output from:
tar tvf /dev/rmt/0m
might be helpful in deciding.
If there are no absolute paths in the "tar"
file on the tape, then it should be good
enough to:
cd /restore/data
tar x....f /dev/rmt/0m
where "...." depends on your needs and/or
preferences. ("man tar".)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2006 05:04 AM
11-18-2006 05:04 AM
Re: tar doubt
Thanks
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2006 05:18 AM
11-18-2006 05:18 AM
Re: tar doubt
If it is /restore/data/ then you need to create a new file system /restore with 100 GB.
If it is restore/data then you can restore the file in a file system where you can have 100 GB.
If you cannot find 100 GB on your system you can consider restore files part by part
tar xfv /dev/rmt/0m /restore/data/files1*
then move files to another location restore sencond part
tar xfv /dev/rmt/0m /restore/data/file2*
To do this, you need to list the content on the tape with "tar tfv .."
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2006 05:22 AM
11-18-2006 05:22 AM
SolutionIf you're in "/restore/data" and the "tar"
file says "abc/def", a relative path, then
you normally get "/restore/data/abc/def".
If the "tar" file says "/abc/def", an
absolute path, then you normally get
"/abc/def" (no matter where you are).
Different "tar" and/or similar programs
("pax") may offer ways to get files with
absolute paths restored in other places, but
that's the normal behavior.
> Also this /restore/data if this is not a
> filesystem would fill up root correct?
If "/restore" does not aready exist,then it's
hard to do the "cd /restore/data" step. If
you simply do:
mkdir -p /restore/data
then, yes, it will be created in the root
file system ("/").
> the data size seems to be 100G.
So you had better have (or create) a file
system with 100GB of free space, and put the
data there. You're the one who said that you
wanted them to go into "/restore/data". I
assumed that that was a suitable place.