- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Server to external hard drive copy?
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-02-2004 07:42 AM
тАО02-02-2004 07:42 AM
or
Maybe just make a Golden image using ignite then copy that to the server then copy that from the server to the SCSI hard drive?
I am looking for ideas to get an operating system and some apps to a hard drive. I ve looked into ignite but i would then be limited to 1MB/sec over ethernet and our ignite version is really old and cant be changed. But if i could hook the Hard Drive up to another machine then i would only be limited by the SCSI connection. Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 07:49 AM
тАО02-02-2004 07:49 AM
SolutionYes, it is possible. If the disks is of the same model you can use dd. If not, you can create filesystems and swap on the disk manualy, make the disk bootable and copy the cata with cpio. The necessary steps depends on if your boot disk has LVM or "whole disk" layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 07:52 AM
тАО02-02-2004 07:52 AM
Re: Server to external hard drive copy?
Yes you can. If you do 'dd', you will need to pay attention while booting the disk as it will copy the entire LVM and boot structure of the original disk onto the destination drive. When you boot the system off of that drive, you will need to either
1. Put the disk in exactly the same place as the original disk was
or
2. Interact with LVM maintenance mode and export /import vg00 with BDRA update using lvlnboot.
You can use ignite tape. Use make_tape_recovery to backup the image onto a tape and use it to build the new system. This way a lot of heacaches will be out of your way.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 09:47 AM
тАО02-02-2004 09:47 AM
Re: Server to external hard drive copy?
Like the other two have mentioned you can use the dd command ( dd if=/dev/rdsk/c?t?d? of=/dev/rdsk/c?t?d? bs=1024) . but keep in mind that the two servers must have identical hardware and that they will be the identical afterwards ( double ipadress ( set_parms initial to fix), same users and passwords hostname in databases? etc. This will take time to correct. Ignite could be faster with just 1 MB/sec.
Just a thought.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 01:13 PM
тАО02-02-2004 01:13 PM
Re: Server to external hard drive copy?
lvextend -m 1 /dev/vg00/lvol# /dev/dsk/c#t#d#
You could mirror everything to it, connect it to a new system and possibly even boot off the darn thing and mirror back to the internal drives on the next server.
Might work.
I'm posting in my complete system mirroring procedure.
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com