> -----Original Message----- > From: linux-raid-owner@xxxxxxxxxxxxxxx [mailto:linux-raid- > owner@xxxxxxxxxxxxxxx] On Behalf Of Phil Turmel > Sent: Thursday, May 26, 2011 6:42 AM > To: Mathias Burén > Cc: lrhorer@xxxxxxxxxxx; linux-raid@xxxxxxxxxxxxxxx > Subject: Re: Storage device enumeration script > > 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? I can't speak to Ubuntu, but Debian evidently does not. I don't know what "pvs" is, but neither bash nor Python recognize it as a file anywhere in the path. -- 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