public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
  2010-08-03 16:20 [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table Valmor de Almeida
@ 2010-08-03 16:08 ` Bill Longman
  2010-08-03 17:10 ` Mark Knecht
  2010-08-03 21:16 ` pk
  2 siblings, 0 replies; 6+ messages in thread
From: Bill Longman @ 2010-08-03 16:08 UTC (permalink / raw
  To: gentoo-user

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?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
@ 2010-08-03 16:20 Valmor de Almeida
  2010-08-03 16:08 ` Bill Longman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Valmor de Almeida @ 2010-08-03 16:20 UTC (permalink / raw
  To: gentoo-user


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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition  table
  2010-08-03 16:20 [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table Valmor de Almeida
  2010-08-03 16:08 ` Bill Longman
@ 2010-08-03 17:10 ` Mark Knecht
  2010-08-03 21:16 ` pk
  2 siblings, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2010-08-03 17:10 UTC (permalink / raw
  To: gentoo-user

On Tue, Aug 3, 2010 at 9:20 AM, Valmor de Almeida <val.gentoo@gmail.com> 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
>

Don't know if it's involved but the recent updates warned about
changes in how /dev is handled. I'd suggest going back to those
messages and making sure the warnings were comprehended.

Hope this helps,
Mark



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
  2010-08-03 16:20 [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table Valmor de Almeida
  2010-08-03 16:08 ` Bill Longman
  2010-08-03 17:10 ` Mark Knecht
@ 2010-08-03 21:16 ` pk
  2010-08-03 21:57   ` Bill Longman
  2 siblings, 1 reply; 6+ messages in thread
From: pk @ 2010-08-03 21:16 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
  2010-08-03 21:16 ` pk
@ 2010-08-03 21:57   ` Bill Longman
  2010-08-03 23:05     ` pk
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Longman @ 2010-08-03 21:57 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table
  2010-08-03 21:57   ` Bill Longman
@ 2010-08-03 23:05     ` pk
  0 siblings, 0 replies; 6+ messages in thread
From: pk @ 2010-08-03 23:05 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-03 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 16:20 [gentoo-user] Disk /dev/dm-0 doesn't contain a valid partition table Valmor de Almeida
2010-08-03 16:08 ` Bill Longman
2010-08-03 17:10 ` Mark Knecht
2010-08-03 21:16 ` pk
2010-08-03 21:57   ` Bill Longman
2010-08-03 23:05     ` pk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox