VirtualBox

3 年 前 建立

2 年 前 結束

17 月 前 更新

#20896 closed defect (fixed)

Changes to vdi image using vboximg-mount are not persistent

回報者: jpt 負責人:
元件: virtual disk 版本: VirtualBox 6.1.32
關鍵字: vboximg-mount 副本:
Guest type: Linux Host type: Linux

描述

Hi,

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 
sync
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 https://www.reddit.com/r/virtualbox/comments/mogadt/vboximgmount_readwrite_persistence/ or there : https://forums.virtualbox.org/viewtopic.php?f=7&t=96967&p=515917, and no one provides a good working command line.

Thanks a lot in advance.

更動歷史 (4)

comment:1 3 年 前jpt 編輯

Problem still alive with 6.1.34...

Regards, -- jpt

comment:2 3 年 前Klaus Espenlaub 編輯

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 3 年 前fth0 編輯

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

comment:4 2 年 前galitsyn 編輯

狀態: newclosed
處理結果: fixed

Thank you for reporting the issue. It should be fixed in VirtualBox 6.1.36. Please refer to https://www.alldomusa.eu.org/wiki/Downloads page.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette