RE: Storage device enumeration script
From: Leslie Rhorer <hidden>
Date: 2011-05-26 06:14:12
From: Leslie Rhorer <hidden>
Date: 2011-05-26 06:14:12
I get an error right off the bat:
Traceback (most recent call last):
File "./lsdrv.txt", line 264, in <module>
for x in runx(['pvs', '-o',
'pv_name,pv_used,pv_size,pv_uuid,vg_name,vg_size,vg_free,vg_uuid',
'--noheadings', '--separator', ' ']).split("\n"):
File "./lsdrv.txt", line 50, in runx
sub = Popen(*args, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I'm running Python 2.6.6 and mdadm 3.1.4 running on kernel 2.6.32-5-amd64