Timeline for how to recover pv and lvm with no lvm export?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 25, 2020 at 19:20 | answer | added | Arunas Bart | timeline score: 3 | |
Apr 3, 2014 at 16:57 | answer | added | Farzin Sb | timeline score: 0 | |
Apr 3, 2014 at 7:35 | comment | added | Farzin Sb | here is the final solution i did : stackoverflow.com/questions/22799801/… | |
Apr 3, 2014 at 7:34 | comment | added | Farzin Sb | when the LVM is not detected yet , how could i add it to fstab for mounting ? LVS doesn't detect the partitions at all. but i fixed the issue at last :D thanks for your help anyway. | |
Apr 2, 2014 at 18:22 | comment | added | Tero Kilkanen |
So, the problem is that the new Linux installation doesn't show the logical volumes from your earlier installation in /dev/mapper/ directory? The volumes should be there correctly according to the lvs command output. You just need to add them to /etc/fstab in order to get them mounted at boot time.
|
|
Apr 2, 2014 at 13:07 | comment | added | Farzin Sb | they do not find the second hdd ( sdb ) as a lvm PV at all :( but the partitions are there and are intact. | |
Apr 2, 2014 at 13:07 | comment | added | Farzin Sb | [root@s1 ~]# lvs LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert home vg0 -wi-ao---- 2.53t root vg0 -wi-ao---- 126.00g swap vg0 -wi-ao---- 64.00g tmp vg0 -wi-ao---- 9.00g | |
Apr 2, 2014 at 13:06 | comment | added | Farzin Sb | [root@s1 ~]# vgs VG #PV #LV #SN Attr VSize VFree vg0 2 4 0 wz--n- 2.73t 0 | |
Apr 2, 2014 at 13:06 | comment | added | Farzin Sb | [root@s1 ~]# pvs PV VG Fmt Attr PSize PFree /dev/sda2 vg0 lvm2 a-- 1024.00g 0 /dev/sda3 vg0 lvm2 a-- 1.73t 0 | |
S Apr 2, 2014 at 3:41 | history | suggested | Tero Kilkanen | CC BY-SA 3.0 |
Changed partition table to a code block.
|
Apr 2, 2014 at 1:13 | comment | added | Tero Kilkanen |
What is the output of pvs , vgs and lvs commands?
|
|
Apr 2, 2014 at 1:12 | review | Suggested edits | |||
S Apr 2, 2014 at 3:41 | |||||
Apr 2, 2014 at 0:55 | review | First posts | |||
Apr 2, 2014 at 1:57 | |||||
Apr 2, 2014 at 0:39 | history | asked | Farzin Sb | CC BY-SA 3.0 |