- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Noob At Volume Manipulation
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
Discussions
Discussions
Forums
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
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-21-2011 06:50 AM
тАО02-21-2011 06:50 AM
Re: Noob At Volume Manipulation
However, you should mirror your boot disk and do the "backup" on a third disk!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 06:56 AM
тАО02-21-2011 06:56 AM
Re: Noob At Volume Manipulation
Using all the suggest scripts, lifeboats are not working, can't see how they ever did, but trying an exact copy of syntax that they supply shows errors.
SO, the original question still stands, how to make an exact copy of a disk to another disk without mirroring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 07:17 AM
тАО02-21-2011 07:17 AM
Re: Noob At Volume Manipulation
The system did what you told to do, create a file named /dev/vg01/standb.
If you do this kind of "copy", take vg00/rlvol1 as source, vg01/rlvol1 as destination (lvol to lvol).
Better use DRD, if you run 11.23 or 11.31!!!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 09:37 AM
тАО02-21-2011 09:37 AM
Re: Noob At Volume Manipulation
Shows blocks copied, but I can't find where they went:
Filesystem kbytes used avail
/dev/vg00/lvol5 114688 26368 87696 23% /home
***************************************
/dev/vg01/lvol5b 114688 1206 106461 1% /homeb
dd if=/dev/vg00/lvol5 of=/dev/vg01/lvol5b bs=8000
No different in the file sizes, so, where did it actually go to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 09:48 AM
тАО02-21-2011 09:48 AM
Re: Noob At Volume Manipulation
dd if=/dev/rdsk/c1t6d0 of=/dev/rdsk/c2t6d0 bs=8000k
This command will make an exact copy of disk c1t6d0 to disk c2t6d0.
If you just need an exact copy, then modify your dd accordingly.
If should look something like:
dd if=/dev/rdsk/c2t1d0 of=/dev/rdsk/c3t0d0 bs=8000k
Now if disk c2t1d0 goes down, you can replace it with the other disk and boot normally.
I would quit trying to muck with dd'ing from one LV to another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:23 AM
тАО02-21-2011 10:23 AM
Re: Noob At Volume Manipulation
Thx for the response.
I did the copy as you suggested and as was suggested in previous posts, however, going from /dev/vg00/lvol5 to /dev/vg01/homeb doesn't show anything other than a big old file under as showed earlier.
Shouldn't I be able to see something go to the other disk? Shouldn't I be able to see files on the destination disk?
Do I have to mount the destination disk?....like I said, noob at this and I'm not getting any decent help here. Sorry guys, but it is what it is...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:32 AM
тАО02-21-2011 10:32 AM
Re: Noob At Volume Manipulation
I already told you, this is wrong.
You copy the LVOL to a file.
What is your OS version???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:38 AM
тАО02-21-2011 10:38 AM
Re: Noob At Volume Manipulation
My OS is; HP-UX ptcsrv3 B.11.23
Also, when I try:
# dd if=/dev/rdsk/c2t1d0 of=/dev/rdsk/c3t0d0 bs=8000
dd read error: Invalid argument
0+0 records in
0+0 records out
Wow, my ignorance is frustrating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:41 AM
тАО02-21-2011 10:41 AM
Re: Noob At Volume Manipulation
# drd clone -p -v -t /dev/dsk/c3t0d0
(if c3t0d0 is your empty disk)
This makes a (bootable!) clone of the current boot disk. (-p is for preview)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:49 AM
тАО02-21-2011 10:49 AM
Re: Noob At Volume Manipulation
You can boot this clone directly, you can even install patches on the inactive image or mount it easily.
The disadvantage of "dd":
You cannot boot this disk without change the slot or adjust the LVM configuration, you cannot (should not) even mount it without changing the VG id.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- « Previous
-
- 1
- 2
- Next »