Hello.
I upgrade mon RAID5 with a new HDD.
In the OMV Gui, I don't activate anything and yet, my RAID wasn't still visible.
In putty I can see my RAID was Degraded. It added the HDD by himself ??
After a lot of search and I don't know what I have in my mind, I do:
mdadm --zero-superblock /dev/sda
And my RAID become FAILED... And sdg (the new HDD) not integrated in the RAID5
I'm a linux noob and I don't want to press the nail and lost everything...
Is there a way to recover all my data for a backup?
NB. Excuse me for my poor english...
For more details:
mdadm --detail /dev/md127 give:
/dev/md127:
Version : 1.2
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Used Dev Size : -1
Raid Devices : 7
Total Devices : 5
Persistence : Superblock is persistent
Update Time : Sat Jan 21 16:03:12 2017
State : active, FAILED, Not Started
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Delta Devices : 1, (6->7)
Name : NAS-Maison:Stock
UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Events : 7499
Number Major Minor RaidDevice State
0 8 128 0 active sync /dev/sdi
1 8 112 1 active sync /dev/sdh
2 8 64 2 active sync /dev/sde
3 8 16 3 active sync /dev/sdb
4 0 0 4 removed
5 8 80 5 active sync /dev/sdf
6 0 0 6 removed
mdadm --examine /dev/sda
mdadm: No md superblock detected on /dev/sda.
mdadm --examine /dev/sdb
/dev/sdb:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : c5f513f4:e8e3b192:7874e636:d959bc3e
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 16:03:12 2017
Checksum : 6a5a89 - correct
Events : 7499
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAAAA. ('A' == active, '.' == missing)
mdadm --examine /dev/sde
/dev/sde:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 9b356513:b4b16eb6:d739e100:137940ee
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 16:03:12 2017
Checksum : bcf74cc2 - correct
Events : 7499
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAAAA. ('A' == active, '.' == missing)
mdadm --examine /dev/sdf
/dev/sdf:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 358d754e:a6232882:0ee0fae0:efb054a8
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 16:03:12 2017
Checksum : 5deef465 - correct
Events : 7499
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 5
Array State : AAAAAA. ('A' == active, '.' == missing)
mdadm --examine /dev/sdg
/dev/sdg:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : active
Device UUID : acdb4fd4:3a19b021:dfd36849:997e4ec7
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 15:02:19 2017
Checksum : ab7ebaa - correct
Events : 7494
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 6
Array State : AAAAAAA ('A' == active, '.' == missing)
mdadm --examine /dev/sdh
/dev/sdh:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 38be4781:f6ba975f:06e16284:b1aeeb68
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 16:03:12 2017
Checksum : d22fbb6d - correct
Events : 7499
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAAAA. ('A' == active, '.' == missing)
mdadm --examine /dev/sdi
/dev/sdi:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : 343e9353:fa4ec1d3:d6b91659:b517e910
Name : NAS-Maison:Stock
Creation Time : Mon May 16 20:34:29 2016
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
Array Size : 17580810240 (16766.37 GiB 18002.75 GB)
Used Dev Size : 5860270080 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 2c4420fd:7d08af42:85993da1:c81a0804
Reshape pos'n : 18432 (18.00 MiB 18.87 MB)
Delta Devices : 1 (6->7)
Update Time : Sat Jan 21 16:03:12 2017
Checksum : e916b37d - correct
Events : 7499
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAAAA. ('A' == active, '.' == missing)
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : inactive sdi[0] sdf[5] sdb[3] sde[2] sdh[1]
14650677560 blocks super 1.2
unused devices: <none>
Please Help