[linux-lvm] Can't pvcreate /dev/sda

Alasdair G Kergon agk at redhat.com
Mon Feb 5 15:48:10 UTC 2007


On Sat, Jan 13, 2007 at 05:39:09PM +0100, Turbo Fredriksson wrote:
> ----- s n i p -----
> root at 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 at pegasos:~# pvcreate /dev/sda
>   Physical volume "/dev/sda" successfully created
> root at 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 at redhat.com




More information about the linux-lvm mailing list