SOLVED Mode Hard drive from Bay 2 to 6 -- probems

Steel-Cat

Explorer
Joined
Jan 24, 2020
Messages
83
I have a hotplug 8 bay Freenas system

Bay 1-4 is a zpool2

All is OK!

Due to SMART Temp alerts I want to move Bay2 to 6 ...

I take the disk offline with the GPTID

I move it from to to 6

I order to online the HD with the same GPTID

Here is the result:

before in 2

efimedia: HD(2,GPT,e82f3761-4761-11ea-a631-7085c2dd19fa,0x400080,0x3a3412a08)
rawuuid: e82f3761-4761-11ea-a631-7085c2dd19fa
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b

afterwards in 6

efimedia: HD(2,GPT,e83777e3-4761-11ea-a631-7085c2dd19fa,0x400080,0x3a3412a08)
rawuuid: e83777e3-4761-11ea-a631-7085c2dd19fa
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b



root@freenas[~]# zpool online Tank gptid/e82f3761-4761-11ea-a631-7085c2dd19fa

warning: device 'gptid/e82f3761-4761-11ea-a631-7085c2dd19fa' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present

the zpool status says:

17308424075185104734 UNAVAIL 0 0 0 was /dev/gptid/e82f3761-4761-11ea-a631-7085c2dd19fa

What went wrong?

Shall I online with the new rawuuid?

Can you please help me?
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
As I told you in the German forum after recognizing my mistake, your disk is not connected in that other bay.
Try camcontrol devlist before and after - there will be one disk less.
 

Steel-Cat

Explorer
Joined
Jan 24, 2020
Messages
83
prior to change

root@freenas[~]# camcontrol devlist
<Marvell Console 1.01> at scbus7 target 0 lun 0 (pass0)
<ST8000VN0022-2EL112 SC61> at scbus8 target 0 lun 0 (pass1,ada0)
<ST8000VN0022-2EL112 SC61> at scbus9 target 0 lun 0 (pass2,ada1)
<ST8000VN0022-2EL112 SC61> at scbus10 target 0 lun 0 (ada4,pass5)
<ST8000VN0022-2EL112 SC61> at scbus11 target 0 lun 0 (pass3,ada2)
<CT1000MX500SSD4 M3CR023> at scbus12 target 0 lun 0 (pass4,ada3)

after change

root@freenas[~]# camcontrol devlist
<Marvell Console 1.01> at scbus7 target 0 lun 0 (pass0)
<ST8000VN0022-2EL112 SC61> at scbus8 target 0 lun 0 (pass1,ada0)
<ST8000VN0022-2EL112 SC61> at scbus9 target 0 lun 0 (pass2,ada1)
<ST8000VN0022-2EL112 SC61> at scbus11 target 0 lun 0 (pass3,ada2)
<CT1000MX500SSD4 M3CR023> at scbus12 target 0 lun 0 (pass4,ada3)

OK; it is not connected... but why?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Open your case and have a close look. Get the documentation for the motherboard, the HBA if you have one, the backplane ...

BTW: that was in my first post in the German thread. I suggested verifying with camcontrol that the disk is connected. Unfortunately I did not insist on seeing the output then or both of us could have saved much time ...
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
I have a hotplug 8 bay Freenas system

Bay 1-4 is a zpool2

All is OK!

Due to SMART Temp alerts I want to move Bay2 to 6 ...

I take the disk offline with the GPTID

I move it from to to 6
I don't follow the logic here. Wouldn't the smart thing here be to shut down the FreeNAS server, physically move the drive from Bay 2 into Bay 6, power on the server and let the pool automount like normal? ZFS does not care which port the drive is connected to.

If @Patrick M. Hausen is correct then you should know your hardware before you do something like this. Do as he suggests, open the case, verify the cabling is there and connected. He is giving you great advice but it sounds like you are resisting it. And if it turns out that you do have all the cabling (I'd like to see a photo so we could see possible wiring problems) then troubleshooting the problem can continue from there.
 

Steel-Cat

Explorer
Joined
Jan 24, 2020
Messages
83
yes i will check again, might be a broken cable or such golden *** .
.
 

Steel-Cat

Explorer
Joined
Jan 24, 2020
Messages
83
OK, i Got it: The HW Seller sold me an incompatible HBA a DELOCK with 4 port Marvell 88... chip..

ahci0: <Marvell 88SE9230 AHCI SATA controller> port 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f mem 0xfcf10000-0xfcf107ff irq 24 at device 0.0 on pci1
ahci0: AHCI v1.20 with 8 6Gbps ports, Port Multiplier not supported
ahci0: quirks=0x900<NOBSYRES,ALTSIG>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
 
Top