No space left on device even after adding a Persistence Storage on gcloudHow to show available disks on a...

What is the oldest European royal house?

How to educate team mate to take screenshots for bugs with out unwanted stuff

Is there a logarithm base for which the logarithm becomes an identity function?

Use Mercury as quenching liquid for swords?

How does learning spells work when leveling a multiclass character?

ESPP--any reason not to go all in?

What the error in writing this equation by latex?

Did Amazon pay $0 in taxes last year?

Who has more? Ireland or Iceland?

How to recover against Snake as a heavyweight character?

I am the light that shines in the dark

Can multiple states demand income tax from an LLC?

Vector-transposing function

The (Easy) Road to Code

What does it take to become a wilderness skills guide as a business?

Can Witch Sight see through Mirror Image?

If nine coins are tossed, what is the probability that the number of heads is even?

Are small insurances worth it?

An Undercover Army

Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?

Can I challenge the interviewer to give me a proper technical feedback?

Inorganic chemistry handbook with reaction lists

What is Tony Stark injecting into himself in Iron Man 3?

Where is the License file location for Identity Server in Sitecore 9.1?



No space left on device even after adding a Persistence Storage on gcloud


How to show available disks on a Linux system?slow software raid/dev/disk/by-uuid not showing all disksEnsure USB disk is never sda, even when booting from itHow to boot GRUB2 so it mounts “root” on a different drive (remote server without kvm switch)XFS: No space left on devicemdadm: drive replacement shows up as spare and refuses to syncMounting Google Compute persistent disk at bootInstall debian 8 on a LVM Volume with Type RAID1 GRUB2 cant find volume groupIn linux, determine if a block device is being used













0















I am new to Google Cloud. I was downloaded a few text files into the VM instance. I then suddenly started getting messages like



bash: cannot create temp file for here-document: No space left on device


I ran the df -h and found that my disk was being used 100%



/dev/sdb        9.8G  9.3G     0 100% /


I searched about it and figured that I might need to add more persistence storage.



I followed the instructions here -> https://cloud.google.com/compute/docs/disks/add-persistent-disk



Now when I run the df -h I see that the new storage is added (usage is 1%)



/dev/sdc         20G   45M   20G   1% /mnt/disks/disk2


When I run lsblk, I get:



NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
└─sda1 8:1 0 10G 0 part /
sdc 8:32 0 20G 0 disk /mnt/disks/disk2


However, I am still getting the same error with No space left on device. I have restarted the VM. Kindly help.



P.S. VM -> Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64










share|improve this question














bumped to the homepage by Community 5 mins ago


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











  • 4





    You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

    – roaima
    Jul 2 '18 at 22:22
















0















I am new to Google Cloud. I was downloaded a few text files into the VM instance. I then suddenly started getting messages like



bash: cannot create temp file for here-document: No space left on device


I ran the df -h and found that my disk was being used 100%



/dev/sdb        9.8G  9.3G     0 100% /


I searched about it and figured that I might need to add more persistence storage.



I followed the instructions here -> https://cloud.google.com/compute/docs/disks/add-persistent-disk



Now when I run the df -h I see that the new storage is added (usage is 1%)



/dev/sdc         20G   45M   20G   1% /mnt/disks/disk2


When I run lsblk, I get:



NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
└─sda1 8:1 0 10G 0 part /
sdc 8:32 0 20G 0 disk /mnt/disks/disk2


However, I am still getting the same error with No space left on device. I have restarted the VM. Kindly help.



P.S. VM -> Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64










share|improve this question














bumped to the homepage by Community 5 mins ago


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











  • 4





    You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

    – roaima
    Jul 2 '18 at 22:22














0












0








0








I am new to Google Cloud. I was downloaded a few text files into the VM instance. I then suddenly started getting messages like



bash: cannot create temp file for here-document: No space left on device


I ran the df -h and found that my disk was being used 100%



/dev/sdb        9.8G  9.3G     0 100% /


I searched about it and figured that I might need to add more persistence storage.



I followed the instructions here -> https://cloud.google.com/compute/docs/disks/add-persistent-disk



Now when I run the df -h I see that the new storage is added (usage is 1%)



/dev/sdc         20G   45M   20G   1% /mnt/disks/disk2


When I run lsblk, I get:



NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
└─sda1 8:1 0 10G 0 part /
sdc 8:32 0 20G 0 disk /mnt/disks/disk2


However, I am still getting the same error with No space left on device. I have restarted the VM. Kindly help.



P.S. VM -> Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64










share|improve this question














I am new to Google Cloud. I was downloaded a few text files into the VM instance. I then suddenly started getting messages like



bash: cannot create temp file for here-document: No space left on device


I ran the df -h and found that my disk was being used 100%



/dev/sdb        9.8G  9.3G     0 100% /


I searched about it and figured that I might need to add more persistence storage.



I followed the instructions here -> https://cloud.google.com/compute/docs/disks/add-persistent-disk



Now when I run the df -h I see that the new storage is added (usage is 1%)



/dev/sdc         20G   45M   20G   1% /mnt/disks/disk2


When I run lsblk, I get:



NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
└─sda1 8:1 0 10G 0 part /
sdc 8:32 0 20G 0 disk /mnt/disks/disk2


However, I am still getting the same error with No space left on device. I have restarted the VM. Kindly help.



P.S. VM -> Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64







linux debian google-compute-engine






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 2 '18 at 21:47









Aman MathurAman Mathur

1012




1012





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


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










  • 4





    You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

    – roaima
    Jul 2 '18 at 22:22














  • 4





    You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

    – roaima
    Jul 2 '18 at 22:22








4




4





You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

– roaima
Jul 2 '18 at 22:22





You've added a new disk rather than increasing the size of your existing one, so your root partition is still full.

– roaima
Jul 2 '18 at 22:22










1 Answer
1






active

oldest

votes


















0














I agreed with roaima, you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond 2 TB.






share|improve this answer























    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%2f919244%2fno-space-left-on-device-even-after-adding-a-persistence-storage-on-gcloud%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














    I agreed with roaima, you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond 2 TB.






    share|improve this answer




























      0














      I agreed with roaima, you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond 2 TB.






      share|improve this answer


























        0












        0








        0







        I agreed with roaima, you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond 2 TB.






        share|improve this answer













        I agreed with roaima, you need to increase the size of your existing boot disk to solve this issue. After you resize the disk, you must resize the file system so that the operating system can access the additional space. Boot disks use MBR partitions, which are limited to 2 TB in size. Do not resize boot disks beyond 2 TB.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 10 '18 at 20:34









        Rahi RRahi R

        1346




        1346






























            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%2f919244%2fno-space-left-on-device-even-after-adding-a-persistence-storage-on-gcloud%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

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...