Results 1 to 2 of 2
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 ...
- 07-07-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 3
Cannot write to Ramdisk - no space left on device!
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
tmpfs 1048576 1296 1047280 1% /tmp
here is the output of df -i:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 119832704 60865 119771839 1% /
none 4110353 97 4110256 1% /dev
tmpfs 51200 379 50821 1% /disk/test
tmpfs 51200 379 50821 1% /disk/test
tmpfs 10240 82 10158 1% /tmp
I have tried writing to the following directories:
/tmp
/disk/test
/dev/shm
but all have the same problem! Am I missing something, or perhaps my host is restricting ramdisks?
- 07-08-2011 #2Just Joined!
- Join Date
- May 2011
- Posts
- 3
Anyone have any ideas?


Reply With Quote