hi!.
i am working on openlmi-storage. While running the test case of
test_create_mdraid.py i am getting error. i created 10 partition (sdb?*)
and one sdc . is an other methodology to be followed while partition or
while running the test case.
partion using fdisk.
Disk /dev/sdb: 32.2 GB, 32212254720 bytes, 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0003e579
Device Boot Start End Blocks Id System
/dev/sdb1 2048 62914559 31456256 5 Extended
/dev/sdb5 4096 4198399 2097152 8e Linux LVM
/dev/sdb6 4200448 8394751 2097152 8e Linux LVM
/dev/sdb7 8396800 12591103 2097152 8e Linux LVM
/dev/sdb8 12593152 16787455 2097152 8e Linux LVM
/dev/sdb9 16789504 20983807 2097152 8e Linux LVM
/dev/sdb10 20985856 25180159 2097152 8e Linux LVM
/dev/sdb11 25182208 29376511 2097152 83 Linux
/dev/sdb12 29378560 33572863 2097152 83 Linux
/dev/sdb13 33574912 37769215 2097152 83 Linux
/dev/sdb14 37771264 41965567 2097152 8e Linux LVM
Disk /dev/sdc: 32.2 GB, 32212254720 bytes, 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@node5 test]export LMI_CIMOM_URL=https://localhost:5989
[root@node5 test]# export LMI_CIMOM_USERNAME=pegasus
[root@node5 test]# export LMI_CIMOM_PASSWORD=sunil
[root@node5 test]# export LMI_STORAGE_DISK=/dev/sdc
[root@node5 test]# LMI_STORAGE_PARTITIONS="/dev/sdb?*"
i also tried by giving /dev/sdb2/ /dev/sdb3 manually.. its not working..
i am getting this error...
InExtents=devices)
File "/usr/lib/python2.7/site-packages/pywbem/cim_operations.py", line
800, in InvokeMethod
result = self.methodcall(MethodName, obj, **params)
File "/usr/lib/python2.7/site-packages/pywbem/cim_operations.py", line
361, in methodcall
raise CIMError(code, tt[0][1]['DESCRIPTION'])
CIMError: (4, u'CIM_ERR_INVALID_PARAMETER: Parameter InExtents is
mandatory.')
----------------------------------------------------------------------
Ran 16 tests in 13.330s
FAILED (errors=15)