#nabox disk resize help

1 messages · Page 1 of 1 (latest)

worldly imp
#

@twin ember is this documented on nabox?

twin ember
#

Doesn't look like it is, I'll work on that.

#

@old matrix just increase your vmdk size and reboot

old matrix
#

I have done

twin ember
#

it should have been done automatically

old matrix
#

But data is still 200g

twin ember
#

what version of nabox ?

#

did you use lvresize with -r flag ?

old matrix
#

311

twin ember
#

ok. WHat does lvdisplay;fdisk -l /dev/vg_data/lv_data say ?

old matrix
#

This was the commando i used

twin ember
#

I'm trying to understand why it has not been done automatically.
Did you stop nabox, change vmdk size, reboot, and then lvextend ?

old matrix
#

Vmware team resized disk 3 and i rebooted

#

Can you tell me how to resize the fs? This is our productive grafana

twin ember
#

odd. I'll have to look into this.

What happened is you didn't use -r so the filesystem didn't grow with the LV

old matrix
#

Can i rerun lvextend with-r?

twin ember
#

ok, give me the fdisk -l

#

no you cannot 😦

old matrix
twin ember
#

resize2fs /dev/vg_data/lv_data

old matrix
#

Resize2fs is Not installed?

twin ember
#

definitely should be

old matrix
#

Sry if i post screens but i am Not on my Laptop where i have discord 😂

twin ember
#

no worries. Just get a cloth 😄

#

dc exec nabox-api bash

#

see if resize2fs is there

old matrix
#

Yes

#

There is

twin ember
#

mmm. did you log in with root ?

old matrix
#

Oh yes

twin ember
#

or admin then su ?

old matrix
#

Sorry didnt mention

#

Root

twin ember
#

root is good

#

really odd. Ok go ahead from within nabox-api then

#

resize2fs /dev/vg_data/lv_data

old matrix
#

Same commando?

twin ember
#

dang it

#

won't work I think

old matrix
#

No

#

Doesnt work 😂

twin ember
#

exit the container

#

what about /usr/sbin/resize2fs /dev/vg_data/lv_data

old matrix
#

No resize2fs there to

twin ember
#

even with the full path ?

#

mmm

old matrix
twin ember
#

apk list -I e2fsprogs

old matrix
twin ember
#

errrrrr....

#

apk info -L e2fsprogs

old matrix
twin ember
#

Sorry about that apk list -I e2fsprogs-extras

old matrix
#

Empty

twin ember
#

Should be there since 3.0.5

old matrix
#

I have always updated

twin ember
#

cat /etc/nabox-release

#

ok I think the upgrade was broken at some point

old matrix
#

I had never errors

twin ember
#

can you re-upload the upgrade package ? Don't go with the upgrade, just upload it ?

old matrix
#

Yes

#

Is uplpading

twin ember
#

ok

#

cd /opt/tmp/nabox-api/update/

#

and ls

old matrix
twin ember
#

apk add --no-network --allow-untrusted apk/*

old matrix
#

Done

twin ember
#

you should have e2fsprogs-extra

old matrix
#

Yes

#

Extra Not extras

twin ember
#

ok

old matrix
#

Should i resize2fs non?

#

Now

twin ember
#

go ahead

old matrix
#

Reboot now ?

#

Prometheus started

twin ember
#

no need

#

yep

#

\o/

old matrix
#

Thank you Yann

#

I love you

twin ember
#

❤️

old matrix
#

Is there a possibility to report that when the volume gets full?

twin ember
#

not currently, you can use the REST API to get a status of FS usage and alert accordingly though