Ticket #20896 (closed defect: fixed)

Opened 12 months ago

Last modified 8 months ago

Changes to vdi image using vboximg-mount are not persistent

Reported by: jpt Owned by:
Component: virtual disk Version: VirtualBox 6.1.32
Keywords: vboximg-mount Cc:
Guest type: Linux Host type: Linux



File /new_vdi.vdi created by the VBox Machines' Management Tool, attached to a machine running Linux Debian Bullseye 64bits and partitionned/formated with gparted. That partition is then mounted and copying data (file "from_vm.txt") to it works fine, so power off machine and detach file from machine.

Then, using a terminal from the host, where /x and /y are two mountpoints for test :

1st run, writing file "from_host.txt" to vdi image :

vboximg-mount --rw -i /new_vdi.vdi -o allow_root /x/
mount /x/vol0 /y/
touch /y/from_host.txt
echo "try from host" > /y/from_host.txt 
ls /y/ # --> from_host.txt  from_vm.txt  lost+found
cat /y/from_host.txt # --> "try from host"
umount /y/
umount /x/

Everything is fine.

2nd run, reading from vdi image :

vboximg-mount --rw -i /new_vdi.vdi -o allow_root /x/
mount /x/vol0 /y/
ls /y/ # --> from_vm.txt  lost+found
umount /y/
umount /x/

Written file "from_host.txt" lost !

Same problem here or there :, and no one provides a good working command line.

Thanks a lot in advance.

Change History

comment:1 Changed 11 months ago by jpt

Problem still alive with 6.1.34...

Regards, -- jpt

comment:2 Changed 11 months ago by klaus

Yes, known issue. Fixed after 6.1.34. We're working on getting test builds out which is a bit more tedious than usual (blasted code signing...).

comment:3 Changed 11 months ago by fth0

I've successfully verified the bugfix with the VirtualBox test build 6.1.35r151427.

comment:4 Changed 8 months ago by galitsyn

  • Status changed from new to closed
  • Resolution set to fixed

Thank you for reporting the issue. It should be fixed in VirtualBox 6.1.36. Please refer to page.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use