Page 1 of 1

Cannot mount after RAID5 recovery

Posted: 20 May 2020, 04:34
by jbeazell
I'm getting the following when I attempt to mount the RAID:
-bash-4.4# mount /dev/mapper/vg0-lv0 /mnt/md0/
mount: /mnt/md0: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-lv0, missing codepage or helper program, or other error.
-bash-4.4# mount: /mnt/md0: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-lv0, missing codepage or helper program, or other error.

The array looks OK:
-bash-4.4# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md0 : active raid5 sdb4[0] sda4[4] sdd4[2] sdc4[1]
17571293184 blocks super 1.2 level 5, 128k chunk, algorithm 2 [4/4] [UUUU]
bitmap: 0/44 pages [0KB], 65536KB chunk

-bash-4.4# mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon Mar 30 15:44:30 2020
Raid Level : raid5
Array Size : 17571293184 (16757.29 GiB 17993.00 GB)
Used Dev Size : 5857097728 (5585.76 GiB 5997.67 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent

Intent Bitmap : Internal

Update Time : Tue May 19 15:04:43 2020
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 128K

Name : TNAS-2CC8E6:UTOSUSER-X86-S64
UUID : cc80e7cd:c6b902c4:ef36b897:409e8f96
Events : 18518

Number Major Minor RaidDevice State
0 8 20 0 active sync /dev/sdb4
1 8 36 1 active sync /dev/sdc4
2 8 52 2 active sync /dev/sdd4
4 8 4 3 active sync /dev/sda4


I can't seem to repair it, either:

-bash-4.4# btrfs check --repair --init-extent-tree --init-csum-tree /dev/mapper/vg0-lv0
enabling repair mode
Creating a new CRC tree
couldn't open RDWR because of unsupported option features (3).
ERROR: cannot open file system


suggestions?

Re: Cannot mount after RAID5 recovery

Posted: 20 May 2020, 07:55
by jbeazell
More things I've tried:
-bash-4.4# btrfsck /dev/mapper/vg0-lv0
parent transid verify failed on 441725075456 wanted 131622 found 131618
parent transid verify failed on 441725075456 wanted 131622 found 131618
parent transid verify failed on 441725075456 wanted 131622 found 131618
parent transid verify failed on 441725075456 wanted 131622 found 131618
Ignoring transid failure
leaf parent key incorrect 441725075456
ERROR: cannot open file system

-bash-4.4# btrfs rescue zero-log /dev/mapper/vg0-lv0
couldn't open RDWR because of unsupported option features (3).
ERROR: could not open ctree

-bash-4.4# mount -t btrfs -o recovery,nospace_cache,nospace_cache /dev/mapper/vg0-lv0 /mnt/md0
mount: /mnt/md0: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-lv0, missing codepage or helper program, or other error.

-bash-4.4# mount -t btrfs -o ro,nospace_cache,nospace_cache /dev/mapper/vg0-lv0 /mnt/md0/
mount: /mnt/md0: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-lv0, missing codepage or helper program, or other error.

Re: Cannot mount after RAID5 recovery

Posted: 21 May 2020, 11:49
by TMSupport
Your information has been transferred to the related dept., and will get back to you if any results.