- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror Disk
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
03-24-2003 08:20 PM
03-24-2003 08:20 PM
How will I check if a given Disk in my system was configured as a mirror disk?
Thanks and regards...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:25 PM
03-24-2003 08:25 PM
SolutionThere is no direct method. You can do these procedures to check.
# vgdisplay -v /dev/vg00
From the output of this, grab say /dev/vg00/lvol4 and it will say how many used physical volumes "Used PV"
# lvdisplay -v /dev/vg00/lvol4
This will display the primary and secondary volumes for the logical volume. To confirm the disks in the volume group, check how many disks are in the volume group in the header of vgdisplay, and in the tail where each of the drives are listed.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:29 PM
03-24-2003 08:29 PM
Re: Mirror Disk
If you are asking about boot disk, then you would do the following
1. lvlnboot -v
Look for two boot disks. The boot, root, swap logical volumes should show both the disks.
2. Do a lifls /dev/dsk/cxtydz and it should print out the LIF information
3. lifcp /dev/dsk/cxtydz:AUTO -
should print the contents of AUTO file
4. Do an "lvdisplay -v /dev/vg00/lvolx" for all the logical volumes. The output should show the disks on which it is mirrored. Also in the lvdisplay output, you should "Mirror Copies" line.
For non-bootable disks, you need to do 'lvdisplay -v /dev/vgxx/lvolx' to find if the lvols are mirrored. To get the list of lvols on the system, do
vgdisplay -v |grep "LV Name" |awk '{print $3}'
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:17 PM
03-24-2003 10:17 PM
Re: Mirror Disk
Mirroring is implemented at the logical volume level
So just do a
lvdisplay -v lvol_name
check for the output for the field "Mirror copies" which should have a non-zero value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:55 PM
03-24-2003 10:55 PM
Re: Mirror Disk
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 11:12 PM
03-24-2003 11:12 PM
Re: Mirror Disk
As other guys comments there is no mirroring on disk level in HP unix, it's logical volumes based mirroring.
but if you want to find out disk is containing any mirrored volume then first you have to find out which volumes are using that disk with command.
pvdisplay -v /dev/dsk/cxtydz
it will give you details about disk used by LVM.
then you can see wheather volumes belong to that disks are mirrored or not using
lvdisplay -v /dev/vgXX/lvolYY
in out put of above command it will show physical/logical extent allocation if any volume is mirrored then in o/p you will get 2 physical extents map to one logical extent.
Regards
Sunil