pehun Posted June 11, 2022 Share #1 Posted June 11, 2022 Hello, After a power outage, I lost the accessibility to all my datas. I seen my disks, one in "initialize", but no more volume... Here is my screenshots : Quote Link to comment Share on other sites More sharing options...
pehun Posted June 11, 2022 Author Share #2 Posted June 11, 2022 Could you help me? Quote Link to comment Share on other sites More sharing options...
pehun Posted June 12, 2022 Author Share #3 Posted June 12, 2022 Here is some resuts : acer1969@Diskstation:/$ sudo cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [raidF1] md2 : active raid5 sdb5[9] sdd5[6] sda5[8] sdc5[7] 7794733824 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md4 : active raid5 sdc7[5] sdd7[4] sdb7[7] sda7[2] 15627995648 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md3 : active raid5 sdc6[6] sdd6[5] sda6[7] sdb6[8] 7813979648 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md5 : active raid5 sdd8[0] sdb8[2] sdc8[1] 15623676288 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU] md1 : active raid1 sda2[0] sdb2[1] sdc2[2] sdd2[3] sde2[4] 2097088 blocks [12/5] [UUUUU___] md0 : active raid1 sda1[3] sdb1[0] sdc1[2] sdd1[4] sde1[1] 2490176 blocks [12/5] [UUUUU___] unused devices: <none> acer1969@Diskstation:/$ sudo vgdisplay -v Using volume group(s) on command line. Wiping cache of LVM-capable devices Couldn't find device with uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK. There are 1 physical volumes missing. There are 1 physical volumes missing. --- Volume group --- VG Name vg1 System ID Format lvm2 Metadata Areas 3 Metadata Sequence No 50 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 0 Max PV 0 Cur PV 4 Act PV 3 VG Size 43.64 TiB PE Size 4.00 MiB Total PE 11440521 Alloc PE / Size 11440387 / 43.64 TiB Free PE / Size 134 / 536.00 MiB VG UUID wOZ6OP-qLt2-yTwH-Y3gz-AfcR-p9sX-pen3K6 --- Logical volume --- LV Path /dev/vg1/syno_vg_reserved_area LV Name syno_vg_reserved_area VG Name vg1 LV UUID jIa3dt-tnsG-MyIq-orcB-J7Jh-QHIk-99RL3w LV Write Access read/write LV Creation host, time , LV Status available # open 0 LV Size 12.00 MiB Current LE 3 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 253:0 --- Logical volume --- LV Path /dev/vg1/volume_1 LV Name volume_1 VG Name vg1 LV UUID c1Rzz4-nnSz-zX3u-QqUh-G92x-fmeH-4M7iv8 LV Write Access read/write LV Creation host, time , LV Status NOT available LV Size 43.64 TiB Current LE 11440384 Segments 6 Allocation inherit Read ahead sectors auto --- Physical volumes --- PV Name /dev/md2 PV UUID ZaSz0T-NRjE-vZEz-V2zZ-7yay-CIa0-67w0bn PV Status allocatable Total PE / Free PE 1903011 / 0 PV Name /dev/md3 PV UUID v7OFq5-a3D0-8yj6-68lz-rn0e-eoDy-WblldV PV Status allocatable Total PE / Free PE 1907709 / 0 PV Name unknown device PV UUID C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK PV Status allocatable Total PE / Free PE 3815428 / 0 PV Name /dev/md5 PV UUID Gh6XAr-s3Iw-YB0c-4F9H-LGi3-Q3lV-0eLMXc PV Status allocatable Total PE / Free PE 3814373 / 134 acer1969@Diskstation:/$ sudo lvm pvscan Couldn't find device with uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK. PV /dev/md2 VG vg1 lvm2 [7.26 TiB / 0 free] PV /dev/md3 VG vg1 lvm2 [7.28 TiB / 0 free] PV unknown device VG vg1 lvm2 [14.55 TiB / 0 free] PV /dev/md5 VG vg1 lvm2 [14.55 TiB / 536.00 MiB free] Total: 4 [43.64 TiB] / in use: 4 [43.64 TiB] / in no VG: 0 [0 ] acer1969@Diskstation:/$ sudo cat /etc/fstab none /proc proc defaults 0 0 /dev/root / ext4 defaults 1 1 acer1969@Diskstation:/$ sudo smartctl -d sat --all /dev/sda | fgrep -i sector Sector Sizes: 512 bytes logical, 4096 bytes physical 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 Quote Link to comment Share on other sites More sharing options...
IG-88 Posted June 12, 2022 Share #4 Posted June 12, 2022 (edited) 2 hours ago, pehun said: md2 : active raid5 sdb5[9] sdd5[6] sda5[8] sdc5[7] 7794733824 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md4 : active raid5 sdc7[5] sdd7[4] sdb7[7] sda7[2] 15627995648 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md3 : active raid5 sdc6[6] sdd6[5] sda6[7] sdb6[8] 7813979648 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/4] [_UUUU] md5 : active raid5 sdd8[0] sdb8[2] sdc8[1] 15623676288 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU] SHR(1) is a sum of raid1 und raid5 in a logical volume (lvm2) sure there is one disk missing but thats what the one redundecy is for, the (mdadm) raid looks ok and working 2 hours ago, pehun said: --- Physical volumes --- ... PV Name unknown device PV UUID C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK PV Status allocatable Total PE / Free PE 3815428 / 0 ... acer1969@Diskstation:/$ sudo lvm pvscan Couldn't find device with uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK. PV /dev/md2 VG vg1 lvm2 [7.26 TiB / 0 free] PV /dev/md3 VG vg1 lvm2 [7.28 TiB / 0 free] PV unknown device VG vg1 lvm2 [14.55 TiB / 0 free] PV /dev/md5 VG vg1 lvm2 [14.55 TiB / 536.00 MiB free] Total: 4 [43.64 TiB] / in use: 4 [43.64 TiB] / in no VG: 0 [0 ] ... 2 hours ago, pehun said: VG Name vg1 System ID Format lvm2 ... Cur PV 4 Act PV 3 ... one physical volume is missing and its /dev/md4, but its not the mdadm raid, as its still working i guess you would need to inspect /dev/md4 further in relation to lvm2, 2 hours ago, pehun said: Couldn't find device with uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK. it looks like the UUID of /dev/md4 is missing or different now don't try to repair anything before you are 100% sure whats going on Edited June 12, 2022 by IG-88 Quote Link to comment Share on other sites More sharing options...
pehun Posted June 12, 2022 Author Share #5 Posted June 12, 2022 (edited) Thanks a lot for your answers. Initialy the volume disapeared and it said that disk 5 is in status ''initialized''. I changed it by an other and it didn't changed anything so i putted it back in place. I'm trying to do smart test on every disks but it takes days.... Edited June 12, 2022 by pehun Quote Link to comment Share on other sites More sharing options...
flyride Posted June 13, 2022 Share #6 Posted June 13, 2022 On 6/12/2022 at 2:42 AM, IG-88 said: one physical volume is missing and its /dev/md4, but its not the mdadm raid, as its still working i guess you would need to inspect /dev/md4 further in relation to lvm2, it looks like the UUID of /dev/md4 is missing or different now Yes, this is a problem. Post /etc/lvm/backup/vg1 Quote Link to comment Share on other sites More sharing options...
pehun Posted June 14, 2022 Author Share #7 Posted June 14, 2022 (edited) here it is acer1969@Diskstation:/etc/lvm/backup$ cat /etc/lvm/backup/vg1 # Generated by LVM2 version 2.02.132(2)-git (2015-09-22): Mon Mar 21 07:20:17 2022 contents = "Text Format Volume Group" version = 1 description = "Created after executing '/sbin/lvextend --alloc inherit /dev/vg1/volume_1 --size 45761536M'" creation_host = "Diskstation" # Linux Diskstation 3.10.105 #25426 SMP Tue Nov 24 17:17:22 CST 2020 x86_64 creation_time = 1647843617 # Mon Mar 21 07:20:17 2022 vg1 { id = "wOZ6OP-qLt2-yTwH-Y3gz-AfcR-p9sX-pen3K6" seqno = 50 format = "lvm2" # informational status = ["RESIZEABLE", "READ", "WRITE"] flags = [] extent_size = 8192 # 4 Megabytes max_lv = 0 max_pv = 0 metadata_copies = 0 physical_volumes { pv0 { id = "ZaSz0T-NRjE-vZEz-V2zZ-7yay-CIa0-67w0bn" device = "/dev/md2" # Hint only status = ["ALLOCATABLE"] flags = [] dev_size = 15589466496 # 7.25941 Terabytes pe_start = 1152 pe_count = 1903011 # 7.25941 Terabytes } pv1 { id = "v7OFq5-a3D0-8yj6-68lz-rn0e-eoDy-WblldV" device = "/dev/md3" # Hint only status = ["ALLOCATABLE"] flags = [] dev_size = 15627958144 # 7.27734 Terabytes pe_start = 1152 pe_count = 1907709 # 7.27733 Terabytes } pv2 { id = "C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK" device = "/dev/md4" # Hint only status = ["ALLOCATABLE"] flags = [] dev_size = 31255990144 # 14.5547 Terabytes pe_start = 1152 pe_count = 3815428 # 14.5547 Terabytes } pv3 { id = "Gh6XAr-s3Iw-YB0c-4F9H-LGi3-Q3lV-0eLMXc" device = "/dev/md5" # Hint only status = ["ALLOCATABLE"] flags = [] dev_size = 31247351424 # 14.5507 Terabytes pe_start = 1152 pe_count = 3814373 # 14.5507 Terabytes } } logical_volumes { syno_vg_reserved_area { id = "jIa3dt-tnsG-MyIq-orcB-J7Jh-QHIk-99RL3w" status = ["READ", "WRITE", "VISIBLE"] flags = [] segment_count = 1 segment1 { start_extent = 0 extent_count = 3 # 12 Megabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv0", 0 ] } } volume_1 { id = "c1Rzz4-nnSz-zX3u-QqUh-G92x-fmeH-4M7iv8" status = ["READ", "WRITE", "VISIBLE"] flags = [] segment_count = 6 segment1 { start_extent = 0 extent_count = 951502 # 3.62969 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv0", 3 ] } segment2 { start_extent = 951502 extent_count = 1430782 # 5.458 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv1", 0 ] } segment3 { start_extent = 2382284 extent_count = 951506 # 3.62971 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv0", 951505 ] } segment4 { start_extent = 3333790 extent_count = 476927 # 1.81933 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv1", 1430782 ] } segment5 { start_extent = 3810717 extent_count = 3815428 # 14.5547 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv2", 0 ] } segment6 { start_extent = 7626145 extent_count = 3814239 # 14.5502 Terabytes type = "striped" stripe_count = 1 # linear stripes = [ "pv3", 0 ] } } } } acer1969@Diskstation:/etc/lvm/backup$ Edited June 14, 2022 by pehun Quote Link to comment Share on other sites More sharing options...
flyride Posted June 14, 2022 Share #8 Posted June 14, 2022 I'm heading out on a business trip for several days. But I think you can follow the steps starting with the cited comment in this thread and restore your volume. https://xpenology.com/forum/topic/41307-storage-pool-crashed/?do=findComment&comment=195345 Quote Link to comment Share on other sites More sharing options...
pehun Posted June 15, 2022 Author Share #9 Posted June 15, 2022 Hello, Thanks again for your answers. I've read the post. As I understand, I need some disks to backup the datas. The time i'll receive it, you'll may be back... if it don't bother you, i'll be better if you help me command by command.... I have backups of the most important datas, but the better would be not to loose any data... Quote Link to comment Share on other sites More sharing options...
flyride Posted June 21, 2022 Share #10 Posted June 21, 2022 Ok, if you still are waiting on this, the status identified by @IG-88 is that the /dev/md4 array is missing its LVM UUID. This can be re-created without damaging data, although we don't know if the data is intact. If you want to try this, the command will be: pvcreate --uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK --restorefile /etc/lvm/backup/vg1 /dev/md4 Then verify what has happened with a pvs and post the results Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #11 Posted June 21, 2022 acer1969@Diskstation:/$ sudo pvcreate --uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK --restorefile /etc/lvm/backup/vg1 /dev/md4 Password: Couldn't find device with uuid C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK. Physical volume "/dev/md4" successfully created Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #12 Posted June 21, 2022 acer1969@Diskstation:/$ sudo pvs WARNING: Volume Group vg1 is not consistent. WARNING: Inconsistent metadata found for VG vg1 - updating to use version 50 PV VG Fmt Attr PSize PFree /dev/md2 vg1 lvm2 a-- 7.26t 0 /dev/md3 vg1 lvm2 a-- 7.28t 0 /dev/md4 vg1 lvm2 a-- 14.55t 0 /dev/md5 vg1 lvm2 a-- 14.55t 536.00m Quote Link to comment Share on other sites More sharing options...
flyride Posted June 21, 2022 Share #13 Posted June 21, 2022 Ok, let's do this too: vgcfgrestore --file /etc/lvm/backup/vg1 vg1 Then pvs again Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #14 Posted June 21, 2022 Restored volume group vg1 Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #15 Posted June 21, 2022 acer1969@Diskstation:/volume2$ sudo pvs PV VG Fmt Attr PSize PFree /dev/md2 vg1 lvm2 a-- 7.26t 0 /dev/md3 vg1 lvm2 a-- 7.28t 0 /dev/md4 vg1 lvm2 a-- 14.55t 0 /dev/md5 vg1 lvm2 a-- 14.55t 536.00m Quote Link to comment Share on other sites More sharing options...
flyride Posted June 21, 2022 Share #16 Posted June 21, 2022 pvs vgchange -ay pvdisplay lvdisplay Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #17 Posted June 21, 2022 acer1969@Diskstation:/volume2$ sudo pvs Password: PV VG Fmt Attr PSize PFree /dev/md2 vg1 lvm2 a-- 7.26t 0 /dev/md3 vg1 lvm2 a-- 7.28t 0 /dev/md4 vg1 lvm2 a-- 14.55t 0 /dev/md5 vg1 lvm2 a-- 14.55t 536.00m Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #18 Posted June 21, 2022 acer1969@Diskstation:/volume2$ sudo vgchange -ay 2 logical volume(s) in volume group "vg1" now active Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #19 Posted June 21, 2022 acer1969@Diskstation:/volume2$ sudo pvdisplay --- Physical volume --- PV Name /dev/md2 VG Name vg1 PV Size 7.26 TiB / not usable 384.00 KiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 1903011 Free PE 0 Allocated PE 1903011 PV UUID ZaSz0T-NRjE-vZEz-V2zZ-7yay-CIa0-67w0bn --- Physical volume --- PV Name /dev/md3 VG Name vg1 PV Size 7.28 TiB / not usable 2.94 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 1907709 Free PE 0 Allocated PE 1907709 PV UUID v7OFq5-a3D0-8yj6-68lz-rn0e-eoDy-WblldV --- Physical volume --- PV Name /dev/md4 VG Name vg1 PV Size 14.55 TiB / not usable 1.94 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 3815428 Free PE 0 Allocated PE 3815428 PV UUID C6GTjV-xqi0-e1XG-045q-hCjs-1dCS-fsbzhK --- Physical volume --- PV Name /dev/md5 VG Name vg1 PV Size 14.55 TiB / not usable 3.81 MiB Allocatable yes PE Size 4.00 MiB Total PE 3814373 Free PE 134 Allocated PE 3814239 PV UUID Gh6XAr-s3Iw-YB0c-4F9H-LGi3-Q3lV-0eLMXc Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #20 Posted June 21, 2022 acer1969@Diskstation:/volume2$ sudo lvdisplay --- Logical volume --- LV Path /dev/vg1/syno_vg_reserved_area LV Name syno_vg_reserved_area VG Name vg1 LV UUID jIa3dt-tnsG-MyIq-orcB-J7Jh-QHIk-99RL3w LV Write Access read/write LV Creation host, time , LV Status available # open 0 LV Size 12.00 MiB Current LE 3 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 253:0 --- Logical volume --- LV Path /dev/vg1/volume_1 LV Name volume_1 VG Name vg1 LV UUID c1Rzz4-nnSz-zX3u-QqUh-G92x-fmeH-4M7iv8 LV Write Access read/write LV Creation host, time , LV Status available # open 0 LV Size 43.64 TiB Current LE 11440384 Segments 6 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 253:1 Quote Link to comment Share on other sites More sharing options...
flyride Posted June 21, 2022 Share #21 Posted June 21, 2022 mount -v /dev/vg1/volume_1 /volume1 Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #22 Posted June 21, 2022 Great I see the files!! now I get it via winscp? Thanks a lot!!! and sorry again Quote Link to comment Share on other sites More sharing options...
flyride Posted June 21, 2022 Share #23 Posted June 21, 2022 Actually I don't see a reason why you can't use normally, there doesn't appear to be any damage. Go ahead and reboot the NAS and make sure everything is still in place afterward. Quote Link to comment Share on other sites More sharing options...
pehun Posted June 21, 2022 Author Share #24 Posted June 21, 2022 It works! Thé volume is dégraded but available. I'm copying my most important files. Thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.