Replace disk showing "-"instead of disk

smokin5s

Cadet
Joined
Jan 6, 2022
Messages
2
Hello, I am trying to replace hard drives with larger drives. I have been able to successfully replace 2 drives but on my 3rd drive, there is no disk choice, I only see "-" when selecting replace. The steps I am taking are
- Setting the disk I'm looking to replace as offline
- Hot swapping the disk with the replacement disk
- Clicking on the new disk and selecting replace and selecting the disk (At this step I'm only seeing "-" instead of da6)
- Allow disks to resilver

Am I missing a step or what can I do in order to resolve this?

I am attaching a screenshot of what I am seeing.

Thanks in advance!
 

Attachments

  • Screen Shot 2022-01-06 at 1.15.18 PM.png
    Screen Shot 2022-01-06 at 1.15.18 PM.png
    211.5 KB · Views: 119

Club

Cadet
Joined
May 16, 2023
Messages
7
Hi@all,
i'm new in this Forum and unfortunately can't open a new thread. i have the same problem as smokin5s.

im using FreeNAS-9.10.2-U6 (i know it's old, i will update it as soon as my zvol is working fine)

i have a RAID with 6 disks and at first 1 disk failed, now it's already 2 disks :(
i tried all guides i could find, but did not find an solution yet

what i did:

- marked the "UNAVAILABLE" disk as "OFFLINE"
- shutdown the NAS
- replaced the disk
- start NAS

and now there is no replacement disk

1686048794747.png


i alread tried to use that disk to replace the second failed one, with the sam result

"geom disk list" is not showing the new disk
"camcontrol devlist" shows the new disk

on the shell i tried:
zpool replace -f poolname 9817586330195686689 /dev/gptid/c659265c-b6ff-11e5-9e5d-001e67ad5808

but get the error:
cannot replace 18071580298447369189 with /dev/gptid/c659265c-b6ff-11e5-9e5d-001e67ad5808: no such pool or dataset

1686049638269.png


the disk on the left is the first disk that failed, the right is the new one

am i missing something?
do you need any further information?

thank you very much
Best regards
Christoph
 

Club

Cadet
Joined
May 16, 2023
Messages
7
sorry, the error message
cannot replace 18071580298447369189 with /dev/gptid/c659265c-b6ff-11e5-9e5d-001e67ad5808: no such pool or dataset
was for the second failed drive i tried to replace, the original error message is
cannot replace 9817586330195686689 with /dev/gptid/c659265c-b6ff-11e5-9e5d-001e67ad5808: no such pool or dataset
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
unfortunately can't open a new thread
You can, you were probably just trying to open one in a restricted section. By the way, I moved this thread out of the old section where it was so that it doesn't get lost among all the old threads.


what i did:

- marked the "UNAVAILABLE" disk as "OFFLINE"
- shutdown the NAS
- replaced the disk
- start NAS

and now there is no replacement disk
That's kind of weird.
"camcontrol devlist" shows the new disk
Now that is super weird. The middleware must have gotten confused, somehow.
but get the error:
cannot replace 18071580298447369189 with /dev/gptid/c659265c-b6ff-11e5-9e5d-001e67ad5808: no such pool or dataset
Some error messages, especially in older versions of ZFS, are misleadingly specific when they should actually be more generic and/or are just plain incorrect. This may be one of them. Can you provide us the output of zpool status and camcontrol devlist?
Note that you probably want to create the extra partitions that TrueNAS creates on data disks, but one thing at a time.
 

Club

Cadet
Joined
May 16, 2023
Messages
7
zpool status:
Code:
[root@nas01 ~]# zpool status                                                                                                   
  pool: poolname                                                                                                                     
 state: DEGRADED                                                                                                                   
status: One or more devices has been taken offline by the administrator.                                                           
        Sufficient replicas exist for the pool to continue functioning in a                                                       
        degraded state.                                                                                                           
action: Online the device using 'zpool online' or replace the device with                                                         
        'zpool replace'.                                                                                                           
  scan: scrub repaired 0 in 80h24m with 0 errors on Wed May 17 08:24:34 2023                                                       
config:                                                                                                                           
                                                                                                                                  
        NAME                                            STATE                                  READ WRITE CKSUM                                                 
        pl1                                          DEGRADED                                   0     0     0                                                 
          raidz2-0                                      DEGRADED                                  0     0     0                                                 
            gptid/70f383a8-3e4f-11e9-bd65-001e67ad5808  ONLINE         0     0     0                                                 
            gptid/5d0bed8b-35fa-11e9-a9d3-001e67ad5808  ONLINE       0     0     0                                                 
            gptid/5f2c50c2-9161-11eb-9dd7-001e67ad5808  ONLINE        0     0     0                                                 
            9817586330195686689                                            OFFLINE       0     0     0  was /dev/gptid/a58c0460-38ed-11e9-bcb8-001e67ad5808                                                                                                                               
            18071580298447369189                                           OFFLINE      0     0     0  was /dev/gptid/b6a9f565-2ee3-11e9-874f-001e67ad5808                                                                                                                               
            gptid/ed68f255-3b7b-11e9-839f-001e67ad5808  ONLINE       0     0     0                                                 
        logs                                                                                                                       
          gptid/3a6bfe15-ba05-11e5-8aa7-001e67ad5808    ONLINE       0     0     0                                                 
        cache                                                                                                                     
          ada2p1                                        ONLINE       0     0     0                                                 
                                                                                                                                  
errors: No known data errors                                                                                                       
                                                                                                                                  
  pool: freenas-boot                                                                                                               
 state: ONLINE                                                                                                                     
  scan: scrub repaired 0 in 0h2m with 0 errors on Thu May 25 03:47:47 2023                                                         
config:                                                                                                                           
                                                                                                                                  
        NAME                                          STATE     READ WRITE CKSUM                                                   
        freenas-boot                                  ONLINE       0     0     0                                                   
          gptid/c65fb121-b6ff-11e5-9e5d-001e67ad5808  ONLINE       0     0     0                                                   
                                                                                                                                  
errors: No known data errors

-----------------------------------------------
camcontrol devlist:

<ATA ST12000VN0007-2G SC60>        at scbus0 target 9 lun 0 (pass0)                                                               
<ATA ST12000VN0008-2Y SC60>        at scbus0 target 10 lun 0 (pass1)                                                               
<ATA ST12000VN0007-2G SC60>        at scbus0 target 11 lun 0 (pass2)                                                               
<ATA ST12000NE0008-2J EN01>        at scbus0 target 12 lun 0 (pass3)                                                               
<ATA ST12000VN0007-2G SC60>        at scbus0 target 13 lun 0 (pass4)                                                               
<TSSTcorp CDDVDW SN-208FB SB00>    at scbus1 target 0 lun 0 (pass5,cd0)                                                           
<Samsung SSD 850 EVO 120GB EMT01B6Q>  at scbus3 target 0 lun 0 (pass6,ada0)                                                       
<WDC WD1600BEVT-22ZCT0 11.01A11>   at scbus5 target 0 lun 0 (pass7,ada1)                                                           
<Samsung SSD 850 PRO 1TB EXM02B6Q>  at scbus6 target 0 lun 0 (pass8,ada2)


at the moment i completely removed one of
the failed drives, that's why only 5 drives are shown
 
Last edited by a moderator:

Club

Cadet
Joined
May 16, 2023
Messages
7
Hello @All,
looks like there is no proper solution to this problem. what do you guys think woud be the best practise now?
copy the files to another place and then either first delete the RAID and recreate it or first try an update of FreeNAS with the broken RAID and see what happens?

let me know what you think

best regards
Chris
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You might want to try wiping the replacement disk first from the disks section.
 

Club

Cadet
Joined
May 16, 2023
Messages
7
i cannot see the new disk in the disks section, if you mean Storage -> View Disks in the GUI
 

Club

Cadet
Joined
May 16, 2023
Messages
7
Hi @All,
i'm still trying to solve this problem. I already saved some of the most important files, but not all. Right now i'm trying to Update FreeNAS but also get stuck. As mentioned i'm running version FreeNAS 9.10 and when i try to auto update i get this message:
1698236603104.png

a ping to google for example or a nslookup works fine, also a curl.

when i enter the webpage via browser and try a manual update with for example "FreeNASUI-11.0-RELEASE-64bdd482f3f4159771030dd9776721db.tgz" i get the following message after step "1/3 Uploading Update":

1698236793805.png


any ideas?

best regards
Chris
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Well, clearly the updater was setup to not accept redirects - and I'm not sure it would know how to deal with what's on the other side anyway, all these years later.

You can just update from install media and import the config database (be sure you have backed it up before you do anything, in any case). Expect to have to reconfigure permissions for SMB shares.
 
Top