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!

ZFS Pool Growing - if only one HD is needed to replaced

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
redline
Starter
Starter
Posts: 69
Joined: 29 Dec 2012 19:23
Status: Offline

ZFS Pool Growing - if only one HD is needed to replaced

Post by redline »

Hello
I have an older stable 9.1 Sandstorm running (embedded which boots from a USB stick)

Long ago i created a single ZFS RZ1 pool , where 3 HD's are 3TB and one was 2TB.
So the Pool could only use 2TB of the 3TB devices til yet.

I have now the needed new fresh 3TB (same model) and would like to replace the 2TB HD.
This way the pool should grow , if i switch autoexpand to ON before.

Most replace , resilver , pool growing threads describe the way to go, when all harddisk
are replaced against bigger ones. I have only one to replace.

Unfortunately it was a run and forget System for me. In the last 2 years i had an unwanted mandatory break
so i didn't follow the nas4free development and so i'm now unshure if upgrading the OS should be done
also. (first, later, or never touch)

I never missed anything and if only security is the reason to go 10.3 then i can stay 9.1 as well.

I could read here that the upgrade path before 9.3 isn't straight forward over Webgui and i should
go fresh install , with importing old config.

Because i'm not very familar with nas4free in the moment, because of my break ; i would like to ask for some
advice before i shoot something up.

The main reason is only increasing capacity , using the wasted space of the existig devices
and have all Harddisk then in the same size and model.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: ZFS Pool Growing - if only one HD is needed to replaced

Post by substr »

Before doing a drive change, you should run a scrub on the pool, unless one has been done recently.

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: ZFS Pool Growing - if only one HD is needed to replaced

Post by kenZ71 »

Not sure what a ZR3 is but sounds like your running a 3 drive mirror.

So follow these steps:

https://mattwilson.org/blog/solaris/rep ... -with-zfs/

If the pool don't recognize the new size run this:

zpool set autoexpand=on tank

Where tank is the name of your pool.

Yes, ZFS is awesome
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

redline
Starter
Starter
Posts: 69
Joined: 29 Dec 2012 19:23
Status: Offline

Re: ZFS Pool Growing - if only one HD is needed to replaced

Post by redline »

I scrubbed the pool. After this i tried to set autoexpand to ON , but had no success.

I have a SSH Connection over putty and am logged in as user with admin rights.

But i get allways the message "permission denied" when i try ...

zpool set autoexpand=on RZ1

When i tried to connect over putty as admin , i noticed that i don't remember the
password anymore. It is not nas4free.
So I can only use the user with admin rights in the moment.

Over the WebGui i'm logged in automatically as admin because the Password is automatic
filled in over the browser. But i cannot see the Password anymore.
Trying to send zpool Messages from the gui, i noticed that "set" and "get" is not to find
in the command list of the Gui.

Any ideas ??

redline
Starter
Starter
Posts: 69
Joined: 29 Dec 2012 19:23
Status: Offline

Re: ZFS Pool Growing - if only one HD is needed to replaced

Post by redline »

Resilvering is now running.
I used before "admin" instead of "root" as Login.
That was the only Problem. Sorry about the rumours.

Post Reply

Return to “ZFS (only!)”