Red Hat / Fedora :: Cannot Write To Ramdisk - No Space Left On Device?
Jul 7, 2011
I am trying to write to a Ramdisk because I suffer from terrible IO speeds on my VPS. It uses openVZ and I run a Centos 5 distro.
So i created my ramdisk with '/bin/mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0775,noatime,nodiratime tmpfs /tmp'
but whenever I try and copy files to it, it just spams me with 'no space left on device even though there is!
Here is the output of df:
/dev/simfs 157286400 6511452 150774948 5% /
none 16441412 4 16441408 1% /dev
tmpfs 5242880 1296 5241584 1% /disk/test
tmpfs 5242880 1296 5241584 1% /disk/test
[Code]....
View 1 Replies
ADVERTISEMENT
Jan 4, 2011
df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
View 1 Replies
View Related
Jul 31, 2010
I have an WD 1TB external hard disk. When I try to write any file to it - even a 1kb text file - I get the message "no space left on device". I cannot write to the disk at all anymore - not files, not directories.The drive is formatted as an NTFS drive. I use F13. I can read from the drive without any apparent problem. Would anyone know what's causing this problem?
View 2 Replies
View Related
Aug 3, 2010
If I run low on free space, and I/system need to write something, then the files are just truncated. With no way to revert to their previous content.
First I installed the Windows on the VirtualBox, it sucked up all free space, so I couldn't even login to the system afterwards.
Then I, once again, silently ran out of free space, and my php editor broke. Later I discovered that it tried to write its config files, but failed, truncating them all. I lost a half a year of configurations, custom color scheme and custom code snippets.
Then one day the system just froze. Later I understood, there wasn't enough free space for it to run.
Today I was working on my php script, for like the second day, when, again, free space ran out, so with another file-save, I got a wonderfully impressing blank php-file. It was auto-reloaded from the external change, which was failure to write to file, obviously, so no ctrl-z worked, leaving me with two days work wasted and an urge to hit the monitor
My questions are:
1 How can this be fixed? Besides the obvious awesome fix "watch your free space, buddy".
2 Could somebody explain why these sorts of things happen, just so I know why the ultra-safe and durable 'nix operating system wants to destroy itself sometimes?
3 Anyone else encountered this issue?
View 3 Replies
View Related
Apr 10, 2009
I am trying to copy some files onto a flash card. The first thing that i do is mount to the flash card:
mount /dev/sdc1 /mnt
then i try and copy a file
cp dev.bin /mnt
but i get a message saying:
cp: writing `/mnt/dev.bin': No space left on device
I was able to copy some files before but i cant seem to do it anymore.
how can i delete everything thats on the flash card so that i can copy files onto it?
View 3 Replies
View Related
Mar 15, 2016
Debian Version: 8.3 (Jessie) KDE (although this is NOT a desktop issue)
Basic Hardware:
Gigabyte Motherboard GA-970A-D3P
AMD 8350 CPU (8 cores)
32 GB DDR3 RAM
120GB SSD SATA-6GB/s
750 WD Black SATA-6GB/s
I am getting "Error: No space left on device" regularly during updates or installs, but why. Here is data on the disks, filesystems, etc...
Code: Select all df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 81G 27G 50G 35% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 76K 16G 1% /dev/shm
tmpfs 16G 18M 16G 1% /run
[code]...
Seems very doubtful that inodes are the killer.I have googled and followed all the threads, and search these forums and found nothing that fits - every answer there was focused on avaiolable space and inodes..And to make the cheese even more binding, the issue has cropped up on another 8.3 system with far more disk space (larger hard drives) and lots more unused inodes
Code: Select alldf -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 907G 6.6G 855G 1% /
udev 10M 0 10M 0% /dev
tmpfs 995M 9.2M 986M 1% /run
tmpfs 2.5G 76K 2.5G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.5G 0 2.5G 0% /sys/fs/cgroup
[code]...
View 11 Replies
View Related
Mar 16, 2010
I recently upgraded from Lucid to Maverick, which went fairly smooth. Then I upped my RAM with some new memory sticks (4Gb to 8Gb). Since about then, I'm seeing these errors in syslog:
Code:
Jun 6 22:23:52 howler console-kit-daemon[1224]: WARNING: Failed to add monitor on '/dev/tty2': No space left on device
Jun 6 22:23:59 howler console-kit-daemon[1224]: WARNING: Failed to add monitor on '/dev/pts/0': No space left on device
I also get errors when running "tail -f" as root:
Code:
tail: cannot watch `/var/log/syslog': No space left on device
I searched around and I found some other reports of the tail -f error, with the suggestion of increasing fs.inotify.max_user_watches. I set it to 16384, and that at first resolved the tail -f problem, but now I'm getting that error again even after upping max_user_watches.
I know swap is suggested to be approx. the same size as RAM, but with this upgrade RAM is now bigger than the 5.7G of swap.
View 3 Replies
View Related
Apr 21, 2010
i'm using Ubuntu virtual machine.latly, i've moved the VM image to other PC. something with the user privileges got wrong. i when i edit a file using nano for example from a simple user, it says: "no space left on device" but when i use
# sudo nano filename
it works.i used
#chmod 777 filename
and it still dosent work. i cant save/write to disk while i'm in the user account. but with sudo, or root account it works.
View 1 Replies
View Related
Jan 20, 2011
cp: writing `/tmp/tmpX2KZDc/system.image': No space left on device However, when I right-click on properties, I see it has 51 items, totalling only 130.5 KB!this is a dual boot system with Win XP and Ubuntu 10.10 (~58Gb partition)Quote:
anil@anil-HP-EliteBook-8440p:/tmp$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
[code]...
View 12 Replies
View Related
Feb 11, 2010
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Yes I tried 'sudo dpkg --configure -a' Should I do a reinstall.
"Setting up initramfs-tools (0.92bubuntu53) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic
gzip: stdout: No space left on device update-initramfs: failed for /boot/initrd.img-2.6.31-17-generic dpkg: subprocess installed post-installation script returned error exit status 1"
View 3 Replies
View Related
Apr 20, 2010
I've just upgraded to kubuntu 9.10, and I'm getting strange errors when trying to copy files onto my MP3 player, a SANSA M250 (2GB). df claims it's at 57% capacity (and the figures make sense for that, as well as having about the quantity of music which half fills the SANSA) but when I try to copy a file - from the command line, from exaile, or with the file manager, I get a "No space left on device" error:
Code:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 73939452 42184580 27998880 61% /
udev 512472 264 512208 1% /dev
none 512472 1752 510720 1% /dev/shm
none 512472 96 512376 1% /var/run
none 512472 0 512472 0% /var/lock
none 512472 0 512472 0% /lib/init/rw
/dev/sdc 1996000 1125056 870944 57% /media/SANSA M250
$ cp test.mp3 /media/SANSA M250/
CP: cannot create regular file `/media/SANSA M250/test.mp3': No space left on device
The MP3 being copied is 2MB in size so should fit easily.
There were no problems until upgrading, when I also moved from amarok to exaile - because amarok2 doesn't have the functionality I want from a player. But this happens even if exaile isn't running, so exaile shouldn't be the problem. How can I diagnose what's going on?
View 1 Replies
View Related
Mar 26, 2011
I'm running CentOS 5.2,on a 64-bit x86_64 Linux machine with kernel version 2.6.18-128.el5 smp. I appear to have version 2.9.4 of xfsprogs. I have a 22TB xfs filesystem ,Yesterday, the hard disk is full, today released a 7.7T disk space.But still can not write to new file. software ambience:
[root@Production data5]# uname -a
Linux Production 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[code]....
View 5 Replies
View Related
Aug 3, 2010
i'm sorting 8GB text file but came up with this error for an investigation
/tmp/sortA3aLjF: No space left on device
is there anyway that sort won't use /tmp?
View 3 Replies
View Related
Nov 23, 2010
I'm using a large xfs partition on a large raid volume using 7 1TB drives. I am currently getting a "no space left on device" error message when creating files or directories. However I see the following output when checking space limitations.
df -h
[root@system]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdd3 18G 775M 16G 5% /
/dev/hdd1 99M 15M 80M 15% /boot
[Code].....
View 4 Replies
View Related
Jul 3, 2011
I'm unable to login to my Kubuntu Lucid. The login screen takes my password, blanks, then returns me to the login screen. I'm getting some graphics errors when running from recovery mode as well as the no space left on device error when attempting to start x from the terminal. Here are some outputs: When starting from recovery mode, selecting failsafeX from the Recovery Menu:
[Code]...
I've come to the conclusion that my root partition is full, but I'm not sure how to clear space, or how much to clear once I work out how to do it. I removed a few packages with apt, but it doesn't seem to have any effect. df -h shows that root is 100% full, yet it has 3GB free. I've grown comfortable with Ubuntu in the couple years I've been using it, yet this level of problem-solving is a bit nerve-wracking to me. I've been considering reinstalling (this machine is running Lucid upgraded from Karmic and Jaunty and has a few oddities), but I hate the idea of being forced to reinstall because I can't overcome this problem. If you need any other information or outputs from terminal commands, I'm happy to provide it.
View 7 Replies
View Related
Jan 4, 2011
ibv4l2: error turning on stream: No space left on device
Webcam work in:
fps: 1/30
formate:JPEG/WMV
it works not perfect on guvcview
View 4 Replies
View Related
Nov 18, 2009
So after deciding to upgrade the existing fedora install on my laptop from 11 to 12, I decided to use the preupgrade method. After grappling with the boot space issue by clearing out an old kernel that was deemed safe to remove by the python script on the preconfig wiki page and then using tune2fs, I left the computer to do it's thing, periodically checking back on it. I come back to my computer, and after an apparent restart I see this message spat out at me:
Code:
ramdisk: incomplete write (3537 ! 5123)
write error
kernel panic - not syncing : VFS : unable to mount root fs on unknown block (0,0)
I need this laptop up and running for tomorrow and I would appreciate any help given. I have a Fedora 11 live CD running on the laptop and there seems to be an extra 210 filesystem present with the folders efi, grub, lost+found in there, as well as some config files, elf-memtest86+-400, what seems to be .img file amongst other things. If necessary, I can provide a screenshot.
View 11 Replies
View Related
Aug 20, 2010
I am currently running slackware 12.2 on a 25 GB partition. I like to use slackbuilds, but when I try to compile larger tarballs (like abiword, or a patched version of Ghostscript as I did today) I receive an error-message: 'Not enough space left on device'. I think the size of the partition must be big enough (I never got this message when compiling with Linux From Scratch). I think it has something to do with the size of my /tmp directory, but I don't know how to fix this. Is there a way to solve the problem, so that I could be able to use slackbuild-scripts?
View 4 Replies
View Related
May 26, 2010
i'm currently using puppy linux 431. and i want to replace it with fedora LXDE but i encounter this error upon booting using livecd.
Quote:
RAMDISK: incomplete write (XXXXX!= XXXXXX)
write error
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
View 11 Replies
View Related
Jan 15, 2011
I have searched google for a couple of days, and I keep hearing about an INode limit on filesystems, but that doesn't seem to be the case.
Now whenever I try to download something, watch a ..... video, or listen to Pandora radio, it just stops playing after 2 seconds. Downloading says "No space left on device".I also get the error as root.I do have 5% and more free of HDD space. After reading the similar posts I checked all of this, so if I am overlooking something on the forum, I apologize for an extra post about.
View 3 Replies
View Related
Aug 14, 2011
I have been using Natty (11.04) for a while with a 3disk RAID5 via MDADM and all have been ok.I have just stuck in another disk using: mdadm /dev/md0 --add /dev/sdb, then mdadm --grow /dev/md --raid-devices=4I then resize2fs /dev/md0all seemed ok until i tried "tail -f /var/log/syslog" and was given:tail: cannot watch `/var/log/syslog': No space left on devicedf -h gives me loads of space freedf -i no problemsany i have an expensive lump parts just sitting here doing nothing.
View 9 Replies
View Related
Jan 19, 2011
I was running a python script tool and got this error. Exception: Command cp -Rfp /home/anil/mydroid/myfs/* /tmp/tmpX2KZDc failed (I am on dual boot ubuntu 10.10 with Win XP.) Here is a partial output from the console. Note the "No space left on device" error, when writing to /tmp.
Quote:
mke2fs 1.41.12 (17-May-2010)
Filesystem label=android_fs
OS type: Linux
[code]....
View 1 Replies
View Related
Dec 25, 2010
I have had a software raid running on OpenSuse / SUSE 10 & 11 for some time and I have about 8TB on it. I always run close to 100% and once in a while get there but always manage to delete a bunch and clear out about 30-100GB.
View 3 Replies
View Related
Jun 10, 2011
Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums
When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server
Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment
[Code]...
View 4 Replies
View Related
Jan 31, 2010
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
In case you're curious, here's my /etc/fstab:
Code:
View 14 Replies
View Related
Jun 11, 2010
successfully upgraded to Fedora 13 from Fedora 12
then did yum update with plenty of problems
then I tried
yum --skip-broken update
883 entries
1.3 gig download
delta download was 5.9 meg
[Code]....
View 7 Replies
View Related
Jul 2, 2010
I just tried to download a torrent and got an error message indicating there was no space left in the download location I'd specified.
This happened earlier when df -h showed ~900M of free space. Just now, I'm showing ~2.2G of free space. Anyone have ideas what could be causing this?
View 9 Replies
View Related
Dec 4, 2008
I have been installing Fedora 8 Linux with already having Windows Xp as my primary OS....
I have a total of 80GB Hard disk.Out of 80 GB,I have freed 8GB for Linux.But during Installation after "selecting language for keyboard" and then choosing "Create Custom Layout", while giving partitions I have alotted 4GB for '/' and 2GB for Swap.
Initially space was created for root(/)...but it is unable to create space for swap and all other boot,home etc...
It is showing the error msg as "Could not create partition as there is no space left for /(root)"...
View 4 Replies
View Related
Nov 11, 2010
I recently added a SS drive and after 2 hours it went into read only and busy mode. The machine see the drive as does tools like fdisk, fsck, qtparted, kde partition manager but I can't reset the device to make it write-able Do I need to RMA the device (it's 12 hours old) or is there a method to make the device usable again?
View 4 Replies
View Related
May 3, 2010
You would think it would be easy to do this (and essential to maximizing and predicting the usage of tapes), but apparently this isn't so. The program MT(1) actually had some commands that give the block positition (if supported by the drive) from which the remaining space could be deduced (even if you couldn't predict exactly how much space the next archive would take up). However I'm using MT(1L) which no longer has such commands.
View 1 Replies
View Related