- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cpio won't restore in a certain directory.
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
09-29-2005 06:49 AM
09-29-2005 06:49 AM
This is not a critical thing but an interesting thing I came across
Has anyone ever had a case where cpio would not restore files in a certain mounted directory
I am going through the process of replacing a few disk drives and found that when I create a directory /hmnt and mount a file system on it I can not do a cpio recover. I don't know why. I can mount the same file system on another mount point, a directory I created in /tmp the same way I created /hmnt (with the mkdir command) and cpio has no problem with it. I can touch or create files no problem from the command line. Cpio just sits there longer almost like its waiting on something.
Any ideas or answers?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:57 AM
09-29-2005 06:57 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:13 AM
09-29-2005 07:13 AM
Re: Cpio won't restore in a certain directory.
The only difference I can see in them is one is in the root directory and one is in /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 09:10 AM
09-29-2005 09:10 AM
Re: Cpio won't restore in a certain directory.
Without it root is restricted on the remote system.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 09:45 AM
09-29-2005 09:45 AM
Re: Cpio won't restore in a certain directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 10:06 AM
09-29-2005 10:06 AM
Re: Cpio won't restore in a certain directory.
umount the filesystem.
ls -l /
and then ls -l /tmp (if that is where the "good" mount is working)
Now mount the filesystem on /hmnt and do an ls -la /hmnt
bdf
df -kt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 10:11 AM
09-29-2005 10:11 AM
Re: Cpio won't restore in a certain directory.
cpio -i[c]vt < my.cpio and post that listing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 07:47 AM
10-06-2005 07:47 AM
Re: Cpio won't restore in a certain directory.
for now though I am closing the thread
thanks
H