max virtual disk size? ext3 vs ext4 issues

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

max virtual disk size? ext3 vs ext4 issues

Post by googol »

is there a max virtual disk size in a vmware 6 based nagios log server?

I have two, one at each of my datacenters.

Other than the limit by vmware, is there a limit by the nagios log server software or the OS nagios uses (CentOS)?

Thanks.
Last edited by googol on Mon Jan 22, 2018 2:02 pm, edited 1 time in total.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: max virtual disk size?

Post by cdienger »

The maximum size would be imposed by the filesystem. The vmware image uses ext4 which has a tested/possible limit of 16TB/1EB.

https://wiki.centos.org/About/Product
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: max virtual disk size?

Post by googol »

vmware image that was just deployed like 3 months ago...is using ext3? was deployed as 1.0.4, upgraded to 2.0.2 today. See attached picture

I keep trying to resize following your documentation and it keeps reverting back to 2TB. trying to add another 2TB for total of 4TB.

is there a way to convert this to ext4 without losing the data? Would hate to have to set this all up again and lose the existing data...

please advise.
You do not have the required permissions to view the files attached to this post.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: max virtual disk size?

Post by eloyd »

Googling "convert ext3 to ext4" gave me this:

Code: Select all

https://www.howtoforge.com/tutorial/migrate-ext2-ext3-filesystem-to-ext4/
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: max virtual disk size?

Post by dwhitfield »

If you don't like @eloyd's suggestion, you could also set up a CentOS 7 image and migrate...although the default is xfs, not ext4.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: max virtual disk size?

Post by googol »

I am not an expert at linux by far, I have done a bunch there and there.

Just dont want to destroy the existing nagios setup, but I have no choice. I have about 3 months of logs that I cannot lose, could lose them if I try to migrate and something goes awry. Or I build a new setup side by side with 2.0.2 OVA and hopefully ext4 filesystem format..

This was the VMware OVA from the previous build, but perhaps it was the VM hardware level or the config that they used?

wonder if the new 2.0.2 OVA uses ext4? Maybe I will have to redeploy this sadly, might be easiest, but will have to refigure out licensing. now my http interface and services seem to be dying again, wonder if I need to change the memory on them again.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: max virtual disk size?

Post by googol »

so took backup, snapshot of the VM...still wont do it.

keeps reverting back to ext3 in cfdisk

everything else shows ext4 filesystem it seems

perhaps I need to use a different utility than cfdisk to extend it.
googol
Posts: 23
Joined: Fri Oct 13, 2017 5:04 pm

Re: max virtual disk size?

Post by googol »

deployed a new VM from the 2.0.2 OVA and its ext3. Sounds like Nagios should be releasing the OVA with ext4 filesystem by default?

why do you think it should be ext4 by default? looks like it is ext3.

tried numerous sites and ways to change it to ext4 without luck, system (cfdisk) still thinks its ext3 even though it fstab and others show it as ext4...

this is frustrating
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: max virtual disk size? ext3 vs ext4 issues

Post by cdienger »

What link are you using to download the image? Are you using the 32bit or 64bit image? I downloaded and double checked the 64bit and will do the same with the 32 bit here shortly.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: max virtual disk size? ext3 vs ext4 issues

Post by cdienger »

Just tested on the 32bit as well and it's showing ext4 with both the "mount" and "df -T" commands. The 64bit came from https://www.nagios.com/downloads/nagios ... er/vmware/ and the 32bit came from https://www.nagios.com/downloads/nagios ... downloads/ . Sorry for the frustration but hopefully the download came from somewhere else and this helps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked