System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to mirror two disks at 11.31(not MirrorDisk)

SOLVED
Go to solution
stephen peng
Valued Contributor

how to mirror two disks at 11.31(not MirrorDisk)

guys,
I am not familiar with 11.31, and I want to know is there a way to mirror two hard disks into one(as os' sight), not using MirrorDisk, I've got messages of one server that building its vg00 with a disk named /dev/disk/disk688, and I wonder whether the vg was mirrored.

thanks a lot!
6 REPLIES
likid0
Honored Contributor
Solution

Re: how to mirror two disks at 11.31(not MirrorDisk)

You have hardware raids, using raid controllers, like sas raid controllers or san storage with raid configurations.

But that is independent of the os.

Looks like you are getting confused with the 11.31 new agile view versus the old legacy view.

take a look at these 11.31 docs:

http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=3367813&targetPage=http%3A%2F%2Fbizsupport1.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc01915888%2Fc01915888.pdf
Windows?, no thanks
vishnu.khandare
Respected Contributor

Re: how to mirror two disks at 11.31(not MirrorDisk)

Hi Stephen,
can u please check whether pv used by that vg,
#vgdisplay -v vg00
if its 2 its software mirror,
And check ths #ioscan -fnC disk
If u get the IR VOLUME in root disk it means ur root disk hardware mirrored, it will show only one disk in vg00.

Hope this solves ur query.

Regards
Vishnu Khandare
You should deserve before U desire!!!!
S. Ney
Trusted Contributor

Re: how to mirror two disks at 11.31(not MirrorDisk)

I have an rx6600 itanuium and here is how I could tell I had a raid volume (hardware mirrored)The IR volume indicates RAID:
ioscan -funC disk
disk 0 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s3

If you have SAS drives you can use the sasmgr command (man sasmgr for full list of commands):
sasmgr get_info -D /dev/sasd0 -q raid
sasmgr get_info -D /dev/sasd0 -q lun=all
Steven E. Protter
Exalted Contributor

Re: how to mirror two disks at 11.31(not MirrorDisk)

Shalom,

Just for grins, can you post this output:

lvlnboot -v

Hardware raid is supposed to be transparent to the OS.

Look at the system and see if any of the drive lights is orange.

post the output of this command(s) please:

model

uname -a

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
stephen peng
Valued Contributor

Re: how to mirror two disks at 11.31(not MirrorDisk)

#vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4384
VGDA 2
PE Size (Mbytes) 32
Total PE 4375
Alloc PE 3952
Free PE 423
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2192g
VG Max Extents 70144

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1536
Current LE 48
Allocated PE 48
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 61440
Current LE 1920
Allocated PE 1920
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvswap
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/vg00/lvoracle
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1


--- Physical volumes ---
PV Name /dev/disk/disk688
PV Status available
Total PE 4375
Free PE 423
Autoswitch On
Proactive Polling On


#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk688 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk688
Root: lvol3 on: /dev/disk/disk688
Swap: lvol2 on: /dev/disk/disk688
Dump: lvol2 on: /dev/disk/disk688, 0

#ioscan -fnCdisk
disk 305 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 304 1/0/0/3/1.2.0 sdisk NO_HW DEVICE _NEC DVD_RW ND-3540A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 610 1/0/1/1/0/1/1.6.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
disk 697 1/0/2/1/0/4/0.1.9.0.0.1.5 sdisk CLAIMED DEVICE HP MSA VOLUME
/dev/dsk/c25t1d5 /dev/rdsk/c25t1d5
disk 702 1/0/2/1/0/4/0.1.9.0.0.2.2 sdisk CLAIMED DEVICE HP MSA VOLUME
/dev/dsk/c25t2d2 /dev/rdsk/c25t2d2
disk 690 1/0/2/1/0/4/0.1.10.0.0.1.5 sdisk CLAIMED DEVICE HP MSA VOLUME
/dev/dsk/c23t1d5 /dev/rdsk/c23t1d5
disk 695 1/0/2/1/0/4/0.1.10.0.0.2.2 sdisk CLAIMED DEVICE HP MSA VOLUME
/dev/dsk/c23t2d2 /dev/rdsk/c23t2d2

what should be in this situation?

regards
stephen
Andrew Rutter
Honored Contributor

Re: how to mirror two disks at 11.31(not MirrorDisk)

hi,

well it doesnt look like its mirrored from the lvlnboot output

I think you are looking at the same disk(lun) in the two ways with 11.31.

have a look at the option ou have in ioscan now and you should see how the two go together

#ioscan -funC disk
will show you the old h/w paths
#ioscan -fuNC disk
will show you the new h/w paths
#ioscan -m dsf
will show you both legacy and persistant device files for disks

depending upon what server you have? you could have hardware mirror in which case you would just see one physical volume with lvm commands.

other commands would give you more info on the raid if you have it?

Andy