hi every body
i want to know which command tell me more detailes to know the 2 disks mirrored or not ? in group like vg00
This will make you think so:
ant:/home/vbe $ vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 7966
Free PE 714
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
so for confirmation:
choose a lvol: the first one?
ant:/home/vbe $ lvdisplay /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
ant:/home/vbe $
So would the output of vgdisplay -v ...
---------- Post updated at 13:37 ---------- Previous update was at 12:07 ----------
I should add:
To be able to mirror on HP-UX depends on what OS release you have, and so may be an option you have to pay for :
ran:/home/vbe $ swlist |grep irro
B2491BA B.11.11 MirrorDisk/UX
In other words, if this command doesnt return anything doesnt mean you cannot, e.g if your environment is a mission-critical environment it will be included in the OS
i want to know if i have 2 disk mirrored disks before or not i am not the owner of this machine this is the first time to work in this machine
Whats wrong with the given answers?
If on linux you'll see devices named md* on df(1) if you have RAID configured.
Oops, didn't see that it was on HP-UX .
maxim42, you have to take a closer look to vbe's output:
Current LE 38
Allocated PE 76
The example Logical Volume he shows has twice as many physical extents that logical which shows that it is mirrored (I guess that's just similar to AIX LP and PP, Logical Partitions and Physical Partitions - just as I sneaked in here :D).