Sharon Dsouza (Nokia)
2023-Mar-14 05:04 UTC
[Libguestfs] Changes in qcow2 not reflecting/visible
1. What are you trying to do? I'm trying to mount qcow2 using guestfish -remote, modify the qcow2 and reuse the modified qcow2. 1. What exact command(s) did you run? I have attached code.txt 1. What was the precise error or output of these commands? While remounting the qcow2 I'm not able to see the modifications I have made to the qcow2 during initial mounting. May I know why. 1. Enable debugging, run the commands again, and capture the complete output. Do not edit the output. export LIBGUESTFS_DEBUG=1 export LIBGUESTFS_TRACE=1 I have attached the debuglog.txt Please let me know if you need more information... Awaiting for a response. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230314/af13b889/attachment-0001.htm> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: debuglog.txt URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230314/af13b889/attachment-0002.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: code.txt URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230314/af13b889/attachment-0003.txt>
On 3/14/23 06:04, Sharon Dsouza (Nokia) wrote:> 1. What are you trying to do? > > I?m trying to mount qcow2 using guestfish ?remote, modify the qcow2 and > reuse the modified qcow2. > > > > 2. What exact command(s) did you run? > > I have attached code.txt > > > > 3. What was the precise error or output of these commands? > > While remounting the qcow2 I?m not able to see the modifications I have > made to the qcow2 during initial mounting. May I know why. > > > > 4. Enable debugging, run the commands again, and capture > the *complete* output. *Do not edit the output.* > > export LIBGUESTFS_DEBUG=1 > > export LIBGUESTFS_TRACE=1 > > I have attached the debuglog.txt > > > > Please let me know if you need more information? > Awaiting for a response.Your script uses the "add-ro" command. https://libguestfs.org/guestfish.1.html#add-ro https://libguestfs.org/guestfish.1.html#add-drive-opts readonly If true then the image is treated as read-only. Writes are still allowed, but they are stored in a temporary snapshot overlay which is discarded at the end. The disk that you add is not modified. Laszlo
Maybe Matching Threads
- [PATCH] virt-v2v: Add verbose message logging
- Re: virt-sparsify failed (was: [oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly - Build # 479 - Failure!)
- [PATCH 2/2] php: Fix the tests yet again.
- Re: virt-sparsify failed (was: [oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly - Build # 479 - Failure!)
- Re: virt-sparsify failed (was: [oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly - Build # 479 - Failure!)