Can I temporarily disconnect one disk to free a SATA port?

hako

Cadet
Joined
Mar 23, 2022
Messages
1
I have a hard drive from my computer that I want to import into my pool, since the network share is being weird and not copying things correctly.
I only have six SATA ports on my motherboard, and all of them are filled. (1: boot drive, 2-6: pool drives)
Is it okay if I offline and disconnect one single disk from my pool to quickly import the data from my drive, and then have the pool resilver afterwards?
The pool and drives are all very young, so I'm not concerned with any of them possibly failing when rebuilding.
Alternatively, could I remove the boot pool while TrueNAS is already running? I'm assuming that's a 'no', but you never know...

Here is my pool:
Code:
  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:00:04 with 0 errors on Thu Mar 17 03:45:04 2022
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          ada0p2    ONLINE       0     0     0

errors: No known data errors

  pool: z1pool
 state: ONLINE
  scan: scrub repaired 0B in 01:02:51 with 0 errors on Tue Mar 15 07:56:03 2022
config:

        NAME                                            STATE     READ WRITE CKSUM
        z1pool                                          ONLINE       0     0 0
          raidz1-0                                      ONLINE       0     0 0
            gptid/d7cb209d-a17d-11ec-9fe3-f4b520018e85  ONLINE       0     0 0
            gptid/d7a1f700-a17d-11ec-9fe3-f4b520018e85  ONLINE       0     0 0
            gptid/d7b65f2f-a17d-11ec-9fe3-f4b520018e85  ONLINE       0     0 0
            gptid/d7e2a6d0-a17d-11ec-9fe3-f4b520018e85  ONLINE       0     0 0
            gptid/d7f6152a-a17d-11ec-9fe3-f4b520018e85  ONLINE       0     0 0

errors: No known data errors
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Is it okay if I offline and disconnect one single disk from my pool to quickly import the data from my drive, and then have the pool resilver afterwards?
The pool and drives are all very young, so I'm not concerned with any of them possibly failing when rebuilding.
With a raidz1 you should be concerned about the lack of redundancy while importing data…
The best option is to fix network sharing so the NAS works as intended. Second best option would be to plug the drive with a USB adapter to import.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
3rd option is to use a USB flash drive to mirror your SATA boot-pool device. Then disconnect the boot-pool SATA device, attach your import disk, perform the import, then reverse the process.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
What about connecting the disk to a workstation and copy the data via SMB?
 
Top