LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2019, 01:03 AM   #1
PetterJhon
LQ Newbie
 
Registered: Jun 2019
Posts: 2

Rep: Reputation: Disabled
Cannot add replacement drive (mdadm) not large enough to join array


Hello everyone,,,

using mdadm (version - v2.6.4 - 19th October 2007) on openfile filer kernel (2.6.29.6-0.24.smp.gcc3.4.x86.i686)

I replaced a faulty 4tb hitachi drive (with another exact model) the error "not large enough to join array"

steps:
installed new drive, using parted, created label and partition identical to existing drives. used partprobe to sync part table, tried to add the disk with: mdadm --add /dev/md1 /dev/sdb1

The troubleshooting so far:

blockdev --getsz
got same results for all 3

hdparam -g
got same results for all 3


I even tweaked the numbers in parted to give me a few blocks more so that there was no possibility of there being not enough space.

After changing command from:
mdadm --add /dev/md1 /dev/sdb1
to:
mdadm -vv --add --force /dev/md1 /dev/sdb1

I finally found what may be the root cause (mdadm: set device faulty failed for /dev/sdb1: No such device)

But the drive is fine, there is no indication from any other system or software that says there is a problem with the drive.

I even tried copying the first 1000 blocks off the bad drive to get the first copy of the GPT data off the drive, but nothing changes the results.

Can anyone give me any advice or directions? -- Very frustrating
 
Old 06-19-2019, 12:17 PM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
What is output of:

Code:
lsscsi

lsblk -a

cat /proc/mdstat
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot add replacement drive (mdadm) not large enough to join array PeteLindsey Linux - Newbie 26 04-11-2019 04:40 PM
mdadm: not enough to start the array while not clean - consider --force. cookkoo Linux - Newbie 6 09-28-2016 03:49 AM
mdadm partiton not large enough to join array NickCharsley Linux - Newbie 0 05-11-2014 01:44 AM
Raid 10 not assembling mdadm assembled from 2 drives - not enough to start the array Nemus Linux - Server 1 02-20-2011 11:27 PM
MDADM Help - "not enough to start the array while not clean - consider --force." DavidDiggs Linux - Server 2 03-27-2010 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration