Re: Storage device enumeration script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/26/2011 02:16 AM, Mathias BurÃn wrote:
> On 26 May 2011 07:14, Leslie Rhorer <lrhorer@xxxxxxxxxxx> wrote:
>>
>>        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
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> 
> I get that in Ubuntu 11.04 on a laptop as well.
> 
> /M

Does a plain install of Ubuntu include the LVM utilities?  Can you run "pvs" directly?

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux