- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
11-24-2000 06:57 AM
11-24-2000 06:57 AM
Disk mirroring
First hard disk is bootable disk which has OS and oracle installed. 2nd hard disk is unused and I want to make it mirror of first disk.
Here are steps that I am going to do.
1. pvcreate -B /dev/rdsk/c2t6d0
2. vgextend /dev/vg00 /dev/dsk/c2t6d0
3. mkboot /dev/dsk/c2t6d0
4. mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
6. lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0
7. lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0
8. lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0
9. lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0
10. lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0
11. lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0
12. lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0
13. lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c2t6d0
14. lvlnboot -R
c2t6d0 is 2nd disk.
Please correct me if you find anything missing or wrong
Thanks
Aftab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 07:06 AM
11-24-2000 07:06 AM
Re: Disk mirroring
Your number 2. step was fourth on my list.
I don't know if that matters.
lvlnboot -v will show that both disk are being used.#
lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c2t5d0 (10/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Root: lvol3 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Swap: lvol2 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 07:10 AM
11-24-2000 07:10 AM
Re: Disk mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 07:17 AM
11-24-2000 07:17 AM
Re: Disk mirroring
if you have installed Diagnostics then you could add the offline diags to the second disk
mkboot -b /usr/sbin/diag/lif/updatediaglif -l /dev/rdsk/c2t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 07:07 PM
11-24-2000 07:07 PM
Re: Disk mirroring
1. pvcreate -B /dev/rdsk/c2t6d0
2. vgextend /dev/vg00 /dev/dsk/c2t6d0
3. mkboot /dev/rdsk/c2t6d0
4. mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
5. lvextend -m 1 /dev/vg00/lvol1
6. lvextend -m 1 /dev/vg00/lvol2
7. lvextend -m 1 /dev/vg00/lvol3
8. lvextend -m 1 /dev/vg00/lvol4
9. lvextend -m 1 /dev/vg00/lvol5
10. lvextend -m 1 /dev/vg00/lvol6
11. lvextend -m 1 /dev/vg00/lvol7
12. lvextend -m 1 /dev/vg00/lvol8
13. lvextend -m 1 /dev/vg00/lvol9
14. cd /usr/sbin/diag/lif
15. mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c2t6d0
( This is to create a lif with all utilities on alternate boot disk. )
15. lvlnboot -R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 11:04 AM
12-05-2000 11:04 AM
Re: Disk mirroring
Another thing to check is that you probably want to mirror the volumes in the order in which they where created. The order the list on a vgdisplay should be accurate. If you have expanded any of them since you first built the system you may see a slight performance improvement if you mirror to this new disk, remove the primary, and then mirror back so everything is contiguous.
Finaly, you can use 'lifls -lv /dev/dsk/whatever' to check the lif information on each disk and make sure they are the same'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 03:29 PM
12-05-2000 03:29 PM