LVM /dev alatt nem látszik

Fórumok

Hello!

Frissítettem az armbian 8 rendszert apt-get update/upgrade paranccsal. Tehát most mindenből az elérjető legfrisebb csomag van fent. Újraindítás óta nem létezik a megszokott /dev/vg00/adat. Eddig a következő két parancs megoldotta a dolgot, de most csak ezt írja ki:

cubie@cubietruck:~$ sudo vgchange -a ay
device-mapper: resume ioctl on failed: Invalid argument
Unable to resume vg00-adat (253:0)
1 logical volume(s) in volume group "vg00" now active
5 cubie@cubietruck:~$ sudo mount /dev/vg00/adat /mnt/adat
mount: special device /dev/vg00/adat does not exist
32 cubie@cubietruck:~$

Itt megállt a tudományom. Tud valaki segíteni?

Előre is köszi!
Koza

Hozzászólások

5 cubie@cubietruck:/dev$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/vg00/adat
LV Name adat
VG Name vg00
LV UUID D0Kpi0-pjs1-Jgvc-3b6U-rG9W-2dlZ-xp8Ame
LV Write Access read/write
LV Creation host, time Cubian, 2014-04-16 17:51:41 +0200
LV Status suspended
# open 0
LV Size 465,63 GiB
Current LE 119202
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

cubie@cubietruck:/dev$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/md0
VG Name vg00
PV Size 465,64 GiB / not usable 2,81 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 119202
Free PE 0
Allocated PE 119202
PV UUID tb1R2T-GXii-NuW2-Oz2c-HCBU-6FH8-Vqitm5

cubie@cubietruck:/dev$ sudo vgdisplay
--- Volume group ---
VG Name vg00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 465,63 GiB
PE Size 4,00 MiB
Total PE 119202
Alloc PE / Size 119202 / 465,63 GiB
Free PE / Size 0 / 0
VG UUID QJATnQ-aLwW-pB5n-Wh1c-OGta-u9rL-y2Fi48

cubie@cubietruck:/dev$ cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
488148992 blocks super 1.2 [2/2] [UU]
[===>.................] resync = 16.1% (78917120/488148992) finish=252.4min speed=27014K/sec
bitmap: 4/4 pages [16KB], 65536KB chunk

unused devices:
cubie@cubietruck:/dev$ sudo mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon May 16 12:38:07 2016
Raid Level : raid1
Array Size : 488148992 (465.54 GiB 499.86 GB)
Used Dev Size : 488148992 (465.54 GiB 499.86 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Mon May 16 14:32:49 2016
State : active, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Resync Status : 16% complete

Name : cubietruck:0 (local to host cubietruck)
UUID : cf92c02a:27aaa2fe:ac2107c7:5c13682d
Events : 567

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
cubie@cubietruck:/dev$

A /dev/mapper alatt sem látod a volume-okat?

cubie@cubietruck:~$ ls /dev/mapper/
total 0
drwxr-xr-x 2 root root 60 jan 1 1970 .
drwxr-xr-x 13 root root 14K máj 16 12:59 ..
crw------- 1 root root 10, 236 máj 16 12:59 control
cubie@cubietruck:~$ sudo ls /dev/mapper/
[sudo] password for cubie:
control
cubie@cubietruck:~$

látszik:
/dev/md0
/dev/sda
/dev/sda1
/dev/sdb
/dev/sdb1

csak az a fránya /dev/vg00/adat nem látszik

--
kozapeti

nah nem akarom elkiabálni, de egyelőre úgy látszik a testdisk-el le tudom menteni a fájlokat és akkor újra tudom építeni a raid/lvm-et és visszamásolni mindent.

hogy a fájlrendszer hogyan sérült meg, egyelőre nem tudom.

ilyenek látszanak még dmesg alatt pl:
device-mapper: table: 252:0: md0 too small for target: start=2048, len=976502784, dev_size=976297984

köszönöm a segítséget!
--
kozapeti