I managed to get most of my important data saved, lucky me
Now I'm gonna make a new raid, but before I do this I wanna aske if its possible to do the following and if its a stupid approach:
1. Disks are cleaned out.
2. Making a new raid 6 array.
3. Partition the array with parted.
4. Creating ext4 64bit filesystem.
Or should I do the partition on the drives before making the array? - the old way I made partition on each disk, made the array and then used LVM. But have been told that I should avoid using it (leaving out layers on the disks)
But hit me, what would be the best approach on this? - not found anything conclusive by googling - Also please take notice that I need to be able to grow my filesystem.
Old issue
_________________________________________________________________________________________
Hi Everyone
I'm currently having some big troubles with my raid. My old machine crashed and burned = I have no old configs.
The crash apparently also crashed my mdadm raid.
To make a long story short I have tried to assemble my raid with --assemble --force and the disk with a equal or close event Count.
This resulted in 5 out 7 disks. Although I'm not able to Mount the array. I then tried to rebuild the raid by using --add of the 2 last disks. But this failed with mdadm marking one of the assembled disks as faulty. I can then assemble it Again. I have tried rebuild with both disks at the same time, and 1 at a time. With the same result.
Now I'm considering to run:
mdadm --create --assume-clean --level=6 --raid-devices=7 --size=2930133504 /dev/md0 /dev/sdg1 /dev/sdh1 /dev/sde1 /dev/sdb1 /dev/sdd1 /dev/sdc1 /dev/sdf1
But since disk sdg1 keep failing, maybe I should set it as missing? - maybe also sdf1 since it for some reason runs very slow when recovering.
The command is based on the following:
Device Role : Active device 3 sdb1
Device Role : Active device 5 sdc1
Device Role : Active device 4 sdd1
Device Role : Active device 2 sde1
Device Role : Active device 6 sdf1
Device Role : Active device 0 sdg1
Device Role : Active device 1 sdh1
/dev/sdb1:
Events : 2907469
/dev/sdc1:
Events : 2907469
/dev/sdd1:
Events : 2907469
/dev/sde1:
Events : 2907469
/dev/sdf1:
Events : 2904967
/dev/sdg1:
Events : 2907463
/dev/sdh1:
Events : 2907468
/dev/sdb1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdc1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdd1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sde1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdf1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdg1:
Array State : AAAAA.A ('A' == active, '.' == missing)
/dev/sdh1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdb1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdc1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdd1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sde1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdf1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdg1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdh1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
Any input is welcome, is there something else I can do? - as I find the above command is last resort.
Now I'm gonna make a new raid, but before I do this I wanna aske if its possible to do the following and if its a stupid approach:
1. Disks are cleaned out.
2. Making a new raid 6 array.
3. Partition the array with parted.
4. Creating ext4 64bit filesystem.
Or should I do the partition on the drives before making the array? - the old way I made partition on each disk, made the array and then used LVM. But have been told that I should avoid using it (leaving out layers on the disks)
But hit me, what would be the best approach on this? - not found anything conclusive by googling - Also please take notice that I need to be able to grow my filesystem.
Old issue
_________________________________________________________________________________________
Hi Everyone
I'm currently having some big troubles with my raid. My old machine crashed and burned = I have no old configs.
The crash apparently also crashed my mdadm raid.
To make a long story short I have tried to assemble my raid with --assemble --force and the disk with a equal or close event Count.
This resulted in 5 out 7 disks. Although I'm not able to Mount the array. I then tried to rebuild the raid by using --add of the 2 last disks. But this failed with mdadm marking one of the assembled disks as faulty. I can then assemble it Again. I have tried rebuild with both disks at the same time, and 1 at a time. With the same result.
Now I'm considering to run:
mdadm --create --assume-clean --level=6 --raid-devices=7 --size=2930133504 /dev/md0 /dev/sdg1 /dev/sdh1 /dev/sde1 /dev/sdb1 /dev/sdd1 /dev/sdc1 /dev/sdf1
But since disk sdg1 keep failing, maybe I should set it as missing? - maybe also sdf1 since it for some reason runs very slow when recovering.
The command is based on the following:
Device Role : Active device 3 sdb1
Device Role : Active device 5 sdc1
Device Role : Active device 4 sdd1
Device Role : Active device 2 sde1
Device Role : Active device 6 sdf1
Device Role : Active device 0 sdg1
Device Role : Active device 1 sdh1
/dev/sdb1:
Events : 2907469
/dev/sdc1:
Events : 2907469
/dev/sdd1:
Events : 2907469
/dev/sde1:
Events : 2907469
/dev/sdf1:
Events : 2904967
/dev/sdg1:
Events : 2907463
/dev/sdh1:
Events : 2907468
/dev/sdb1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdc1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdd1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sde1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdf1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdg1:
Array State : AAAAA.A ('A' == active, '.' == missing)
/dev/sdh1:
Array State : .AA.A.A ('A' == active, '.' == missing)
/dev/sdb1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdc1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdd1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sde1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdf1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdg1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
/dev/sdh1:
Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
Any input is welcome, is there something else I can do? - as I find the above command is last resort.
Last edited: