QEMU: qcow2 and RAW…which filesystem combi (avoid writing journal twice)?How to resize / enlarge / grow a non-LVM ext4 partitionAccidentally partitioned media drive as ext3 during install (was ext4), how can I recover?How do I create a kvm guest running ubuntu server with a >2TB harddrive?How to install “qemu-img” and use it to convert a “qcow2” image to a Virtual Box one?QEMU warning: “Image format was not specified for 'flash0.img' and probing guessed raw.”

Search for something difficult to count/estimate

How to "Start as close to the end as possible", and why to do so?

Non-electric Laser

Bash-script as linux-service won't run, but executed from terminal works perfectly

Is there any problem with students seeing faculty naked in university gym?

Generating Roman numerals with dice

Manager told a colleague of mine I was getting fired soon

Found a minor bug, affecting 1% of users. What should QA do?

Should I hang doors before or after drywall?

Does python reuse repeated calculation results?

I've been fired, was allowed to announce it as if I quit and given extra notice, how to handle the questions?

Has Boris Johnson ever referred to any of his opponents as "traitors"?

What makes a character irredeemable?

What's the difference between motherboard and chassis?

The answer is the same (tricky puzzle!)

Maintaining distance

Is right click on tables bad UX

how would i use rm to delete all files without certain wildcard?

Scorched receptacle

Are there manual immigration checks for non EU citizens in airports when travelling inside the EU?

Advices to added homemade symbols

Was Smaug sealed inside the Lonely Mountain?

Is "Ram married his daughter" ambiguous?

Unicode-math and declaring symbol font



QEMU: qcow2 and RAW…which filesystem combi (avoid writing journal twice)?


How to resize / enlarge / grow a non-LVM ext4 partitionAccidentally partitioned media drive as ext3 during install (was ext4), how can I recover?How do I create a kvm guest running ubuntu server with a >2TB harddrive?How to install “qemu-img” and use it to convert a “qcow2” image to a Virtual Box one?QEMU warning: “Image format was not specified for 'flash0.img' and probing guessed raw.”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1















Let's say my host disk is using EXT4, I place an image-file for my virtual machine in either QCOW2 or RAW format which again is formatted with EXT4 inside.
Wouldn't journal data be written twice? First in the guest drive and then on the host?
Can I safely disable journal in one of them?
Or should I use a combination of two different filesystems on host and guest (if both are Linux).
If guest is Windows using NTFS, which also seem to be a journal-like filesystem, could I safely disable journal on host EXT4 FS?



Maybe yet another reason to assign block-device to your VM e.g LVM as you only have one filesystem.



I do have UPS on my servers but I'm still not sure if I should disable journal completely.










share|improve this question


























  • I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

    – Charles Green
    Apr 15 at 17:57











  • Yes, that's basically that same as a LVM Logical volume

    – MrCalvin
    Apr 16 at 18:45











  • Really close - but no image file, and bypasses the Ubuntu file system

    – Charles Green
    Apr 16 at 18:48

















1















Let's say my host disk is using EXT4, I place an image-file for my virtual machine in either QCOW2 or RAW format which again is formatted with EXT4 inside.
Wouldn't journal data be written twice? First in the guest drive and then on the host?
Can I safely disable journal in one of them?
Or should I use a combination of two different filesystems on host and guest (if both are Linux).
If guest is Windows using NTFS, which also seem to be a journal-like filesystem, could I safely disable journal on host EXT4 FS?



Maybe yet another reason to assign block-device to your VM e.g LVM as you only have one filesystem.



I do have UPS on my servers but I'm still not sure if I should disable journal completely.










share|improve this question


























  • I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

    – Charles Green
    Apr 15 at 17:57











  • Yes, that's basically that same as a LVM Logical volume

    – MrCalvin
    Apr 16 at 18:45











  • Really close - but no image file, and bypasses the Ubuntu file system

    – Charles Green
    Apr 16 at 18:48













1












1








1








Let's say my host disk is using EXT4, I place an image-file for my virtual machine in either QCOW2 or RAW format which again is formatted with EXT4 inside.
Wouldn't journal data be written twice? First in the guest drive and then on the host?
Can I safely disable journal in one of them?
Or should I use a combination of two different filesystems on host and guest (if both are Linux).
If guest is Windows using NTFS, which also seem to be a journal-like filesystem, could I safely disable journal on host EXT4 FS?



Maybe yet another reason to assign block-device to your VM e.g LVM as you only have one filesystem.



I do have UPS on my servers but I'm still not sure if I should disable journal completely.










share|improve this question
















Let's say my host disk is using EXT4, I place an image-file for my virtual machine in either QCOW2 or RAW format which again is formatted with EXT4 inside.
Wouldn't journal data be written twice? First in the guest drive and then on the host?
Can I safely disable journal in one of them?
Or should I use a combination of two different filesystems on host and guest (if both are Linux).
If guest is Windows using NTFS, which also seem to be a journal-like filesystem, could I safely disable journal on host EXT4 FS?



Maybe yet another reason to assign block-device to your VM e.g LVM as you only have one filesystem.



I do have UPS on my servers but I'm still not sure if I should disable journal completely.







kvm ext4 qemu qcow2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 at 18:43







MrCalvin

















asked Apr 15 at 17:26









MrCalvinMrCalvin

1358 bronze badges




1358 bronze badges















  • I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

    – Charles Green
    Apr 15 at 17:57











  • Yes, that's basically that same as a LVM Logical volume

    – MrCalvin
    Apr 16 at 18:45











  • Really close - but no image file, and bypasses the Ubuntu file system

    – Charles Green
    Apr 16 at 18:48

















  • I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

    – Charles Green
    Apr 15 at 17:57











  • Yes, that's basically that same as a LVM Logical volume

    – MrCalvin
    Apr 16 at 18:45











  • Really close - but no image file, and bypasses the Ubuntu file system

    – Charles Green
    Apr 16 at 18:48
















I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

– Charles Green
Apr 15 at 17:57





I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses /dev/sda5 as it's storage device, and I'm running virtio for the device type.

– Charles Green
Apr 15 at 17:57













Yes, that's basically that same as a LVM Logical volume

– MrCalvin
Apr 16 at 18:45





Yes, that's basically that same as a LVM Logical volume

– MrCalvin
Apr 16 at 18:45













Really close - but no image file, and bypasses the Ubuntu file system

– Charles Green
Apr 16 at 18:48





Really close - but no image file, and bypasses the Ubuntu file system

– Charles Green
Apr 16 at 18:48










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134141%2fqemu-qcow2-and-raw-which-filesystem-combi-avoid-writing-journal-twice%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134141%2fqemu-qcow2-and-raw-which-filesystem-combi-avoid-writing-journal-twice%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü