Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I had an RAID 10 Array on 4x4TB drives. One of the drives failed recently and before I had a chance to get a new drive the PC died. Now I took those 3 working drives in a different machine and tried to assemble the array, however it is showing me that there is not enough drives to start the array.
mdadm --assemble --scan -v
Code:
mdadm: looking for devices for /dev/md/2
mdadm: /dev/sdd2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda5 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sr0 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd3 is identified as a member of /dev/md/2, slot 3.
mdadm: /dev/sdc3 is identified as a member of /dev/md/2, slot 2.
mdadm: /dev/sdb3 is identified as a member of /dev/md/2, slot 32769.
mdadm: no uptodate device for slot 0 of /dev/md/2
mdadm: no uptodate device for slot 2 of /dev/md/2
mdadm: added /dev/sdd3 to /dev/md/2 as 3
mdadm: added /dev/sdc3 to /dev/md/2 as 2
mdadm: /dev/md/2 assembled from 2 drives - not enough to start the array.
mdadm --examine /dev/sdd3
Code:
/dev/sdd3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : cd3892ab:b8aaa48a:20b5ab74:fddad0bb
Name : Vault:2
Creation Time : Sun Jun 12 08:36:56 2016
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 7804393120 (3721.42 GiB 3995.85 GB)
Array Size : 7804393088 (7442.85 GiB 7991.70 GB)
Used Dev Size : 7804393088 (3721.42 GiB 3995.85 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=32 sectors
State : clean
Device UUID : 8592628e:a97edfef:e6986718:30843c2a
Update Time : Mon Jul 17 02:06:30 2017
Checksum : fd90c0a - correct
Events : 97672
Layout : near=2
Chunk Size : 64K
Device Role : Active device 3
Array State : ..AA ('A' == active, '.' == missing, 'R' == replacing)
mdadm --examine /dev/sdc3
Code:
/dev/sdc3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : cd3892ab:b8aaa48a:20b5ab74:fddad0bb
Name : Vault:2
Creation Time : Sun Jun 12 08:36:56 2016
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 7804393120 (3721.42 GiB 3995.85 GB)
Array Size : 7804393088 (7442.85 GiB 7991.70 GB)
Used Dev Size : 7804393088 (3721.42 GiB 3995.85 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=32 sectors
State : clean
Device UUID : c37c9709:1f048b35:f3133e80:7d0d585d
Update Time : Mon Jul 17 02:06:30 2017
Checksum : 6bab8016 - correct
Events : 97672
Layout : near=2
Chunk Size : 64K
Device Role : Active device 2
Array State : ..AA ('A' == active, '.' == missing, 'R' == replacing)
mdadm --examine /dev/sdb3
Code:
/dev/sdb3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : cd3892ab:b8aaa48a:20b5ab74:fddad0bb
Name : Vault:2
Creation Time : Sun Jun 12 08:36:56 2016
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 7804393120 (3721.42 GiB 3995.85 GB)
Array Size : 7804393088 (7442.85 GiB 7991.70 GB)
Used Dev Size : 7804393088 (3721.42 GiB 3995.85 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=32 sectors
State : clean
Device UUID : 56d45c15:883a2c28:96b265ad:341003bb
Update Time : Mon Jul 17 02:06:30 2017
Checksum : f4e4bb8b - correct
Events : 97672
Layout : near=2
Chunk Size : 64K
Device Role : Active device 32769
Array State : ..AA ('A' == active, '.' == missing, 'R' == replacing)
The only difference I can see is in the sdb3 is the "Device Role : Active device 32769"
Just to note that the RAID was on synology (xpenology).
Last edited by vgracanin; 08-26-2017 at 04:07 AM.
Reason: fix the mess
Please put output in Code Tags. It makes it easier for us to read and help you.
Looking at this:
Code:
mdadm: looking for devices for /dev/md/2
mdadm: /dev/sdd2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdc is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdb is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda5 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda2 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda1 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sda is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sr0 is not one of /dev/sdd3,/dev/sdc3,/dev/sdb3
mdadm: /dev/sdd3 is identified as a member of /dev/md/2, slot 3.
mdadm: /dev/sdc3 is identified as a member of /dev/md/2, slot 2.
mdadm: /dev/sdb3 is identified as a member of /dev/md/2, slot 32769.
mdadm: no uptodate device for slot 0 of /dev/md/2
mdadm: no uptodate device for slot 2 of /dev/md/2
mdadm: added /dev/sdd3 to /dev/md/2 as 3
mdadm: added /dev/sdc3 to /dev/md/2 as 2
mdadm: /dev/md/2 assembled from 2 drives - not enough to start the array.
I was trying to find a good web page on exactly your issue.
My understanding is you have to fail a device then work on it. On boot a raid does assemble by design. I have to admit that it looks like the drives are active. It may be that you should have numbered the drives out of the box and inserted them to slots that equate but I don't think that is needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.