Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi guys,
On a 2-node cluster where each node has 2 drbd devices, why does iostat
on cluster node HA03 show only drb0, while node HA04 shows both drbd0
and drbd1?
HA03:
[root at ha03 ~]# iostat
Linux 2.6.18-92.1.22.el5PAE (ha03.mycharts.md) 05/08/2009
avg-cpu: %user %nice %system %iowait %steal %idle
0.60 0.01 0.74 1.26 0.00 97.40
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 90.36 3556.48 737.54 1132380817 234833149
dm-0 179.58 3524.76 620.27 1122280905 197492218
dm-1 4.57 0.12 36.45 39725 11606789
drbd0 160.86 3524.68 521.18 1122255260 165942472
[root at ha03 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.0.14 (api:86/proto:86)
GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by
root at ha03.mycharts.md, 2008-12-23 04:36:40
m:res cs st ds p mounted
fstype
0:ha_mysql Connected Primary/Secondary UpToDate/UpToDate C /ha_mysql
ext3
1:ha_ftp Connected Secondary/Primary UpToDate/UpToDate C
HA04:
[root at ha04 ~]# iostat
Linux 2.6.18-92.1.22.el5PAE (ha04.mycharts.md) 05/08/2009
avg-cpu: %user %nice %system %iowait %steal %idle
0.14 0.01 0.29 0.89 0.00 98.68
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 69.39 544.57 867.66 173600433 276599076
dm-0 91.51 437.38 614.05 139431239 195751408
dm-1 11.47 95.84 36.58 30552183 11660807
drbd0 25.13 437.30 91.74 139405546 29246048
drbd1 11.30 95.71 36.43 30512394 11611928
[root at ha04 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.0.14 (api:86/proto:86)
GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by
root at ha04.mycharts.md, 2008-12-22 06:11:56
m:res cs st ds p mounted
fstype
0:ha_mysql Connected Secondary/Primary UpToDate/UpToDate C
1:ha_ftp Connected Primary/Secondary UpToDate/UpToDate C /ha_ftp
ext3
--------------
BONUS QUESTION
--------------
Why does the lvdisplay command on HA04 preceed ever line of output with
the word "lvdisplay?" Node HA03 does not do this.
[root at ha04 ~]# lvdisplay
lvdisplay --- Logical volume ---
lvdisplay LV Name /dev/vg01/lv01
lvdisplay VG Name vg01
lvdisplay LV UUID 0mpN50-4dDv-0prI-PLBd-slvJ-PStA-eCkxvC
lvdisplay LV Write Access read/write
lvdisplay LV Status available
lvdisplay # open 2
lvdisplay LV Size 400.00 GB
lvdisplay Current LE 102400
lvdisplay Segments 1
lvdisplay Allocation inherit
lvdisplay Read ahead sectors auto
lvdisplay - currently set to 256
lvdisplay Block device 253:0
lvdisplay
lvdisplay --- Logical volume ---
lvdisplay LV Name /dev/vg01/lv02
lvdisplay VG Name vg01
lvdisplay LV UUID AKbuTX-z1iE-GLhw-Nc1X-FERw-qrBL-HZBfJL
lvdisplay LV Write Access read/write
lvdisplay LV Status available
lvdisplay # open 2
lvdisplay LV Size 620.00 GB
lvdisplay Current LE 158720
lvdisplay Segments 1
lvdisplay Allocation inherit
lvdisplay Read ahead sectors auto
lvdisplay - currently set to 256
lvdisplay Block device 253:1
lvdisplay
--
Eric Robinson
Disclaimer - May 11, 2009
This email and any files transmitted with it are confidential and intended solely for drbd-user at lists.linbit.com. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management and Physician's Managed Care. Warning: Although Physician Select Management and Physician's Managed Care have taken reasonable precautions to ensure no viruses are present in this email, the companies cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/