Community discussions

MikroTik App
ManuEvans
newbie
Topic Author
Posts: 28
加入: Sun Sep 26, 2021 2:21 am

CHR under ESXi corrupts disk whenever host goes down unexpectedly

Sun May 15, 2022 1:19 pm

I have a CHR instance running under ESXi, installed using the official x64 .vmdk image.
I have this problem where whenever the host machine goes down (unexpected power loss), it corrupts the CHR .vmdk image with an apparently probability of 100%, and I have to recover the image using the command:
vmkfstools -x repair /vmfs/volumes/my_datastore/chr.vmdk

The VM won't start when the system returns until I manually shell in and run that repair command, which is not good.
Has anyone else seem this issue? Why does the disk get corrupted when the host goes down?

Some might ask "why post this here, and not there?"... The reason is that I have plenty of other VM's running on this system, and I've never seen any other VM express this problem before, but CHR does it 100%... so it seems there must be something CHR can do to protect itself like everyone else?
Top
babir
刚刚加入了
Posts: 1
加入: Tue Jun 07, 2022 9:56 am

Re: CHR under ESXi corrupts disk whenever host goes down unexpectedly

Tue Jun 07, 2022 10:09 am

I also have CHR running under ESXi, yesterday I just turned power off and power on. The VM stuck on Loading System. Still it's not solved. I gave this command: vmkfstools -x repair XXXX.vmdk.
But it's showing Disk is error free.
Anyone have any solution?
Top
ManuEvans
newbie
Topic Author
Posts: 28
加入: Sun Sep 26, 2021 2:21 am

Re: CHR under ESXi corrupts disk whenever host goes down unexpectedly

Tue Jul 12, 2022 8:23 am

任何评论mikrotik吗雷竞技网站?
This is seriously not good... my rural site has particularly unreliable power, this is happening constantly.
Top
用户选择投票制atar
Larsa
Forum Veteran
Forum Veteran
Posts: 833
加入: Sat Aug 29, 2015 7:40 pm
Location:The North Pole, Santa's Workshop

Re: CHR under ESXi corrupts disk whenever host goes down unexpectedly

Tue Jul 12, 2022 8:54 am

It’s most likely the underlying disk subsystem that’s corrupted. My recommendation is to get an UPS and use a filesystem that supports logging which is better suited for power failures.
Top
ManuEvans
newbie
Topic Author
Posts: 28
加入: Sun Sep 26, 2021 2:21 am

Re: CHR under ESXi corrupts disk whenever host goes down unexpectedly

Wed Jul 13, 2022 3:23 pm

Can you be more specific?
I don't control the filesystem used in the CHR images.
The underlying filesystem seems fine, there are around 10 VM's on this server, and I've never seen this problem with any other VM except CHR... it's definitely a thing that should be resolved by CHR.
Top

Who is online

Users browsing this forum: No registered users and 1 guest

Baidu
map