- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Internal disk Mirroring
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
тАО10-02-2005 07:46 PM - last edited on тАО08-24-2014 08:02 PM by Lisa198503
тАО10-02-2005 07:46 PM - last edited on тАО08-24-2014 08:02 PM by Lisa198503
Hi all,
I am configuring a rp3440 server with two 36.4 GB internal disks and 8 GB physical memory. Only one disk is used currently. I have mirror s/w and online JFS installed. I need to create additional swap volumes and mirror all volumes to another disk.
Can anybody help me doing this?
Regards
Mostafa
P.S. This thread has been moved from HP-UX Technical Documentation to LVM and VxVM. -HP Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2005 07:54 PM
тАО10-02-2005 07:54 PM
Solutionlvcreate -C y -r n /dev/vg00
Note it down.
(Better to create it on a different disk than the primary swap and set priority same as primary swap)
Update it in /etc/fstab file
/dev/vg00/lvolx . swap pri=x 0 0
Mirroring.
1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tell pvcreate that this will be a
bootable disk.
2) Add the physical volume to the volume group
vgextend /dev/vg0o /dev/dsk/c1t6d0
3) Use mkboot to place the boot utilities in the boot area and add
the AUTO file.
mkboot /dev/dsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
4) Use mkboot to update the AUTO file on the primary boot
disk.
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p HPUX -p AUTO -p LABEL -p PAD
/dev/rdsk/c1t6d0
updatediaglif2 it is 64 bit kernel.
5) Mirror the stand, root and swap logical volumes
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
Note: LVM will resynchronize the new mirror copies. This step will
takes several minutes
Repeat the lvextend for all other logical volumes on the boot
mirror.
6) Modify your alternate boot path to point to the mirror copy of the
boot disk.
setboot -a 8/8.6.0 # Use the Hardware path for your new
boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2005 07:55 PM
тАО10-02-2005 07:55 PM
Re: Internal disk Mirroring
To add additional swap, check the url below (docID : KBRC00002148) about 'how to increase system swap'.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079993798
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080021750
For your system, I refer you to create another file system as swap file system.
To mirror the boot disk, check the url below (docID : LVMKBRC00005103) about 'How to create a Mirrored Boot Disk on PA-RISC Systems - Cookbook'
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080811535
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2005 07:55 PM
тАО10-02-2005 07:55 PM
Re: Internal disk Mirroring
Check this threads.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=139873
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106199
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2005 08:05 PM
тАО10-02-2005 08:05 PM
Re: Internal disk Mirroring
The links provide perfect methods to achive the mirroring. For creating the additional swap you can create LVOL either through command line or using SAM. It will e easy do do this through SAM while creating in usage select usage as swap.
Another point to note will be to update AUTO file of both disks to contain "hpux -lq" so that both can boot independently without interruption.
Also mirror the swap as well onto both disks.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:54 PM
тАО10-04-2005 08:54 PM
Re: Internal disk Mirroring
Could you please tell me what is the purpose of the following command? Can I skip it?
#mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p HPUX -p AUTO -p LABEL -p PAD
/dev/rdsk/c1t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:57 PM
тАО10-04-2005 08:57 PM
Re: Internal disk Mirroring
In attachment you find a good script to mirror your boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:58 PM
тАО10-04-2005 08:58 PM
Re: Internal disk Mirroring
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:59 PM
тАО10-04-2005 08:59 PM
Re: Internal disk Mirroring
-Arun