- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Copy lv
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-12-2001 07:33 AM
02-12-2001 07:33 AM
Copy lv
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:43 AM
02-12-2001 07:43 AM
Re: Copy lv
Not sure to fully understand your question, but if you want an exact copy of a logical volume, you could turn mirroring on with:
'lvextend -m1 lv_path', providing you have enough unassigned disk space in the same volume group. If not, you may add a physical volume to your volume group with SAM or 'vgextend'.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:47 AM
02-12-2001 07:47 AM
Re: Copy lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:48 AM
02-12-2001 07:48 AM
Re: Copy lv
If you just want to copy all the files, ownerships and permissions to another volume, use this:
cd /source_location
find . -xdev | cpio -pudlmv /new_location
The -v option in cpio will show all the files/directories as they are copied but on a slow terminal, this can slow the process down.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:57 AM
02-12-2001 07:57 AM
Re: Copy lv
Bill is right, like usual ;-)
I wouldn't use the 'l' flag for cpio as this one would link files rather than copying.
Should read '...cpio -pdvum ...' instead.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 08:24 AM
02-15-2001 08:24 AM
Re: Copy lv
Transfer speed was 84 GB/Hour using TAR
cd /home/npd
time tar cf - . | (cd /home/npd.new; tar xf - )
Transfer speed was 21GB/Hour using FBACKUP & FRECOVER
cd /home/npd
time fbackup -f - -i . | (cd /home/npd.new; frecover -Xrf -)
The dash after the f flag specifies standard input and output.