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!

Changed disks in RaidZ1 - not able to grow

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dboy
Starter
Starter
Posts: 29
Joined: 25 Oct 2012 22:32
Status: Offline

Changed disks in RaidZ1 - not able to grow

Post by dboy »

I have changed all 4 disks in a RaidZ1 on the command line.
1. I cant make the zpool accept that they are doubled in size. I have tried to export and import. I have set autosize=on
2.The disks still show with the old brandname etc in the Nas4free webgui.

I can't find exact info about what exact commands to use in the webgui to export and import the disks to make them show correctly in the Status-Disks menu, I suspect this may be why they still show with the old size.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Changed disks in RaidZ1 - not able to grow

Post by b0ssman »

the parameter is autoexpand not autosize
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.

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

Re: Changed disks in RaidZ1 - not able to grow

Post by raulfg3 »

dboy wrote:2.The disks still show with the old brandname etc in the Nas4free webgui.
try to sync webgui & real pool
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

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Changed disks in RaidZ1 - not able to grow

Post by ChriZathens »

Yeap, as b0ssman said, the parameter is not autosize...
In any case, autoexpand will not work if you set it now (after changing the disks)
As Raul said:
  • Go to Disks|Management ---> what do you see there?
    If disk names are red, click on Clear config & Import disks. You should see the correct disks now.
    The column named Device lists the names of the disks (ada0,ada1, etc, or da0,da1 etc, depending on your hardware; write down the names)
  • Another step to do is Disks|ZFS|Configuration|Synchronize and click on synchronize
You should now see the correct disks but the space is still the old smaller one.
So, in order to claim the additional space (assuming you have changed all the disks with larger ones):
Go to Advanced|Execute command and for every disk you have, run this command

Code: Select all

zpool online -e <poolname> <diskname>
Obviously, you must replace <poolname> with the name of your pool and <diskname> with the disk name for each command.
So if you have a pool named tank and the disks are ada0, ada1 & ada2 you should run those 3 commands:

Code: Select all

zpool online -e tank ada0
zpool online -e tank ada1
zpool online -e tank ada2
Then the additional space will be available

P.S: If you have any more questions, post screenshots of what you see and seek for advice before doing something you are not sure about! :D
Cheers!
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Post Reply

Return to “ZFS (only!)”