Page 1 of 2
max virtual disk size? ext3 vs ext4 issues
Posted: Fri Jan 19, 2018 1:06 pm
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.
Re: max virtual disk size?
Posted: Fri Jan 19, 2018 2:47 pm
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
Re: max virtual disk size?
Posted: Fri Jan 19, 2018 5:20 pm
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.
Re: max virtual disk size?
Posted: Sat Jan 20, 2018 2:45 pm
by eloyd
Googling "convert ext3 to ext4" gave me this:
Code: Select all
https://www.howtoforge.com/tutorial/migrate-ext2-ext3-filesystem-to-ext4/
Re: max virtual disk size?
Posted: Mon Jan 22, 2018 11:24 am
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.
Re: max virtual disk size?
Posted: Mon Jan 22, 2018 11:50 am
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.
Re: max virtual disk size?
Posted: Mon Jan 22, 2018 1:27 pm
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.
Re: max virtual disk size?
Posted: Mon Jan 22, 2018 1:54 pm
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
Re: max virtual disk size? ext3 vs ext4 issues
Posted: Mon Jan 22, 2018 3:03 pm
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.
Re: max virtual disk size? ext3 vs ext4 issues
Posted: Mon Jan 22, 2018 3:14 pm
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.