How to clean up an unprocessed orphan inode list? The 2019 Stack Overflow Developer Survey Results Are InIn linux, how can I determine what processes are using a block device?Linux: Why change inode size? /tmp has changed to read onlyext4 file-system max inode limit - can anyone please explain?kill a hung mount processHow can I recover an ext4 filesystem corrupted after a fsck?CentOS thinks Disk is busy, can't mount or fsckumount Device or resource busy; already tried: mount, lsof, fuser, exportfs, ps axf“Operation not permitted” on files over 2GB on ext4 filesystemPartition mounted and unmounted simultaneously

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

How do PCB vias affect signal quality?

Finding the area between two curves with Integrate

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

Why are there uneven bright areas in this photo of black hole?

How to notate time signature switching consistently every measure

Why doesn't shell automatically fix "useless use of cat"?

Why couldn't they take pictures of a closer black hole?

Does HR tell a hiring manager about salary negotiations?

RequirePermission not working

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

What do I do when my TA workload is more than expected?

Can we generate random numbers using irrational numbers like π and e?

What is this sharp, curved notch on my knife for?

Keeping a retro style to sci-fi spaceships?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

What information about me do stores get via my credit card?

writing variables above the numbers in tikz picture

Is Cinnamon a desktop environment or a window manager? (Or both?)

How to type a long/em dash `—`

Button changing its text & action. Good or terrible?

Is it okay to consider publishing in my first year of PhD?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?



How to clean up an unprocessed orphan inode list?



The 2019 Stack Overflow Developer Survey Results Are InIn linux, how can I determine what processes are using a block device?Linux: Why change inode size? /tmp has changed to read onlyext4 file-system max inode limit - can anyone please explain?kill a hung mount processHow can I recover an ext4 filesystem corrupted after a fsck?CentOS thinks Disk is busy, can't mount or fsckumount Device or resource busy; already tried: mount, lsof, fuser, exportfs, ps axf“Operation not permitted” on files over 2GB on ext4 filesystemPartition mounted and unmounted simultaneously



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








12















I tried to mount a formerly readonly mounted filesystem read-writeable:



mount -o remount,rw /mountpoint


Unfortunately it did not work:



mount: /mountpoint not mounted already, or bad option


dmesg reports:



[2570543.520449] EXT4-fs (dm-0): Couldn't remount RDWR because of unprocessed orphan inode list. Please umount/remount instead


A umount does not work, too:



umount /mountpoint
umount: /mountpoint: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))


Unfortunately neither lsof of fuser don't show any process accessing something located under the mount point.



So - how can I clean up this unprocessed orphan list to be able to mount the filesystem again without rebooting the computer?










share|improve this question

















  • 1





    Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

    – Richard Keller
    May 31 '12 at 0:32











  • Can you provide a little bit more insight to what dm-0 consists of?

    – thinice
    May 31 '12 at 1:28











  • I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

    – Matthew Ife
    Jul 1 '12 at 22:47











  • @Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

    – bmk
    Jul 9 '12 at 7:39

















12















I tried to mount a formerly readonly mounted filesystem read-writeable:



mount -o remount,rw /mountpoint


Unfortunately it did not work:



mount: /mountpoint not mounted already, or bad option


dmesg reports:



[2570543.520449] EXT4-fs (dm-0): Couldn't remount RDWR because of unprocessed orphan inode list. Please umount/remount instead


A umount does not work, too:



umount /mountpoint
umount: /mountpoint: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))


Unfortunately neither lsof of fuser don't show any process accessing something located under the mount point.



So - how can I clean up this unprocessed orphan list to be able to mount the filesystem again without rebooting the computer?










share|improve this question

















  • 1





    Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

    – Richard Keller
    May 31 '12 at 0:32











  • Can you provide a little bit more insight to what dm-0 consists of?

    – thinice
    May 31 '12 at 1:28











  • I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

    – Matthew Ife
    Jul 1 '12 at 22:47











  • @Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

    – bmk
    Jul 9 '12 at 7:39













12












12








12


3






I tried to mount a formerly readonly mounted filesystem read-writeable:



mount -o remount,rw /mountpoint


Unfortunately it did not work:



mount: /mountpoint not mounted already, or bad option


dmesg reports:



[2570543.520449] EXT4-fs (dm-0): Couldn't remount RDWR because of unprocessed orphan inode list. Please umount/remount instead


A umount does not work, too:



umount /mountpoint
umount: /mountpoint: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))


Unfortunately neither lsof of fuser don't show any process accessing something located under the mount point.



So - how can I clean up this unprocessed orphan list to be able to mount the filesystem again without rebooting the computer?










share|improve this question














I tried to mount a formerly readonly mounted filesystem read-writeable:



mount -o remount,rw /mountpoint


Unfortunately it did not work:



mount: /mountpoint not mounted already, or bad option


dmesg reports:



[2570543.520449] EXT4-fs (dm-0): Couldn't remount RDWR because of unprocessed orphan inode list. Please umount/remount instead


A umount does not work, too:



umount /mountpoint
umount: /mountpoint: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))


Unfortunately neither lsof of fuser don't show any process accessing something located under the mount point.



So - how can I clean up this unprocessed orphan list to be able to mount the filesystem again without rebooting the computer?







linux filesystems mount ext4 inode






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 8 '11 at 10:49









bmkbmk

1,46921110




1,46921110







  • 1





    Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

    – Richard Keller
    May 31 '12 at 0:32











  • Can you provide a little bit more insight to what dm-0 consists of?

    – thinice
    May 31 '12 at 1:28











  • I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

    – Matthew Ife
    Jul 1 '12 at 22:47











  • @Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

    – bmk
    Jul 9 '12 at 7:39












  • 1





    Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

    – Richard Keller
    May 31 '12 at 0:32











  • Can you provide a little bit more insight to what dm-0 consists of?

    – thinice
    May 31 '12 at 1:28











  • I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

    – Matthew Ife
    Jul 1 '12 at 22:47











  • @Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

    – bmk
    Jul 9 '12 at 7:39







1




1





Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

– Richard Keller
May 31 '12 at 0:32





Have you tried fuser -km /mountpoint yet? Beware though, the -k flag will kill all processes accessing that directory.

– Richard Keller
May 31 '12 at 0:32













Can you provide a little bit more insight to what dm-0 consists of?

– thinice
May 31 '12 at 1:28





Can you provide a little bit more insight to what dm-0 consists of?

– thinice
May 31 '12 at 1:28













I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

– Matthew Ife
Jul 1 '12 at 22:47





I have feeling I know whats up, but can you tell me, was the filesystem originally rw, remounted (due to ata error or whatever) ro, and now you are trying to rw again?

– Matthew Ife
Jul 1 '12 at 22:47













@Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

– bmk
Jul 9 '12 at 7:39





@Mlfe: The filesystem was formerly remountend ro by purpose. It's a filesystem on an LVM holding a daily backup snapshot that will be set to rw during backup operation and ro after finishing the backup.

– bmk
Jul 9 '12 at 7:39










5 Answers
5






active

oldest

votes


















6














You clean up the unprocessed orphan inode list by unmounting and remounting the filesystem.



An extended discussion from the linux-ext4 mailing list has more information about what this message is and why it may appear. In short, one of two things has happened: Either you've run into a kernel bug, or much more likely, some filesystem corruption happened one of the previous times you remounted the filesystem readonly. Which is probably why the system thinks something is still using the filesystem when there isn't.



If it's been a year and you still haven't rebooted the machine, just give up and schedule a maintenance window.






share|improve this answer























  • Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

    – bmk
    Aug 28 '12 at 16:38


















16














If you're using ext2 / ext3 / ext4 you should be able to use e2fsck to clean up orphaned inodes:



e2fsck -f



For reiserfs, you can use reiserfsck which will also clean up orphaned inodes.






share|improve this answer























  • Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

    – Richard Keller
    Jul 30 '12 at 22:49






  • 2





    Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

    – whitehat
    Jul 11 '16 at 15:26






  • 1





    Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

    – nine9five
    Aug 9 '17 at 22:52






  • 1





    Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

    – AdamS
    Sep 1 '17 at 8:05






  • 1





    Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

    – Brain Foo Long
    Nov 6 '17 at 9:37


















5














e2fsck -f <mount point> won't work.



First find out the mount points with



sudo mount -l


Then fsck the drive directly.



For example for me



sudo e2fsck -f /dev/xvda2





share|improve this answer






























    1














    You should probably try a lazy unmount, i.e:



    umount -l





    share|improve this answer






























      0














      I would recommend to first unmount the partition forcefully, i.e. using the -f option, and the running a file system check using fsck.






      share|improve this answer


















      • 1





        Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

        – bmk
        Jun 8 '11 at 11:55











      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "2"
      ;
      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/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%2fserverfault.com%2fquestions%2f278198%2fhow-to-clean-up-an-unprocessed-orphan-inode-list%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6














      You clean up the unprocessed orphan inode list by unmounting and remounting the filesystem.



      An extended discussion from the linux-ext4 mailing list has more information about what this message is and why it may appear. In short, one of two things has happened: Either you've run into a kernel bug, or much more likely, some filesystem corruption happened one of the previous times you remounted the filesystem readonly. Which is probably why the system thinks something is still using the filesystem when there isn't.



      If it's been a year and you still haven't rebooted the machine, just give up and schedule a maintenance window.






      share|improve this answer























      • Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

        – bmk
        Aug 28 '12 at 16:38















      6














      You clean up the unprocessed orphan inode list by unmounting and remounting the filesystem.



      An extended discussion from the linux-ext4 mailing list has more information about what this message is and why it may appear. In short, one of two things has happened: Either you've run into a kernel bug, or much more likely, some filesystem corruption happened one of the previous times you remounted the filesystem readonly. Which is probably why the system thinks something is still using the filesystem when there isn't.



      If it's been a year and you still haven't rebooted the machine, just give up and schedule a maintenance window.






      share|improve this answer























      • Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

        – bmk
        Aug 28 '12 at 16:38













      6












      6








      6







      You clean up the unprocessed orphan inode list by unmounting and remounting the filesystem.



      An extended discussion from the linux-ext4 mailing list has more information about what this message is and why it may appear. In short, one of two things has happened: Either you've run into a kernel bug, or much more likely, some filesystem corruption happened one of the previous times you remounted the filesystem readonly. Which is probably why the system thinks something is still using the filesystem when there isn't.



      If it's been a year and you still haven't rebooted the machine, just give up and schedule a maintenance window.






      share|improve this answer













      You clean up the unprocessed orphan inode list by unmounting and remounting the filesystem.



      An extended discussion from the linux-ext4 mailing list has more information about what this message is and why it may appear. In short, one of two things has happened: Either you've run into a kernel bug, or much more likely, some filesystem corruption happened one of the previous times you remounted the filesystem readonly. Which is probably why the system thinks something is still using the filesystem when there isn't.



      If it's been a year and you still haven't rebooted the machine, just give up and schedule a maintenance window.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Aug 5 '12 at 5:31









      Michael HamptonMichael Hampton

      174k27320647




      174k27320647












      • Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

        – bmk
        Aug 28 '12 at 16:38

















      • Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

        – bmk
        Aug 28 '12 at 16:38
















      Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

      – bmk
      Aug 28 '12 at 16:38





      Meanwhile I scheduled a maintenance window and rebooted the machine. That solved the problem (I didn't expect anything else...). I will accept your answer. Probably you are right that there was some filesystem corruption - although I cannot prove that.

      – bmk
      Aug 28 '12 at 16:38













      16














      If you're using ext2 / ext3 / ext4 you should be able to use e2fsck to clean up orphaned inodes:



      e2fsck -f



      For reiserfs, you can use reiserfsck which will also clean up orphaned inodes.






      share|improve this answer























      • Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

        – Richard Keller
        Jul 30 '12 at 22:49






      • 2





        Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

        – whitehat
        Jul 11 '16 at 15:26






      • 1





        Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

        – nine9five
        Aug 9 '17 at 22:52






      • 1





        Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

        – AdamS
        Sep 1 '17 at 8:05






      • 1





        Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

        – Brain Foo Long
        Nov 6 '17 at 9:37















      16














      If you're using ext2 / ext3 / ext4 you should be able to use e2fsck to clean up orphaned inodes:



      e2fsck -f



      For reiserfs, you can use reiserfsck which will also clean up orphaned inodes.






      share|improve this answer























      • Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

        – Richard Keller
        Jul 30 '12 at 22:49






      • 2





        Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

        – whitehat
        Jul 11 '16 at 15:26






      • 1





        Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

        – nine9five
        Aug 9 '17 at 22:52






      • 1





        Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

        – AdamS
        Sep 1 '17 at 8:05






      • 1





        Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

        – Brain Foo Long
        Nov 6 '17 at 9:37













      16












      16








      16







      If you're using ext2 / ext3 / ext4 you should be able to use e2fsck to clean up orphaned inodes:



      e2fsck -f



      For reiserfs, you can use reiserfsck which will also clean up orphaned inodes.






      share|improve this answer













      If you're using ext2 / ext3 / ext4 you should be able to use e2fsck to clean up orphaned inodes:



      e2fsck -f



      For reiserfs, you can use reiserfsck which will also clean up orphaned inodes.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered May 31 '12 at 0:37









      Richard KellerRichard Keller

      1,73811330




      1,73811330












      • Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

        – Richard Keller
        Jul 30 '12 at 22:49






      • 2





        Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

        – whitehat
        Jul 11 '16 at 15:26






      • 1





        Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

        – nine9five
        Aug 9 '17 at 22:52






      • 1





        Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

        – AdamS
        Sep 1 '17 at 8:05






      • 1





        Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

        – Brain Foo Long
        Nov 6 '17 at 9:37

















      • Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

        – Richard Keller
        Jul 30 '12 at 22:49






      • 2





        Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

        – whitehat
        Jul 11 '16 at 15:26






      • 1





        Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

        – nine9five
        Aug 9 '17 at 22:52






      • 1





        Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

        – AdamS
        Sep 1 '17 at 8:05






      • 1





        Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

        – Brain Foo Long
        Nov 6 '17 at 9:37
















      Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

      – Richard Keller
      Jul 30 '12 at 22:49





      Not sure why this was downvoted, perhaps provide a reason for the downvote? Running e2fsck does clean up orphaned inodes, which you'll see in the console output as clearing orphaned inode XXXX where XXXX is an inode number. You can easily run e2fsck without rebooting the system. After running e2fsck you should be able to remount the partition.

      – Richard Keller
      Jul 30 '12 at 22:49




      2




      2





      Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

      – whitehat
      Jul 11 '16 at 15:26





      Thanks thanks a lot.. I spend hours figuring out the error. Doing 'e2fsck -f /dev/sda1' fixed the orphaned nodes for me along with some other fixes. I just said yes to all and works fine now :)

      – whitehat
      Jul 11 '16 at 15:26




      1




      1





      Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

      – nine9five
      Aug 9 '17 at 22:52





      Thanks a lot!!. Yours commands fixed readonly VirtualBox VM disc after unsucessfull new VirtualBox version install: sudo e2fsck -f /dev/sda1

      – nine9five
      Aug 9 '17 at 22:52




      1




      1





      Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

      – AdamS
      Sep 1 '17 at 8:05





      Perfect, worked for me on root partition. The accepted answer (reboot) did not work alone. I did have to reboot after e2fsck so seems like you do still need a maintenance window.

      – AdamS
      Sep 1 '17 at 8:05




      1




      1





      Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

      – Brain Foo Long
      Nov 6 '17 at 9:37





      Better answer than the accepted one. That worked perfectly for my VPS. Found a lot errors and fixed it, than reboot and everything is running again. Saved my day.

      – Brain Foo Long
      Nov 6 '17 at 9:37











      5














      e2fsck -f <mount point> won't work.



      First find out the mount points with



      sudo mount -l


      Then fsck the drive directly.



      For example for me



      sudo e2fsck -f /dev/xvda2





      share|improve this answer



























        5














        e2fsck -f <mount point> won't work.



        First find out the mount points with



        sudo mount -l


        Then fsck the drive directly.



        For example for me



        sudo e2fsck -f /dev/xvda2





        share|improve this answer

























          5












          5








          5







          e2fsck -f <mount point> won't work.



          First find out the mount points with



          sudo mount -l


          Then fsck the drive directly.



          For example for me



          sudo e2fsck -f /dev/xvda2





          share|improve this answer













          e2fsck -f <mount point> won't work.



          First find out the mount points with



          sudo mount -l


          Then fsck the drive directly.



          For example for me



          sudo e2fsck -f /dev/xvda2






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 14 '18 at 2:20









          Ganesh KrishnanGanesh Krishnan

          17113




          17113





















              1














              You should probably try a lazy unmount, i.e:



              umount -l





              share|improve this answer



























                1














                You should probably try a lazy unmount, i.e:



                umount -l





                share|improve this answer

























                  1












                  1








                  1







                  You should probably try a lazy unmount, i.e:



                  umount -l





                  share|improve this answer













                  You should probably try a lazy unmount, i.e:



                  umount -l






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 1 '12 at 19:47









                  Steve KempSteve Kemp

                  1,657913




                  1,657913





















                      0














                      I would recommend to first unmount the partition forcefully, i.e. using the -f option, and the running a file system check using fsck.






                      share|improve this answer


















                      • 1





                        Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                        – bmk
                        Jun 8 '11 at 11:55















                      0














                      I would recommend to first unmount the partition forcefully, i.e. using the -f option, and the running a file system check using fsck.






                      share|improve this answer


















                      • 1





                        Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                        – bmk
                        Jun 8 '11 at 11:55













                      0












                      0








                      0







                      I would recommend to first unmount the partition forcefully, i.e. using the -f option, and the running a file system check using fsck.






                      share|improve this answer













                      I would recommend to first unmount the partition forcefully, i.e. using the -f option, and the running a file system check using fsck.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jun 8 '11 at 11:08









                      wolfgangszwolfgangsz

                      7,82222231




                      7,82222231







                      • 1





                        Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                        – bmk
                        Jun 8 '11 at 11:55












                      • 1





                        Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                        – bmk
                        Jun 8 '11 at 11:55







                      1




                      1





                      Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                      – bmk
                      Jun 8 '11 at 11:55





                      Unfortunately umount -f didn't succeed, too. The error message is the same as with a plain umount.

                      – bmk
                      Jun 8 '11 at 11:55

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Server Fault!


                      • 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%2fserverfault.com%2fquestions%2f278198%2fhow-to-clean-up-an-unprocessed-orphan-inode-list%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

                      Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                      Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                      Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020