git running on Linux VirtualBox gets very often corrupted

Discussions about using Linux guests in VirtualBox.
Post Reply
PeterBos
Posts: 1
Joined: 13. Jul 2021, 21:10

git running on Linux VirtualBox gets very often corrupted

Post by PeterBos »

I'm using Oracle linux 8 on VirtualBox 6.1 on Windows 10
I'm using git as source control backup and for CI/CD purpouses.
However very often happens, that git repository get after some operation corrupted.
I found that on this behaviour were many people complaining at least year ago.
How the hell is please possible that such a critical application is failing on VirtualBox?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: git running on Linux VirtualBox gets very often corrupted

Post by mpack »

I read every message posted on here, and I don't recall any other posts about github being corrupted: please provide some references for your "many people" claim?

p.s. If you need github support then I assume there are better forums to choose than this one.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: git running on Linux VirtualBox gets very often corrupted

Post by scottgus1 »

We did have a discussion on GitHub corruptions in Virtualbox VMs here: viewtopic.php?f=6&t=97434 Unfortunately we did not pin down what was causing it.

Theoretically, a VM is simply another PC, so it should not matter if the 'hardware' the PC uses is physical or virtual. However, the way one uses a PC can have effect on the data stored on it. The users in the above link were apparently just powering-off their virtual 'PC', not shutting it down properly, or they were distributing copies of the same VM to multiple users, which could appear to a web service as if the same PC were connecting from several different locations. Whether either of these caused problems we were unable to figure out. But these usages are not ideal, so there is that factor to consider: the corruptions may yet be being caused by pebcak errors, not Virtualbox.
jrc55
Posts: 62
Joined: 7. Jan 2012, 20:36
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, fedora16

Re: git running on Linux VirtualBox gets very often corrupted

Post by jrc55 »

I think there is a fix in Linux 5.14.

see https://www.phoronix.com/scan.php?page= ... .14-VBOXSF

John
Post Reply