I'm trying to add some new mirrored disks to my existing pool and am having some trouble. From the command line this would be really simple:
zpool add pool mirror /dev/disk1 /dev/disk2
but
A) I can't find a command line utility that can give me a device list (/dev/disk1) that zpool wants. Nas4free seems to have intentionally removed these to make it smaller.
B) the web UI doesn't seem to allow me to add anything to an existing pool.
Is there something really simple I'm overlooking? Thanks.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Adding disks to an existing pool
-
monotone
- NewUser

- Posts: 2
- Joined: 19 Apr 2013 01:59
- Status: Offline
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Adding disks to an existing pool
the web gui will list all your drives under disk managment
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
-
chrisf4lc0n
- Advanced User

- Posts: 262
- Joined: 07 May 2013 13:15
- Location: West Drayton (London)
- Status: Offline
Re: Adding disks to an existing pool
What about:
When you create pools or adding the disks to the existing pool without re-sizing the sectors you can discard "/dev/" and simply do:
Code: Select all
nas4free:~# camcontrol devlist
<SAMSUNG HD502HI 1AG01118> at scbus0 target 0 lun 0 (ada0,pass0)
<ST3500630AS 3.AFM> at scbus1 target 0 lun 0 (ada1,pass1)
<ST2000DM001-1CH164 CC24> at scbus3 target 0 lun 0 (ada2,pass2)
<WDC WD3200AAKS-22B3A0 01.03A01> at scbus4 target 0 lun 0 (ada3,pass3)
<WDC WD3200AAKS-00V1A0 05.01D05> at scbus5 target 0 lun 0 (ada4,pass4)
<Kingston DataTraveler 111 PMAP> at scbus10 target 0 lun 0 (pass5,da0)
<ADATA USB Flash Drive 0.00> at scbus11 target 0 lun 0 (da1,pass6)Code: Select all
zpool add "name of your pool" mirror "device 1" "device 2"Watercooling is just the beginning 
-
monotone
- NewUser

- Posts: 2
- Joined: 19 Apr 2013 01:59
- Status: Offline
Re: Adding disks to an existing pool
I didn't realize you could skip the "/dev/". I knew about camcontrol, but it was missing said prefix. I also saw it in the disk management section, but wanted to know if there was a way to do it entirely via the UI or entirely via the command line. Didn't hear a way to do it via the UI -- which is fine.
Thanks. That got it working.
Thanks. That got it working.
-
chrisf4lc0n
- Advanced User

- Posts: 262
- Joined: 07 May 2013 13:15
- Location: West Drayton (London)
- Status: Offline
Re: Adding disks to an existing pool
If you could also post the results from:
zpool status
Just to see that you are using 4kb sectors or not, as if you are using the 4kb sectors there is a bit more in the command line you need to add...
Chris.
zpool status
Just to see that you are using 4kb sectors or not, as if you are using the 4kb sectors there is a bit more in the command line you need to add...
Chris.
Watercooling is just the beginning 