- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Check disk mirror on the HPUX server
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
12-20-2005 03:48 AM
12-20-2005 03:48 AM
Disk mirroring is enabled on our HP-UX server running 11.11 U 9000/785. How do I test mirroring ? Basically to check both the disk has same data and other disk can boot incase of primary fails.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:54 AM
12-20-2005 03:54 AM
Re: Check disk mirror on the HPUX server
the mirrored disks. Mirrored logical volumes should show 2 used disks.
Do a lvdisplay -f on the logicial volume. It will list the logical blocks of the volume,
physicial mapping on each disk, and
syncronization status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:57 AM
12-20-2005 03:57 AM
Re: Check disk mirror on the HPUX server
the only way you can verify that the mirroring is going to work or is okay is by rebooting the server with your mirror disk and make sure the primary is out of the slot.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:00 AM
12-20-2005 04:00 AM
Re: Check disk mirror on the HPUX server
Output like:
# chkdisks
Logical Volume Filesystem Mirrored?
-------------- ---------- ---------
/dev/vg00/lvol1 /stand yes
/dev/vg00/lvol2 yes
/dev/vg00/lvol3 / yes
/dev/vg00/lvol4 /tmp yes
/dev/vg00/lvol5 /home yes
/dev/vg00/lvol6 /opt yes
/dev/vg00/lvol7 /usr yes
/dev/vg00/lvol8 /var yes
/dev/vg00/lvol9 /app yes
/dev/vg00/lvol10 /ops yes
/dev/vg00/lvol11 /data yes
/dev/vg00/lvol12 /opt/cctool yes
/dev/vg00/lvol13 /var/opt/perf/datafiles yes
/dev/vg00/lvol14 /usr/openv yes
/dev/vg00/lvpub yes
/dev/vg01/lvol2 /var/adm/crash yes
/dev/vg01/swap yes
lvlnboot -v to check if disk is bootable:
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c20t5d0 (0/0/0/3/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c20t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c20t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c20t5d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c20t5d0, 0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:03 AM
12-20-2005 04:03 AM
Re: Check disk mirror on the HPUX server
About booting:
be sure you put both disks in the boot search path:
$ setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is OFF (disabled)
Do a man of setboot...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:07 AM
12-20-2005 04:07 AM
Re: Check disk mirror on the HPUX server
lvlnboot -v
This will tell ypu if the boot partition has been installed on both disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:51 AM
12-20-2005 04:51 AM
Re: Check disk mirror on the HPUX server
Can you let me know
--- Physical volumes ---
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4340
Free PE 674
Autoswitch On
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 4340
Free PE 674
Autoswitch On
What does it mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:57 AM
12-20-2005 04:57 AM
Re: Check disk mirror on the HPUX server
Multiply the PE by PE Size (Mbytes) to get space in MB.
IE - if youe PE Size is 8, then your disk are 34720 MB in size with 5392 MB free.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:59 AM
12-20-2005 04:59 AM
Re: Check disk mirror on the HPUX server
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 05:01 AM
12-20-2005 05:01 AM
Re: Check disk mirror on the HPUX server
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 05:04 AM
12-20-2005 05:04 AM
Re: Check disk mirror on the HPUX server
So in this scenario I have 5GB of free space, to make use of it I need to mount it as LV correct as another partition ?
Rgds...ASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 05:05 AM
12-20-2005 05:05 AM
Re: Check disk mirror on the HPUX server
I hope quitting time gets here soon!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 05:18 AM
12-20-2005 05:18 AM
SolutionTo use the additional physical disk extents that yuo have free, you can either 'lvextend' an existing logical volume, thus adding them to it or 'lvcreate' a new logical volume.
In either case, the logical volume is only a container for a file system. Thus, if you 'lvextend' an existing logical volume, you will want to follow that with an enlargement of the file system contained therein. Assuming a JFS (VxFS) filesystem, you would use 'fsadm' to grow the filesystem.
If you are creating a new logical volume, then you follow that with the creation of a new filesystem within it, with 'newfs'.
An excellent manual section for you to read is chapter-6 of the "Magaging Systems and Workgroups" guide:
http://docs.hp.com/en/B2355-90912/B2355-90912.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 05:25 AM
12-20-2005 05:25 AM
Re: Check disk mirror on the HPUX server
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 08:05 AM
12-21-2005 08:05 AM
Re: Check disk mirror on the HPUX server
1. vi /stand/bootconf - make sure both discs are listed.
2. ioscan -fnC disk - look at the hardware path for each disk, then run. setboot -p 0/0/0/0.0.0 (substitute hw path for primary boot drive) and setboot -a 0/0/0/0.0.0 (hw path for secondary boot drive).
3. lvlnboot -R. this updates the boot area on the drives.
4. reboot & interrupt the boot process when prompted. at the prompt, type boot alt then say no to interact and it should boot off the second disk.
5. once you're up and running, type this:
echo boot_string/S | adb /stand/vmunix /dev/kmem
this should return the hardware path of the system you're booted off of. make sure it says the hw path for your second device. to go back, shutdown -ry 0, interrupt, boot pri and it should come back up on the original disk.