Eu tenho um servidor doméstico com um pool de três unidades, e o sistema operacional instalado em um pen drive, esse pen drive teve erros físicos e tive que reinstalar o sistema operacional, o pool LVM estava funcionando bem após o crash do pen drive, mas Eu acidentalmente selecionei uma das unidades para instalar manualmente o grub e as coisas deram errado.
Eu não sei como / porque essa unidade foi desanexada do pool e o LV parou de funcionar. Eu tentei por meses e segui guias e instruções diferentes, eu restaurei parcialmente a piscina, mas ainda não está funcionando.
O único indício que tenho agora sobre o motivo do erro é:
lvdisplay -m
--- Logical volume ---
LV Path /dev/DATA/shared
LV Name shared
VG Name DATA
LV UUID WfdvYe-pga2-dyUn-d2gd-L0xS-KBee-x2PPzP
LV Write Access read/write
LV Creation host, time ,
LV Status suspended
# open 0
LV Size 6.37 TiB
Current LE 1669260
Segments 3
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Segments ---
Logical extent 0 to 476931:
Type linear
Physical volume /dev/sdb1
Physical extents 0 to 476931
Logical extent 476932 to 953863:
Type linear
Physical volume /dev/sda1
Physical extents 0 to 476931
Logical extent 953864 to 1669259:
Type linear
Physical volume /dev/sdc
Physical extents 0 to 715395
pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name DATA
PV Size 1.82 TiB / not usable 1.09 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 476932
Free PE 0
Allocated PE 476932
PV UUID kcSzc0-tGcn-gA33-w27c-J4MP-Jekh-btQdKr
--- Physical volume ---
PV Name /dev/sda1
VG Name DATA
PV Size 1.82 TiB / not usable 1.09 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 476932
Free PE 0
Allocated PE 476932
PV UUID 0gZJv2-iRwc-r5Z3-VPEb-HUzc-eyAO-LIu2zt
--- Physical volume ---
PV Name /dev/sdc
VG Name DATA
PV Size 2.73 TiB / not usable 472.00 KiB
Allocatable yes
PE Size 4.00 MiB
Total PE 715397
Free PE 1
Allocated PE 715396
PV UUID YicF5n-Xb8y-f3GL-kFuM-stxZ-gpmv-0E8mie
"/dev/sdd5" is a new physical volume of "1.82 TiB"
--- NEW Physical volume ---
PV Name /dev/sdd5
VG Name
PV Size 1.82 TiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID LmJ6VD-LHS5-0BVb-mqzB-gbbc-8dRX-M74APj
Nota: O 4º drive sdd5 nunca fez parte do pool LVM DATA e não possui dados.
sudo fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd53b391a
Device Boot Start End Blocks Id System
/dev/sda1 1 3907029167 1953514583+ 8e Linux LVM
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x6b4f5902
Device Boot Start End Blocks Id System
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00081354
Device Boot Start End Blocks Id System
/dev/sdd1 2048 499711 248832 83 Linux
/dev/sdd2 501758 3907028991 1953263617 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sdd5 501760 3907028991 1953263616 8e Linux LVM
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x19e4252c
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3902855167 1951426560 8e Linux LVM
/dev/sdb2 3902857214 3907028991 2085889 5 Extended
/dev/sdb5 3902857216 3907028991 2085888 8e Linux LVM
Disk /dev/sde: 16.1 GB, 16097738752 bytes
64 heads, 32 sectors/track, 15352 cylinders, total 31440896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cad44
Device Boot Start End Blocks Id System
/dev/sde1 2046 6125567 3061761 5 Extended
/dev/sde2 * 6125568 31438847 12656640 83 Linux
/dev/sde5 2048 1953791 975872 83 Linux
/dev/sde6 1955840 6125567 2084864 82 Linux swap / Solaris
* Nota: O drive de 16GB é o thumbdrive onde o sistema operacional está instalado
atualizou o resultado de fdisk -l
em 20 de janeiro depois de executar as sugestões do @psusi
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd53b391a
Device Boot Start End Blocks Id System
/dev/sda1 1 3907029167 1953514583+ 8e Linux LVM
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x19e4252c
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3907028991 1953513472 83 Linux
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x6b4f5902
Device Boot Start End Blocks Id System
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00081354
Device Boot Start End Blocks Id System
/dev/sdd1 2048 499711 248832 83 Linux
/dev/sdd2 501758 3907028991 1953263617 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sdd5 501760 3907028991 1953263616 8e Linux LVM
Disk /dev/sde: 16.1 GB, 16097738752 bytes
64 heads, 32 sectors/track, 15352 cylinders, total 31440896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cad44
Device Boot Start End Blocks Id System
/dev/sde1 2046 6125567 3061761 5 Extended
/dev/sde2 * 6125568 31438847 12656640 83 Linux
/dev/sde5 2048 1953791 975872 83 Linux
/dev/sde6 1955840 6125567 2084864 82 Linux swap / Solaris