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!

Increase shared space by adding drives

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
biggsy
experienced User
experienced User
Posts: 79
Joined: 02 Jul 2012 10:24
Location: Sydney, Australia
Status: Offline

Increase shared space by adding drives

Post by biggsy »

Hi,

I've been using N4F under ESXi for some time but only as a means to backup my desktop to a CIFS/SMB share.

I have been trying to build a new N4F that can provide the space on one disk as a single CIFS/SMB share but, more importantly, allow for the space on one or more disks (of different sizes) to be added later.

As an example, start with a single 500GB disk and maybe add a 320GB and/or a 1TB disk later - without losing or recopying what is stored on the 500GB.

As the purpose of this is just to provide backup storage, redundancy isn't really a requirement.

I've experimented with both ZFS and JBOD (and read everything I can) but can't see how to increase the shared space without losing what is already there.

Is this even possible or am I dreaming?

Thanks.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Increase shared space by adding drives

Post by raulfg3 »

Create a zfs pool with only one disk, and add disk one at time like vdevs to existing pool.

If only one disk fail, you lose all data in your pool, but if is a backup, it is not a problem.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

biggsy
experienced User
experienced User
Posts: 79
Joined: 02 Jul 2012 10:24
Location: Sydney, Australia
Status: Offline

Re: Increase shared space by adding drives

Post by biggsy »

Thank you raulfg3,

Here is the process I followed:

First Disk
-----------
Disks|Management
+
Disks|Management|Disk|Add
Select ada1
Descr: ada1
ADD, APPLY CHANGES

Disks|Format
Select ada1
FS: ZFS storage pool device
FORMAT

Disks|ZFS|Pools|Virtual device
+
Name: Vdev1
Type: Stripe
Select ada1
ADD, APPLY CHANGES

Disks|ZFS|Pools|Management
+
Disks|ZFS|Pools|Management|Add
Name: Pool1
Select Vdev1
ADD, APPLY CHANGES

Second Disk
-----------
Disks|Management
+
Disks|Management|Disk|Add
Select ada2
Descr: ada2
ADD, APPLY CHANGES

Disks|Format
Select ada2
FS: ZFS storage pool device
FORMAT

Disks|ZFS|Pools|Virtual device
+
Name: Vdev1
Type: Stripe
Select ada2
ADD, APPLY CHANGES

Here is where I get stuck. I can't see how to add the second disk, except as a separate pool.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Increase shared space by adding drives

Post by raulfg3 »

In disk zfs pools tools use option vdev add, and add second vdev to existing pool.

http://wiki.nas4free.org/doku.php?id=do ... ools_tools


PD: second disk name must be vdev2 , not vdev1 That you use in disk 1
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

biggsy
experienced User
experienced User
Posts: 79
Joined: 02 Jul 2012 10:24
Location: Sydney, Australia
Status: Offline

Re: Increase shared space by adding drives

Post by biggsy »

Thank you again.

Second Vdev1 was a typo.

Post Reply

Return to “CIFS/SMB (Samba)”