I installed a new PV on a partition in a USB flash drive:
Quote:
[root@dotter39 ~]# pvcreate /dev/sdf2
Physical volume "/dev/sdf2" successfully created.
|
The PV seemed to be there:
Quote:
[root@dotter39 ~]# pvs
PV VG Fmt Attr PSize PFree
.... .... ... ... ... ...
/dev/sdf2 lvm2 --- <887,81g <887,81g
|
However, Vgextend cannot find it:
Quote:
[root@dotter39 ~]# vgextend COMMS /dev/sdf2
Failed to find PV /dev/sdf2
|
What could possibly go wrong here?
Edit: Tried pvchange:
Quote:
[root@dotter39 ~]# pvchange -x y /dev/sdf2
Allocatability not supported by orphan lvm2 format PV /dev/sdf2
Physical volume /dev/sdf2 not changed
0 physical volumes changed / 1 physical volume not changed
|
The PV is not allocatable according to pvdisplay:
Quote:
"/dev/sdf2" is a new physical volume of "<887,81 GiB"
--- NEW Physical volume ---
PV Name /dev/sdf2
VG Name
PV Size <887,81 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID vHWlRK-E92J-bYYM-5aFC-JRIC-eo3e-h8xV71
|
I have put an ext4 fs on /dev/sdf2, though