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;
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
add a comment
|
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
I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses/dev/sda5as 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
add a comment
|
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
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
kvm ext4 qemu qcow2
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/sda5as 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
add a comment
|
I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses/dev/sda5as 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
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
I'll toss another option at you - you can devote a partition to your guest OS entirely. My Win10 guest uses
/dev/sda5as 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