Disable and enable ext4 journaling ?2019 Community Moderator Electionenable/disable NTP service on Ubuntu 12.04Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?Why is my ext4 filesystem recognizable only on the machine it was formatted on?Re-installing Ubuntu over a dual boot laptopext4 filesystems frequently corruptingUnable to mount root filesystem rw with journalEXT4 Journaling - ProblemI/O error after power failure, filesystem remounting as read-onlyUbuntu: RAID 10 degrades to RAID 0 after reboot?How do I exit out of a display manager like Unity
Why is the principal energy of an electron lower for excited electrons in a higher energy state?
Alignment of six matrices
Why does a 97 / 92 key piano exist by Bösendorfer?
How do you justify more code being written by following clean code practices?
Why is participating in the European Parliamentary elections used as a threat?
Why would five hundred and five be same as one?
Mimic lecturing on blackboard, facing audience
Review your own paper in Mathematics
Sigmoid with a slope but no asymptotes?
Identifying "long and narrow" polygons in with PostGIS
Sound waves in different octaves
Animation: customize bounce interpolation
Overlapping circles covering polygon
How to get directions in deep space?
What is this high flying aircraft over Pennsylvania?
Can I run 125kHz RF circuit on a breadboard?
What does "tick" mean in this sentence?
Unable to disable Microsoft Store in domain environment
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
What is the smallest number n> 5 so that 5 ^ n ends with "3125"?
Is there anyway, I can have two passwords for my wi-fi
In One Punch Man, is King actually weak?
What is the meaning of "You've never met a graph you didn't like?"
What happens if I try to grapple an illusory duplicate from the Mirror Image spell?
Disable and enable ext4 journaling ?
2019 Community Moderator Electionenable/disable NTP service on Ubuntu 12.04Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?Why is my ext4 filesystem recognizable only on the machine it was formatted on?Re-installing Ubuntu over a dual boot laptopext4 filesystems frequently corruptingUnable to mount root filesystem rw with journalEXT4 Journaling - ProblemI/O error after power failure, filesystem remounting as read-onlyUbuntu: RAID 10 degrades to RAID 0 after reboot?How do I exit out of a display manager like Unity
If I disable the journaling function of an EXT4-filesystem using the command tune2fs -O ^has_journal /dev/sda
and enable it after the next start, will the data saved on the harddisk remain unaffected or are they lost ?
(Ubuntu 16.04 LTS)
ubuntu ext4 journaling
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 2 more comments
If I disable the journaling function of an EXT4-filesystem using the command tune2fs -O ^has_journal /dev/sda
and enable it after the next start, will the data saved on the harddisk remain unaffected or are they lost ?
(Ubuntu 16.04 LTS)
ubuntu ext4 journaling
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
Doeshd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?
– dhag
Oct 6 '17 at 14:22
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09
|
show 2 more comments
If I disable the journaling function of an EXT4-filesystem using the command tune2fs -O ^has_journal /dev/sda
and enable it after the next start, will the data saved on the harddisk remain unaffected or are they lost ?
(Ubuntu 16.04 LTS)
ubuntu ext4 journaling
If I disable the journaling function of an EXT4-filesystem using the command tune2fs -O ^has_journal /dev/sda
and enable it after the next start, will the data saved on the harddisk remain unaffected or are they lost ?
(Ubuntu 16.04 LTS)
ubuntu ext4 journaling
ubuntu ext4 journaling
asked Oct 5 '17 at 22:47
Tim BremerTim Bremer
62
62
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
Doeshd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?
– dhag
Oct 6 '17 at 14:22
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09
|
show 2 more comments
1
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
Doeshd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?
– dhag
Oct 6 '17 at 14:22
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09
1
1
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
Does
hd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?– dhag
Oct 6 '17 at 14:22
Does
hd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?– dhag
Oct 6 '17 at 14:22
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:
root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:
root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09
|
show 2 more comments
1 Answer
1
active
oldest
votes
As already told tools like atop
, iotop
, htop
, iostat
haven't been were helpful. blktrace -d /dev/sda -o - | blkparse -i -
showed me that parted
, smartctl
and one other process (udevd
?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin
. webmin
checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection
. One should also disable the options Collect system status in background
and Collect available package updates
.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f396380%2fdisable-and-enable-ext4-journaling%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As already told tools like atop
, iotop
, htop
, iostat
haven't been were helpful. blktrace -d /dev/sda -o - | blkparse -i -
showed me that parted
, smartctl
and one other process (udevd
?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin
. webmin
checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection
. One should also disable the options Collect system status in background
and Collect available package updates
.
add a comment |
As already told tools like atop
, iotop
, htop
, iostat
haven't been were helpful. blktrace -d /dev/sda -o - | blkparse -i -
showed me that parted
, smartctl
and one other process (udevd
?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin
. webmin
checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection
. One should also disable the options Collect system status in background
and Collect available package updates
.
add a comment |
As already told tools like atop
, iotop
, htop
, iostat
haven't been were helpful. blktrace -d /dev/sda -o - | blkparse -i -
showed me that parted
, smartctl
and one other process (udevd
?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin
. webmin
checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection
. One should also disable the options Collect system status in background
and Collect available package updates
.
As already told tools like atop
, iotop
, htop
, iostat
haven't been were helpful. blktrace -d /dev/sda -o - | blkparse -i -
showed me that parted
, smartctl
and one other process (udevd
?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin
. webmin
checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection
. One should also disable the options Collect system status in background
and Collect available package updates
.
answered Oct 9 '17 at 19:16
Tim BremerTim Bremer
62
62
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f396380%2fdisable-and-enable-ext4-journaling%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
1
Journals are meta-data; are you planning on an orderly reboot (close files, unmount filesystem), or some sort of interrupted-write testing?
– Jeff Schaller
Oct 6 '17 at 1:02
In fact I am trying to spin down my Western Digital harddisks with the program 'hd-idle', which tells me that there still are some read/write access, just a few Kilobytes per minute. But with atop, iotop, htop, iostat etc. I haven't been able to detect the cause. So I thought about disabling the journal, but quite probably I am going to enable it again after the short test. (root device is a ssd, sda and sdb belong to raid1_a, sdc and sdb to raid1_b and raid_a and raid_b form one volume group).
– Tim Bremer
Oct 6 '17 at 7:33
Does
hd-idle
still show unexplained read and write accesses when your disk is plugged in but unmounted?– dhag
Oct 6 '17 at 14:22
Yes, it indeed shows r/w-accesses when it is unmounted, so it doesn't look like a journaling issue, but I am running out of ideas what else could be the cause. I also can hear a 'click' sound every ca. 20 seconds, which I can't hear when I am just in the BIOS. smartctl (long test) doesn't show anything special.
– Tim Bremer
Oct 6 '17 at 19:09
Typical output is:
root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -d
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: reads: 146075, writes: 80
probing sdd: reads: 144003, writes: 80
probing sda: reads: 183794, writes: 242
probing sdb: reads: 163945, writes: 242
probing sdc: rea...
– Tim Bremer
Oct 6 '17 at 19:09