FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 08-03-2010, 04:08 PM
Bill Longman
 
Default Disk /dev/dm-0 doesn't contain a valid partition table

On 08/03/2010 09:20 AM, Valmor de Almeida wrote:
>
> Hello,
>
> After a recent sync and new kernel built, I get these messages from
> fdisk -l that did not use to get before. Searching the web, it appears
> that fdisk is listing my LVM partitions. Why is it doing now? It has
> never done it before.
>
> Thanks,
>
> --
> Valmor
>
>
> fdisk -l
>
> Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
> 255 heads, 63 sectors/track, 3263 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/dm-0 doesn't contain a valid partition table
>
> Disk /dev/dm-1: 10.7 GB, 10737418240 bytes
> 255 heads, 63 sectors/track, 1305 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/dm-1 doesn't contain a valid partition table
>
> Disk /dev/dm-2: 5368 MB, 5368709120 bytes
> 255 heads, 63 sectors/track, 652 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/dm-2 doesn't contain a valid partition table
>
> Disk /dev/dm-3: 2147 MB, 2147483648 bytes
> 255 heads, 63 sectors/track, 261 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/dm-3 doesn't contain a valid partition table
>
> Disk /dev/dm-4: 53.7 GB, 53687091200 bytes
> 255 heads, 63 sectors/track, 6527 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/dm-4 doesn't contain a valid partition table
>
>
> df
>
> /dev/mapper/vfda-usr 26213596 11144004 15069592 43% /usr
> /dev/mapper/vfda-var 10485436 232620 10252816 3% /var
> /dev/mapper/vfda-opt 5242716 311388 4931328 6% /opt
> /dev/mapper/vfda-tmp 2097084 32852 2064232 2% /tmp
> /dev/mapper/vfda-home

It seems to me you now have BLK_DEV_DM in your kernel.

I've seen this on many systems with lvm. I always thought it was normal
and I just ignored them. But I do have some systems that have lvm that
don't show those errors. What partition support do you have in your new
kernel?
 
Old 08-03-2010, 04:20 PM
Valmor de Almeida
 
Default Disk /dev/dm-0 doesn't contain a valid partition table

Hello,

After a recent sync and new kernel built, I get these messages from
fdisk -l that did not use to get before. Searching the web, it appears
that fdisk is listing my LVM partitions. Why is it doing now? It has
never done it before.

Thanks,

--
Valmor


fdisk -l

Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn't contain a valid partition table


df

/dev/mapper/vfda-usr 26213596 11144004 15069592 43% /usr
/dev/mapper/vfda-var 10485436 232620 10252816 3% /var
/dev/mapper/vfda-opt 5242716 311388 4931328 6% /opt
/dev/mapper/vfda-tmp 2097084 32852 2064232 2% /tmp
/dev/mapper/vfda-home
 
Old 08-03-2010, 09:16 PM
pk
 
Default Disk /dev/dm-0 doesn't contain a valid partition table

On 2010-08-03 18:20, Valmor de Almeida wrote:

> fdisk -l

> Disk /dev/dm-0 doesn't contain a valid partition table

Why are you using fdisk on a logical volume? To my knowledge (which of
course may be outdated/wrong) an LV doesn't contain a partition table so
looking for it with fdisk -l shouldn't give you any valid data. Use lvs
or lvdisplay instead. If you wish to manipulate the underlying partition
table (the "physical volumes") then you can use fdisk...

Best regards

Peter K
 
Old 08-03-2010, 09:57 PM
Bill Longman
 
Default Disk /dev/dm-0 doesn't contain a valid partition table

On 08/03/2010 02:16 PM, pk wrote:
> On 2010-08-03 18:20, Valmor de Almeida wrote:
>
>> fdisk -l
>
>> Disk /dev/dm-0 doesn't contain a valid partition table
>
> Why are you using fdisk on a logical volume? To my knowledge (which of
> course may be outdated/wrong) an LV doesn't contain a partition table so
> looking for it with fdisk -l shouldn't give you any valid data. Use lvs
> or lvdisplay instead. If you wish to manipulate the underlying partition
> table (the "physical volumes") then you can use fdisk...

He's not doing on a physical volume, they just happen to show up. He's
just using "fdisk -l" to generally see what volumes are out there.
 
Old 08-03-2010, 11:05 PM
pk
 
Default Disk /dev/dm-0 doesn't contain a valid partition table

On 2010-08-03 23:57, Bill Longman wrote:

> He's not doing on a physical volume, they just happen to show up. He's
> just using "fdisk -l" to generally see what volumes are out there.

Ah, ok. Misunderstanding from my side...

Best regards

Peter K
 

Thread Tools




All times are GMT. The time now is 02:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org