HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copy all data of the disk
Operating System - HP-UX
1840287
Members
3483
Online
110162
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-07-2008 05:15 AM
08-07-2008 05:15 AM
copy all data of the disk
Hi everyone!
I have hp-ux 11.23 sever and EVA8100.
Disks
/vg01/lv01
/vg02/lv02
has information.
disks
/vg03/lv03
/vg04/lv04
/vg05/lv05
/vg06/lv06
are empty.
I need to make 2 copy all data.
Disk size of all disk the same.
How can i do this quickly?
That is the best practice?
cp? dd? EVA tools (snapcopy)?
Best Regards,
Judi.
I have hp-ux 11.23 sever and EVA8100.
Disks
/vg01/lv01
/vg02/lv02
has information.
disks
/vg03/lv03
/vg04/lv04
/vg05/lv05
/vg06/lv06
are empty.
I need to make 2 copy all data.
Disk size of all disk the same.
How can i do this quickly?
That is the best practice?
cp? dd? EVA tools (snapcopy)?
Best Regards,
Judi.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 05:45 AM
08-07-2008 05:45 AM
Re: copy all data of the disk
you can use dd and the raw dfs.
dd if=/dev/vg0X/rlv01 of=/dev/vg0X/rlv02 bs=64k
I guess you get the best performance with mirroring the content directly on the storage system, depending on how large the volumes are
Change is the transformation of what is already known
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 05:47 AM
08-07-2008 05:47 AM
Re: copy all data of the disk
Hi Judi:
lets start at the beginning, you've listed this as your disks:
Disks
/vg01/lv01
/vg02/lv02
These are not disks. /vg01 is a volume groups that you display using the 'vgdisplay' command. And lv01 and lv02 are logical volumes or pie slices of the volume group. Display information using 'lvdisplay'.
Either command using the -v option will report the disks used to store this information. For example:
vgdisplay -v vg01 | grep "PV Name"
pvdisplay -v /dev/dsk/c#t#d# | more
lvdisplay -v /dev/vg01/lv01 |more
Your going to have to get the disk size, which could be 73 GB on the small side, and then find room to store it in. To do this your going to have to cross reference 'ioscan -funC disk' with the 'vgdisplay -v | grep "PV Name" outputs. This 'vgdisplay' command will list every currently used disk. 'ioscan' will report both used and unused disks. Find the unused disks. Verify their sizes against the used disks with 'diskinfo -v /dev/dsk/c#t#d#'. Then use the 'dd' command to move all the data:
dd if=/dev/dsk/c#t#d# of=C#t#d# bs=1024
Follow through on these steps and report back what you find regarding space.
lets start at the beginning, you've listed this as your disks:
Disks
/vg01/lv01
/vg02/lv02
These are not disks. /vg01 is a volume groups that you display using the 'vgdisplay' command. And lv01 and lv02 are logical volumes or pie slices of the volume group. Display information using 'lvdisplay'.
Either command using the -v option will report the disks used to store this information. For example:
vgdisplay -v vg01 | grep "PV Name"
pvdisplay -v /dev/dsk/c#t#d# | more
lvdisplay -v /dev/vg01/lv01 |more
Your going to have to get the disk size, which could be 73 GB on the small side, and then find room to store it in. To do this your going to have to cross reference 'ioscan -funC disk' with the 'vgdisplay -v | grep "PV Name" outputs. This 'vgdisplay' command will list every currently used disk. 'ioscan' will report both used and unused disks. Find the unused disks. Verify their sizes against the used disks with 'diskinfo -v /dev/dsk/c#t#d#'. Then use the 'dd' command to move all the data:
dd if=/dev/dsk/c#t#d# of=C#t#d# bs=1024
Follow through on these steps and report back what you find regarding space.
Support Fatherhood - Stop Family Law
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP