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

Re: LVM + multipath



On Thu, May 21, 2009 at 03:38:33PM -0400, Ron Peterson wrote:
> Hi folks,
> 
> I have a curiosity question about using LVM w/ multipath devices.  I've
> got some SAN disk on which I made a volume group, and a couple of
> logical volumes.  Each volume has an ext3 filesystem.  I've added the
> filesystems to my fstab using their UUID's.
> 
> UUID=f9b573fd-9457-4150-9007-fedbe708f866      /dbfs/db1            ext3    nodev,grpid        0       2
> UUID=8909ad2b-9990-4f8d-a544-93f4781929df      /dbfs/db2            ext3    nodev,grpid        0       2
> 
> What's curious is that while they mount just fine, the 'df' command
> lists them inconsistently:
> 
> /dev/mapper/dbfs-db1  385G  195M  365G   1% /dbfs/db1
> /dev/dm-3             385G  195M  365G   1% /dbfs/db2
> 
> Now, the /dev/dm-3 device is the same device (major/minor) as the
> corresponding /dev/mapper/dbfs-db2 device, so I suppose it really
> doesn't matter what df thinks they should be called, but it's
> aethetically unpleasing at best.
> 
> Does anyone have any idea what's happening here?

have a look at /etc/blkid.tab and blkid. I usually do this rm
/etc/blkid.* ; blkid /dev/mapper/*



> 
> Debian Lenny amd64.
> 

-- 
"In the face of entropy and nothingness, you kind of have to pretend it's not
there if you want to keep writing good code."  -- Karl Lehenbauer

Attachment: signature.asc
Description: Digital signature


Reply to: