Disable and enable ext4 journaling ?enable/disable NTP service on Ubuntu 12.04Disk problems prevent me from...

Is it possible to have a career in SciComp without contributing to arms research?

Word for something indicating the importance of guarding it properly

Applying for jobs with an obvious scar

Which GPUs to get for Mathematical Optimization (if any)?

Why is Google approaching my VPS machine?

"This used to be my phone number"

Why can't I hear fret buzz through the amp?

Time signature inconsistent

Why jet engines sound louder on the ground than inside the aircraft?

Term “console” in game consoles

How do you send money when you're not sure it's not a scam?

Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?

Is this Android phone Android 9.0 or Android 6.0?

Who determines when road center lines are solid or dashed?

Locked-up DOS computer beeped on keypress. What mechanism caused that?

When is the Circle of Dreams druid's Walker in Dreams feature used?

What is the period of Langton's ant on a torus?

We get more abuse than anyone else

Is surviving this (blood loss) scenario possible?

How did Jayne know when to shoot?

Inscriptio Labyrinthica

Why are there few or no black super GMs?

Why did my "seldom" get corrected?

How can one convert an expression to a string while keeping the quotation marks of strings that are part of the expression?



Disable and enable ext4 journaling ?


enable/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






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







1















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)










share|improve this question














bumped to the homepage by Community 2 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











  • 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




















1















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)










share|improve this question














bumped to the homepage by Community 2 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











  • 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
















1












1








1


0






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)










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 5 '17 at 22:47









Tim BremerTim Bremer

63 bronze badges




63 bronze badges





bumped to the homepage by Community 2 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 2 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











  • 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
















  • 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










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












1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer




























      0














      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.






      share|improve this answer


























        0












        0








        0







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 9 '17 at 19:16









        Tim BremerTim Bremer

        63 bronze badges




        63 bronze badges






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...