Operating System - HP-UX
1833777 Members
2677 Online
110063 Solutions
New Discussion

Mirrors and High Availability

 
SOLVED
Go to solution
Alex Almaraz
Regular Advisor

Mirrors and High Availability

Hi there Gurus,

I need to know if the HP-UX servers we manage have a Mirror for the OS File Systems. I opened the SAM and it says Mirror Copies = 1 in the "Disks and File Systems item" (/var, /, etc.)
I suppose this is what I am finding,

do you have some commands to see more detailed information about? How to see if the other File Systems have a Raid 5 or Mirror?

Best regards
8 REPLIES 8
nanan
Trusted Contributor
Solution

Re: Mirrors and High Availability

Hi Alex

Use vgdisplay -v vg00 and lvdisplay -v /dev/vg00/lvols

you can see the information you want

Regards
nanan
Pete Randall
Outstanding Contributor

Re: Mirrors and High Availability

Doing lvdisplay on the logical volume containing the file system in question will give you the definitive answer:

# lvdisplay /dev/vg00/lvol9
--- Logical volumes ---
LV Name /dev/vg00/lvol9
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1

-etc-


However, if you are using a SAN or some sort of array, you may well have hardware mirroring and the only way to get info on that depends on what utility your array uses.


Pete

Pete
IT_2007
Honored Contributor

Re: Mirrors and High Availability

You will know it by running lvdisplay -v /dev/vg??/lvol??? and it will look like this:

--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4704
Current LE 294
Allocated PE 588
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Steven E. Protter
Exalted Contributor

Re: Mirrors and High Availability

Shalom,

lvlnboot -V

vgdisplayh -v vg00

lvdisplay -v the logical volumes within.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alex Almaraz
Regular Advisor

Re: Mirrors and High Availability

Guys,

Is this the same command to look for RAID 5 devices on FS? or what do I need to execute for this purpose?

Regards
Pupil_1
Trusted Contributor

Re: Mirrors and High Availability

do can ioscan -funC disk.
You should be able to make out from this o/p about the raid level !!
There is always something new to learn everyday !!
Patrick Wallek
Honored Contributor

Re: Mirrors and High Availability

HP-UX LVM can NOT do any RAID5. If you have a disk array, then that would be done at the array level.

You would have to check the disk array itself to see whether or not it is doing RAID5.

The command to do this will depend entirely on the type of array you have.
Alex Almaraz
Regular Advisor

Re: Mirrors and High Availability

Thanks for all your responses.

Regards