Can't pvcreate /dev/sda
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?
Quoted 15 lines · Turbo Fredriksson
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 -----
Quoted 1 line
Any ideas?
Check the filter in lvm.conf to see if /dev/sdb is excluded from scanning?
Signature · 2 lines
Jonathan Biggar [email protected]
Quoted 13 lines · Turbo Fredriksson
----- 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 -----
Quoted 1 line
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
Signature · 1 line
[email protected]