![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove os mirrored disk Solaris 10 | AQG | SUN Solaris | 3 | 01-10-2008 08:00 AM |
| restore mirrored root | bonovox | SUN Solaris | 1 | 02-20-2007 05:40 AM |
| Solaris 10 not booting with mirrored disk | nitinp82 | UNIX for Dummies Questions & Answers | 1 | 01-25-2007 06:48 AM |
| Mirrored disk..... | balaji_prk | AIX | 7 | 12-23-2005 04:26 AM |
| Number of Disk Mirrored in HP-UX | cgege | HP-UX | 2 | 02-27-2004 07:13 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
How can I list mirrored elements, such as PV, VG or LV? (and others if applicable). On AIX 4.3.3 and 5.3.0. I tried the commands:
Thanks for your help Yann |
| Forum Sponsor | ||
|
|
|
|||
|
First run the command lspv | grep vgname. This will give you the pvs in the vg. then run the command lsvg -l vgname and look at the LPs and PPs. If it is mirrored the PPs will be double the LPs. That is the easiest method.
|
|
|||
|
Hi,
Thank you both, now I can see mirrored LVs. More information : root> lslv -m lv01 |head lv01:/data LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0111 hdisk2 0300 hdisk8 0002 0112 hdisk2 0110 hdisk9 0003 0113 hdisk2 0111 hdisk4 0004 0114 hdisk2 0292 hdisk3 0005 0115 hdisk2 0292 hdisk5 0006 0116 hdisk2 0301 hdisk8 0007 0117 hdisk2 0111 hdisk9 0008 0118 hdisk2 0112 hdisk4 (there are 900 lines of these). So I can see this lv is mirrored, thanks! It works for the lspv command too: > lspv -M hdisk1|head hdisk1:1 hd5:1:1 hdisk1:2-15 hdisk1:16 bpslv:186:1 hdisk1:17 bpslv:187:1 hdisk1:18 bpslv:188:1 hdisk1:19 bpslv:189:1 hdisk1:20 bpslv:190:1 hdisk1:21 bpslv:191:1 hdisk1:22 bpslv:192:1 hdisk1:23 bpslv:193:1 > lspv -M hdisk0|head hdisk0:1 hd5:1:2 hdisk0:2-37 hdisk0:38 bpslv:186:2 hdisk0:39 bpslv:187:2 hdisk0:40 bpslv:188:2 hdisk0:41 bpslv:189:2 hdisk0:42 bpslv:190:2 hdisk0:43 bpslv:191:2 hdisk0:44 bpslv:192:2 hdisk0:45 bpslv:193:2 The last column is the "Copynum" (Mirror number), which indicates I guess that here hdisk0 and hdisk1 are mirrored. However, the command lsvg does not seem to have such a way to see mirrored VGs. That's strange, because in the man of syncvg, it says "The syncvg command can be used with logical volumes, physical volumes, or volume groups (...)". So now it seems I can get (painfully) most of the information I am looking for. However, I am wondering if there is a graphical tool to "see" in a more user friendly way all the information linked to hd, pv, vg, lv, etc. I googled for such a tool, but I probably did no put the correct keywords to find it. Even if I do like command line, sometimes it is good to have a graphical way to present information. Thanks Yann |
|
|||
|
Probably you need the Web Based System Manager...
I searched the way it handles the mirroring, but that's still something that isn't really well depicted there... But there are A LOT of other features.. things you need: - http server on your aix box - wsm_remote bundle installed if all that is ok --> you go on your remote box to the website: http://aix_box/remote_client.html there you can download the setup of the Remote Client for windows or Unix. It's a really handy tool. grtz |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|