Results 1 to 3 of 3

Thread: Unix-no space left on device

  1. #1
    Senior Member
    Join Date
    Apr 2011
    Posts
    113
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Rep Power
    4

    Default Unix-no space left on device

    Hi,

    I am trying to write very small data on a text file (unix bash shell).
    but it gives an error "No space left on device".

    I have deleted some files but again giving the same issue.

    Can anybody help me to solve this issue.




    Regards,
    Priyanka

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    You need to remove unwated software and file, delete cache and so on. First find out partition name that is running out of disk space. Is it /home, /var/, /tmp or anything else? Use the df command:
    Code:
    df -k
    df -H
    The following command will list top 10 dirs eating up disk space in /home:
    Code:
    du -a /home | sort -n -r | head -n 10
    Next, either delete those unwanted files or compress and move them to backup media. Third option is to add additional disk space. LVM can also help.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. #3
    Senior Member
    Join Date
    Apr 2011
    Posts
    113
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Rep Power
    4

    Default

    Thanks a lot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 4th November 2010, 05:51 PM
  2. to left align the number fields
    By devi_vi in forum Databases servers
    Replies: 2
    Last Post: 8th April 2010, 03:59 PM
  3. mod_rewrite with convertion of space and / to _
    By kasimani in forum Networking, Firewalls and Security
    Replies: 0
    Last Post: 13th March 2007, 11:52 AM
  4. mod_rewrite with convertion of space and / to _
    By kasimani in forum Web servers
    Replies: 0
    Last Post: 13th March 2007, 11:51 AM
  5. Replaceing [] and white space with sed
    By TiredOrangeCat in forum Shell scripting
    Replies: 2
    Last Post: 12th February 2007, 10:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •