Unable to write to disk but disk isn't full The Next CEO of Stack OverflowWrite to disk permissions randomly disabledDisk is full after runing gparted?Ubuntu 11.10 Oneiric Low Disk SpaceFull disk problem though it is notCan't write to diskCdrom is mounted, but where?Full disk encryption - separate home partitionUnable to mount external hard diskIs it possible to add some disk space to ubuntu installed drive?if then what is the way?how do i disable full disk encryption?Unable to fix - unmet dependencies and low file system root space

Is it possible to replace duplicates of a character with one character using tr

Bartok - Syncopation (1): Meaning of notes in between Grand Staff

Make solar eclipses exceedingly rare, but still have new moons

What happened in Rome, when the western empire "fell"?

Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?

Is it convenient to ask the journal's editor for two additional days to complete a review?

How I can get glyphs from a fraktur font and use them as identifiers?

Prepend last line of stdin to entire stdin

Running a General Election and the European Elections together

How to write a definition with variants?

What did we know about the Kessel run before the prequels?

Why doesn't UK go for the same deal Japan has with EU to resolve Brexit?

How to prove a simple equation?

Is a distribution that is normal, but highly skewed considered Gaussian?

What connection does MS Office have to Netscape Navigator?

The exact meaning of 'Mom made me a sandwich'

Should I tutor a student who I know has cheated on their homework?

A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See

TikZ: How to reverse arrow direction without switching start/end point?

How to check if all elements of 1 list are in the *same quantity* and in any order, in the list2?

Is it professional to write unrelated content in an almost-empty email?

The past simple of "gaslight" – "gaslighted" or "gaslit"?

Would a completely good Muggle be able to use a wand?

Can we say or write : "No, it'sn't"?



Unable to write to disk but disk isn't full



The Next CEO of Stack OverflowWrite to disk permissions randomly disabledDisk is full after runing gparted?Ubuntu 11.10 Oneiric Low Disk SpaceFull disk problem though it is notCan't write to diskCdrom is mounted, but where?Full disk encryption - separate home partitionUnable to mount external hard diskIs it possible to add some disk space to ubuntu installed drive?if then what is the way?how do i disable full disk encryption?Unable to fix - unmet dependencies and low file system root space










5















I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room:



Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 30G 14G 15G 48% /
udev 984M 4.0K 984M 1% /dev
tmpfs 399M 668K 399M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 997M 0 997M 0% /run/shm


All of the results I find for "can't write to disk" are about legitimately full disks. I don't even know where to start here. The problem appeared out of nowhere this morning.



PHP's last log entry is "failed: No space left on device (28)". Vim says "Unable to open (file) for writing". Other applications give similar errors.



After deleting ~1gb just to be sure, the problem remains. I've also rebooted. Ubuntu 12.04










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • what is the exact error message?

    – mchid
    Oct 25 '15 at 16:13











  • @mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

    – felwithe
    Oct 25 '15 at 16:15











  • are you using btrfs or something?

    – mchid
    Oct 25 '15 at 16:17






  • 1





    Edit your question and add the output of sudo lsof -nP +L1

    – A.B.
    Oct 25 '15 at 16:32







  • 2





    You should write an answer. Give me a ping for an upvote.

    – A.B.
    Oct 25 '15 at 17:02















5















I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room:



Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 30G 14G 15G 48% /
udev 984M 4.0K 984M 1% /dev
tmpfs 399M 668K 399M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 997M 0 997M 0% /run/shm


All of the results I find for "can't write to disk" are about legitimately full disks. I don't even know where to start here. The problem appeared out of nowhere this morning.



PHP's last log entry is "failed: No space left on device (28)". Vim says "Unable to open (file) for writing". Other applications give similar errors.



After deleting ~1gb just to be sure, the problem remains. I've also rebooted. Ubuntu 12.04










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • what is the exact error message?

    – mchid
    Oct 25 '15 at 16:13











  • @mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

    – felwithe
    Oct 25 '15 at 16:15











  • are you using btrfs or something?

    – mchid
    Oct 25 '15 at 16:17






  • 1





    Edit your question and add the output of sudo lsof -nP +L1

    – A.B.
    Oct 25 '15 at 16:32







  • 2





    You should write an answer. Give me a ping for an upvote.

    – A.B.
    Oct 25 '15 at 17:02













5












5








5








I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room:



Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 30G 14G 15G 48% /
udev 984M 4.0K 984M 1% /dev
tmpfs 399M 668K 399M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 997M 0 997M 0% /run/shm


All of the results I find for "can't write to disk" are about legitimately full disks. I don't even know where to start here. The problem appeared out of nowhere this morning.



PHP's last log entry is "failed: No space left on device (28)". Vim says "Unable to open (file) for writing". Other applications give similar errors.



After deleting ~1gb just to be sure, the problem remains. I've also rebooted. Ubuntu 12.04










share|improve this question
















I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room:



Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 30G 14G 15G 48% /
udev 984M 4.0K 984M 1% /dev
tmpfs 399M 668K 399M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 997M 0 997M 0% /run/shm


All of the results I find for "can't write to disk" are about legitimately full disks. I don't even know where to start here. The problem appeared out of nowhere this morning.



PHP's last log entry is "failed: No space left on device (28)". Vim says "Unable to open (file) for writing". Other applications give similar errors.



After deleting ~1gb just to be sure, the problem remains. I've also rebooted. Ubuntu 12.04







filesystem files disk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 25 '15 at 17:25









Tim

20.1k1586141




20.1k1586141










asked Oct 25 '15 at 16:01









felwithefelwithe

174514




174514





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


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • what is the exact error message?

    – mchid
    Oct 25 '15 at 16:13











  • @mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

    – felwithe
    Oct 25 '15 at 16:15











  • are you using btrfs or something?

    – mchid
    Oct 25 '15 at 16:17






  • 1





    Edit your question and add the output of sudo lsof -nP +L1

    – A.B.
    Oct 25 '15 at 16:32







  • 2





    You should write an answer. Give me a ping for an upvote.

    – A.B.
    Oct 25 '15 at 17:02

















  • what is the exact error message?

    – mchid
    Oct 25 '15 at 16:13











  • @mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

    – felwithe
    Oct 25 '15 at 16:15











  • are you using btrfs or something?

    – mchid
    Oct 25 '15 at 16:17






  • 1





    Edit your question and add the output of sudo lsof -nP +L1

    – A.B.
    Oct 25 '15 at 16:32







  • 2





    You should write an answer. Give me a ping for an upvote.

    – A.B.
    Oct 25 '15 at 17:02
















what is the exact error message?

– mchid
Oct 25 '15 at 16:13





what is the exact error message?

– mchid
Oct 25 '15 at 16:13













@mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

– felwithe
Oct 25 '15 at 16:15





@mchid it depends on the application. PHP fails with "failed: No space left on device (28)". Trying to write a file with vim says "unable to open swap file, writing impossible", then "can't open file for writing".

– felwithe
Oct 25 '15 at 16:15













are you using btrfs or something?

– mchid
Oct 25 '15 at 16:17





are you using btrfs or something?

– mchid
Oct 25 '15 at 16:17




1




1





Edit your question and add the output of sudo lsof -nP +L1

– A.B.
Oct 25 '15 at 16:32






Edit your question and add the output of sudo lsof -nP +L1

– A.B.
Oct 25 '15 at 16:32





2




2





You should write an answer. Give me a ping for an upvote.

– A.B.
Oct 25 '15 at 17:02





You should write an answer. Give me a ping for an upvote.

– A.B.
Oct 25 '15 at 17:02










1 Answer
1






active

oldest

votes


















0














Answered in edit by OP:




Edit: It turned out that I was out of inodes even though I wasn't out of disk space. Problem was solved here:



You are out of inodes. It's likely that you have a directory somewhere with
many very small files.





What are inodes?




Ext4 has a theoretical limit of 4 billion files, which is restricted by the size of inode number it uses to identify each file (ext4 uses 32-bit inode numbers). However, as John says, Ext4 allocates inode tables statically, so the actual limit is set when the file system is created.




Source






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/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%2faskubuntu.com%2fquestions%2f689774%2funable-to-write-to-disk-but-disk-isnt-full%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














    Answered in edit by OP:




    Edit: It turned out that I was out of inodes even though I wasn't out of disk space. Problem was solved here:



    You are out of inodes. It's likely that you have a directory somewhere with
    many very small files.





    What are inodes?




    Ext4 has a theoretical limit of 4 billion files, which is restricted by the size of inode number it uses to identify each file (ext4 uses 32-bit inode numbers). However, as John says, Ext4 allocates inode tables statically, so the actual limit is set when the file system is created.




    Source






    share|improve this answer





























      0














      Answered in edit by OP:




      Edit: It turned out that I was out of inodes even though I wasn't out of disk space. Problem was solved here:



      You are out of inodes. It's likely that you have a directory somewhere with
      many very small files.





      What are inodes?




      Ext4 has a theoretical limit of 4 billion files, which is restricted by the size of inode number it uses to identify each file (ext4 uses 32-bit inode numbers). However, as John says, Ext4 allocates inode tables statically, so the actual limit is set when the file system is created.




      Source






      share|improve this answer



























        0












        0








        0







        Answered in edit by OP:




        Edit: It turned out that I was out of inodes even though I wasn't out of disk space. Problem was solved here:



        You are out of inodes. It's likely that you have a directory somewhere with
        many very small files.





        What are inodes?




        Ext4 has a theoretical limit of 4 billion files, which is restricted by the size of inode number it uses to identify each file (ext4 uses 32-bit inode numbers). However, as John says, Ext4 allocates inode tables statically, so the actual limit is set when the file system is created.




        Source






        share|improve this answer















        Answered in edit by OP:




        Edit: It turned out that I was out of inodes even though I wasn't out of disk space. Problem was solved here:



        You are out of inodes. It's likely that you have a directory somewhere with
        many very small files.





        What are inodes?




        Ext4 has a theoretical limit of 4 billion files, which is restricted by the size of inode number it uses to identify each file (ext4 uses 32-bit inode numbers). However, as John says, Ext4 allocates inode tables statically, so the actual limit is set when the file system is created.




        Source







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:23









        Community

        1




        1










        answered Oct 25 '15 at 17:28









        TimTim

        20.1k1586141




        20.1k1586141



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f689774%2funable-to-write-to-disk-but-disk-isnt-full%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

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org