- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vxrestore -rf hangs
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-07-2005 03:06 AM
02-07-2005 03:06 AM
vxrestore -rf hangs
We have several 300GB databases to copy from one filesystem to another. We are getting the best performance with the following command:
vxdump 0f - $SRC|dd bs=8192|(cd $DEST;vxrestore xf - )
However, I don't know how to work around the annoying question:
set owner/mode for '.'? [yn]
I have tried all ways I can think of to pipe the "y" response into the command, but that causes the "y" to be stdin and messes up the pipe.
The easy fix would be to run
vxdump 0f - $SRC|dd bs=8192|(cd $DEST;vxrestore rf - )
However, every time I try this, only 123375 blocks copy and then it just hangs with vxrestore using 97% CPU.
I have tried with and without the dd in the pipe, I even added a dd before the vxrestore as well.
Any ideas on how to make this work unattended?
We are running on HPUX 11.11, VxFS 3.5.
Thanks, Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:16 AM
02-07-2005 03:16 AM
Re: vxrestore -rf hangs
can you do anything with the -e ignore option?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:20 AM
02-07-2005 03:20 AM
Re: vxrestore -rf hangs
vxdump -0 -f - -s 1000000 -b 16 $SRC | (cd $DEST; vxrestore rf -)
no need to dd
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:35 AM
02-07-2005 03:35 AM
Re: vxrestore -rf hangs
vxdump 0f - $SRC|dd bs=8192|(cd $DEST;vxrestore xef ignore - )
vxrestore -rf does not work for the reasons I already gave. Perhaps this is a problem for the response center?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:38 AM
02-07-2005 03:38 AM
Re: vxrestore -rf hangs
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:47 AM
02-07-2005 03:47 AM
Re: vxrestore -rf hangs
This command hangs in the exact same block count as before. Here is the cut&paste of the command I ran as you suggested:
vxdump -0 -f - -s 1000000 -b 16 $SRC | (cd $DEST; vxrestore rf -)
For clarification, when I use vxrestore -xf, I do not have this problem.
I have removed the dd for testing, however the copy runs faster with it in the pipe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 03:57 AM
02-07-2005 03:57 AM
Re: vxrestore -rf hangs
Here's a dumb question - is there enough space in the $DEST file system?
Also, are they setup the same way? (largefile support, etc, and mounted that way)
fsadm -v $SRC
fsadm -v $DEST
fstyp -v /dev/vgXX/rlvolSRC
fstyp -v /dev/vgXX/rlvolDEST
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:09 AM
02-07-2005 05:09 AM
Re: vxrestore -rf hangs
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:12 AM
02-07-2005 05:12 AM
Re: vxrestore -rf hangs
ordb3te> bdf -l /PCH_DB_NEW
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/dbpch/vol01
424225792 123375 397596024 0% /PCH_DB_NEW
ordb3te> bdf -l /PCH_DB_NEW
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/dbpch/vol01
424225792 126155 397593415 0% /PCH_DB_NEW
ordb3te>
So, apparently, vxrestore is not completely hung.