I resized the partition sdb3 (using fdisk) which contained a physical volume of the volume group "media". Now, none of the logical volumes from the volume group "media" will mount. Running pvscan gives the following output:
Code:
Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
PV /dev/sdb2 VG media lvm2 [120.00 GB / 0 free]
PV unknown device VG media lvm2 [120.00 GB / 0 free]
PV /dev/sda4 VG media lvm2 [175.79 GB / 8.00 MB free]
"vgcfgrestore media" gives the following:
Code:
Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
Couldn't find all physical volumes for volume group media.
Restore failed.
This is my /etc/lvm/backup/media:
http://rafb.net/p/7AUno315.html
I think I just need to detect the PV in sdb3 and assign it a UUID. How do I do that?
Thanks in advance.