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










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











  • 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 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











  • 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

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











  • 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

        62




        62



























            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

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.