All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Can't pvcreate /dev/sda
@ 2007-01-13 16:39 Turbo Fredriksson
  2007-01-13 18:00 ` [linux-lvm] " Jonathan Biggar
  2007-02-05 15:48 ` [linux-lvm] " Alasdair G Kergon
  0 siblings, 2 replies; 3+ messages in thread
From: Turbo Fredriksson @ 2007-01-13 16:39 UTC (permalink / raw)
  To: linux-lvm

This is very weird!

----- s n i p -----
root@pegasos:~# pvscan
  PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
  PV /dev/sdb                   lvm2 [372.61 GB]
  Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
root@pegasos:~# pvcreate /dev/sda
  Physical volume "/dev/sda" successfully created
root@pegasos:~# pvscan
  PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
  PV /dev/sdb                   lvm2 [372.61 GB]
  Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
----- s n i p -----

Any ideas?

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

* [linux-lvm] Re: Can't pvcreate /dev/sda
  2007-01-13 16:39 [linux-lvm] Can't pvcreate /dev/sda Turbo Fredriksson
@ 2007-01-13 18:00 ` Jonathan Biggar
  2007-02-05 15:48 ` [linux-lvm] " Alasdair G Kergon
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Biggar @ 2007-01-13 18:00 UTC (permalink / raw)
  To: linux-lvm

Turbo Fredriksson wrote:
> This is very weird!
> 
> ----- s n i p -----
> root@pegasos:~# pvscan
>   PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
>   PV /dev/sdb                   lvm2 [372.61 GB]
>   Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
> root@pegasos:~# pvcreate /dev/sda
>   Physical volume "/dev/sda" successfully created
> root@pegasos:~# pvscan
>   PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
>   PV /dev/sdb                   lvm2 [372.61 GB]
>   Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
> ----- s n i p -----
> 
> Any ideas?

Check the filter in lvm.conf to see if /dev/sdb is excluded from scanning?

-- 
Jonathan Biggar
jon@levanta.com

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

* Re: [linux-lvm] Can't pvcreate /dev/sda
  2007-01-13 16:39 [linux-lvm] Can't pvcreate /dev/sda Turbo Fredriksson
  2007-01-13 18:00 ` [linux-lvm] " Jonathan Biggar
@ 2007-02-05 15:48 ` Alasdair G Kergon
  1 sibling, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2007-02-05 15:48 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, Jan 13, 2007 at 05:39:09PM +0100, Turbo Fredriksson wrote:
> ----- s n i p -----
> root@pegasos:~# pvscan
>   PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
>   PV /dev/sdb                   lvm2 [372.61 GB]
>   Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
> root@pegasos:~# pvcreate /dev/sda
>   Physical volume "/dev/sda" successfully created
> root@pegasos:~# pvscan
>   PV /dev/hdb   VG MovieShare   lvm2 [74.53 GB / 74.53 GB free]
>   PV /dev/sdb                   lvm2 [372.61 GB]
>   Total: 2 [447.14 GB] / in use: 1 [74.53 GB] / in no VG: 1 [372.61 GB]
> ----- s n i p -----
> 
> Any ideas?

Check whether sda is partitioned, and if so, remove the partitions.
Use 'pvscan -vvvv' and look for the reason it gives for ignoring it.
 
Alasdair
-- 
agk@redhat.com

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

end of thread, other threads:[~2007-02-05 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-13 16:39 [linux-lvm] Can't pvcreate /dev/sda Turbo Fredriksson
2007-01-13 18:00 ` [linux-lvm] " Jonathan Biggar
2007-02-05 15:48 ` [linux-lvm] " Alasdair G Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.