Active IQ and AutoSupport Discussions

How resize vol0 on simulator

sce
5,015 Views

Hi,
can you please help me how to resize vol0 on simulator NetApp 9.10.1 ?

1 ACCEPTED SOLUTION

Ontapforrum
4,993 Views

All the information is available in the Install guide (Page:15, Please have a look)
https://mysupport.netapp.com/api/tools-service/toolsbinary/simulate-ontap/download/Simulate_ONTAP_9.10.1_Installation_and_Setup_Guide.pdf

 

Expanding the root volume size : If your root volume is too small, you can expand it. Your root aggregate must have enough free space to accommodate an increase in the size of your root volume. If necessary, add more disks to your root aggregate to increase its size and accommodate the additional space needed in your root volume.


Check if there are any disks that are not-owned.
>disk shown -n (If it shows)
then
>disk assign all

This will make the disks show up as 'spare'.

Then, simply add the disks to root aggregate

::>aggr add-disks -aggregate <root_aggr> -diskcount 5

Once this is done,
> df -Ah (check the root aggr size increased)
if yes, increase the vol0 size.

View solution in original post

6 REPLIES 6

Ontapforrum
4,998 Views

You can resize the vol0 via this cmd: (provided there is enough space in the aggregate)
cluster-node> vol size vol0  +500m   (will increase by 500mb)
cluster-node> vol size vol0  +1g        will increase by 1gb)
cluster-node> vol size vol0  1g           (will set the size to 1gb)

sce
4,997 Views

If I use this cmd I've got this message:
vol size vol0 +500m

vol size: Cannot grow root volume to more than 95% of the available aggregate size which is currently 1654064k.
An attempt was made to set the root volume size to 2167200k.

What should I do please ?

Alexvasile
4,978 Views

Hello , first of all you can add disks to the root aggregate ; ex : ::> aggr add-disks -aggregate aggr0 -diskcount 3  ( this will add 3 disks ) .

 

Other tips and tricks : disable snapshots of vol0 for sims :

 

::> system node run -node ontapsim
Type 'exit' or 'Ctrl-D' to return to the CLI
> snap sched vol0 0 0 0
> snap sched vol0
Volume vol0: 0 0 0

 

Disable the snapshot reserve :

::> system node run -node ontapsim1 snap reserve vol0 0

 

What i have in the lab regarding to 9.10.1 look like this :

 

OntapSIM9101-n1::> version
NetApp Release 9.10.1: Sat Jan 15 15:04:44 UTC 2022

OntapSIM9101-n1::> aggr show aggr0 -disk
Aggregate #disks Disks
--------- ------ ---------------------------
aggr0 9 NET-1.7, NET-1.9, NET-1.10, NET-1.11, NET-1.12, NET-1.15,
NET-1.18, NET-1.22, NET-1.23

OntapSIM9101-n1::> aggr show


Aggregate Size Available Used% State #Vols Nodes RAID Status
--------- -------- --------- ----- ------- ------ ---------------- ------------
aggr0 5.84GB 551.3MB 91% online 1 OntapSIM9101-n1- raid_dp,
01 normal


There is no snap reserve or snapshots ; sims running in vmware environment stable no crashing nothing for months .

 

( i also have an 9.6 version that runs for at least 2 years now ) .

 

I hope this helps,

Alex.

 

sce
4,974 Views

Hello Alex,
your suggestions helped.
Thank you very much.
Have a nice day.

Ontapforrum
4,994 Views

All the information is available in the Install guide (Page:15, Please have a look)
https://mysupport.netapp.com/api/tools-service/toolsbinary/simulate-ontap/download/Simulate_ONTAP_9.10.1_Installation_and_Setup_Guide.pdf

 

Expanding the root volume size : If your root volume is too small, you can expand it. Your root aggregate must have enough free space to accommodate an increase in the size of your root volume. If necessary, add more disks to your root aggregate to increase its size and accommodate the additional space needed in your root volume.


Check if there are any disks that are not-owned.
>disk shown -n (If it shows)
then
>disk assign all

This will make the disks show up as 'spare'.

Then, simply add the disks to root aggregate

::>aggr add-disks -aggregate <root_aggr> -diskcount 5

Once this is done,
> df -Ah (check the root aggr size increased)
if yes, increase the vol0 size.

sce
4,977 Views

Customized according to your suggestions.
Now it works great.
Thank you very much for your help.
Have a nice day.

Public