Re: Storage device enumeration script
From: Phil Turmel <hidden>
Date: 2011-05-27 12:06:11
On 05/26/2011 11:58 PM, Roman Mamedov wrote:
On Fri, 27 May 2011 08:16:07 +0800 Brad Campbell [off-list ref] wrote:quoted
On 27/05/11 08:13, Leslie Rhorer wrote:quoted
quoted
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.apt-get install lvm2.Sure, but lsdrv shouldn't assume lvm2 is installed or require it to be installed. Not everyone uses LVM, and simply installing it automatically adds things to initramfs (PV/VG/LV detection?), which can slow down boot-up process.
With the latest contribution from Torbjørn, lsdrv will now report the missing utility, then continue. If one of the devices is in fact an LVM element, the block device recursion code should still show the basic relationships, without the volume group details. Testing that case would be appreciated. https://github.com/pturmel/lsdrv If you find more bugs, or have other suggestions, using the issue tracker and the wiki on github would minimize the chatter on linux-raid. Phil -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html