[linux-lvm] Inconsistent naming...?

Linda A. Walsh lvm at tlinx.org
Thu Jul 14 04:05:58 UTC 2011





Alasdair G Kergon wrote:
> On Wed, Jul 13, 2011 at 01:34:15PM -0400, Males, Jess wrote:
>   
>> That works, but it's not exactly convenient.
>> [root at system ~]# dmsetup splitname /dev/mapper/tempvg-lvspare1
>>     
>
> It's not expecting the /dev/mapper prefix there.
>
> It's used here:
>   11-dm-lvm.rules:IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup splitname --nameprefixes --noheadings --rows $env{DM_NAME}"
>
> Obviously we can patch it to understand the '/dev/mapper' prefix and other
> things.
>
> Alasdair
>   
The problem is NOT what lsm puts out or what I see in /dev,
it's only in the output of 'mount' and 'fstab'... and being able to map
what devs are mounted on what mount points.









More information about the linux-lvm mailing list