LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-25-2018, 11:10 AM   #1
Steve4407
LQ Newbie
 
Registered: Apr 2018
Posts: 2

Rep: Reputation: Disabled
How to mount a HDD using JBOD


Hi there,

All drives were working fine on Adaptec Raid controller. One drive status was suddenly changed from online to Ready state. Please guide me how to make the Ready state drive to online and configure to /dev/sdb using JBOD. Device 0 needs to be configured as /dev/sdb.

Device #0
Device is a Hard drive
State : Ready
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Connector 0, Device 0
Vendor : SEAGATE

Device #1
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,1(1:0)
Reported Location : Connector 0, Device 1
Vendor : SEAGATE

Device #2
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,2(2:0)
Reported Location : Connector 0, Device 2
Vendor : SEAGATE

Device #3
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,3(3:0)
Reported Location : Connector 0, Device 3
Vendor : SEAGATE
Command completed successfully.
 
Old 04-25-2018, 02:39 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
So you want to blow away whatever RAID configuration you have on the Adaptec rather than try to determine what is wrong with one of its disks?

I haven't used an adaptec controller in some time but generally speaking for most RAID controllers you can get into the config of the adapter during boot by hitting the keys it prompts for during its firmware load. Before doing anything else at OS level I'd suggest you do that to see what RAID sets and or Virtual drives you have defined.

You may simply need to re-seat the drive in question to have it rebuild or you may need to replace it but doing anything else without knowing what the setup risks damaging what is left. Given you have 4 drives I suspect you're using RAID5 and if so that can survive a single disk failure - however if you lose a second disk in RAID 5 then you'd lose the entire set.
 
Old 04-25-2018, 02:58 PM   #3
Steve4407
LQ Newbie
 
Registered: Apr 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Mensawater, first of all thank you for your suggestions, will do that.

Yes you are right, Raid level 5 configured with 3 disks they are all online. But the READY state drive mounted as a standalone disk on /dev/sdb.

Will it be online when reseating the drive , any possibility? Can we try rebooting the server?
 
Old 04-30-2018, 09:12 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
FIRST I recommend backing up your files before doing any other action.

You'd have to reboot to get into the firmware of the controller to see current configuration.

If it was RAID5 with all 4 drives losing the 1 drive doesn't lose the RAID5 set but losing the next drive would so it is important to resolve the missing drive.

If your RAID5 set was built for 4 drives you need to re-establish the 4th drive. Often reseating the drive is all that is needed (assuming it doesn't have physical issues) for it to begin rebuilding the RAID5 set to recreate data and cksums on the 4th drive by reading information from the other 3. If there is a physical issue with the drive such a rebuild might not work and you'd have to replace it to do the rebuild. Note that RAID5 has been known to fail a second disk during the rebuild which is one reason why you want to be sure you have a good backup before doing anything else.

Some RAID controllers do make you initiate the rebuild of 4th drive rather than doing it automatically on re-seat or replacement. You'd have to look at your firmware or find documentation for your controller to determine that.

It is possible that the RAID5 set was originally only 3 drives and the 4th drive was set as a "hot spare". A "hot spare" setup automatically moves data and cksum to the "hot spare" from a drive that failed. Usually I haven't seen that on system controllers for internal drives but rather for external disk arrays. Looking at the firmware would tell you how it is configured.

It is also possible this 4th drive was never in the RAID5 or a "hot spare". If so you can use it as you would any ordinary drive (JBOD as you originally asked). Just remember though that it is a single drive so if it fails any data on it is lost.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can`t mount drive from NAS (JBOD) accsi Linux - Hardware 5 10-03-2013 11:34 AM
Adding another hdd, want to turn my /home RAID0 into JBOD. Could/should I use aufs? treewojima Linux - General 4 12-30-2010 06:34 AM
Can't mount "adaptec morphed JBOD" with ntfs-3g Dinobot Slackware 2 04-01-2010 01:21 AM
JBOD needs to mount in OSX prophet Linux - Desktop 1 04-17-2007 08:37 PM
JBOD needs to mount in OSX prophet Linux - Desktop 1 04-15-2007 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 09:32 AM.

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