View unanswered posts | View active topics It is currently Sat May 18, 2013 1:48 am



Reply to topic  [ 5 posts ] 
 No space left on device 
Author Message

Joined: Sun Apr 25, 2010 2:44 pm
Posts: 17
Post No space left on device
I've been setting up the ghettoVCB backup script and cron tasks to run it all. While doing this I've noticed that often I'll make an edit to a file and save it, then all of a sudden the file's empty with 0kb file size. Then tonight I tried to copy a file to a directory and I got this error:

Code:
cp: cannot close './run_ghettoVCB.cron': No space left on device


That's odd because it looks like there's loads of space left:
Code:
Filesystem                Size      Used Available Use% Mounted on
visorfs                   1.3G    259.8M      1.0G  20% /
vfat                      4.0G      3.6M      4.0G   0% /vmfs/volumes/4c2b57ea-0af04681-374b-0019bb5303ea
vmfs3                    69.5G     23.7G     45.8G  34% /vmfs/volumes/4c2b57fb-9e4cd95b-4c60-0019bb5303ea
vfat                    285.9M    136.0M    149.9M  48% /vmfs/volumes/e00f98e1-2bcc0c91-e7a2-3487611c1557
vfat                    249.7M     87.9M    161.9M  35% /vmfs/volumes/3810ab76-2f8ca114-8aa4-6d7cda396046
vfat                      4.0G         0      4.0G   0% /vmfs/volumes/4c2b6a93-74529902-e112-0019bb5303ea
vfat                    249.7M     60.3M    189.4M  24% /vmfs/volumes/8a58d07c-359e6abf-ed86-e27f3c32f061
vmfs3                   465.5G    226.6G    238.9G  49% /vmfs/volumes/4c2b6a90-ce10ce23-db24-0019bb5303ea
vmfs3                   461.5G    114.5G    347.0G  25% /vmfs/volumes/4c2b6a95-f03e05a5-9f13-0019bb5303ea

So why am I getting "No space left" errors?


Thu Apr 07, 2011 4:02 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3874
Post Re: No space left on device
Try vdf -h.

_________________
Dave Mishchenko
VMware vExpert 2009-2012
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Thu Apr 07, 2011 9:37 am
Profile

Joined: Sun Apr 25, 2010 2:44 pm
Posts: 17
Post Re: No space left on device
Dave.Mishchenko wrote:
Try vdf -h.

WHen I run vdf -h I get this:

Code:
Tardisk                  Space      Used
SYS1                      199M      199M
SYS2                       55M       55M
SYS3                       96K       96K
SYS4                       12K       12K
SYS5                        4K        4K
SYS6                       16K       16K
-----
Ramdisk                   Size      Used Available Use% Mounted on
MAINSYS                    32M      640K       31M   1% --
tmp                       192M        0B      192M   0% --
updatestg                 750M       44K      749M   0% --
hostdstats                 63M        2M       60M   4% --


The Tardisk section looks like it has no space left. Is this the source of my problem? I don't really understand what a Tardisk is or SYS1-SYS6 are.


Fri Apr 08, 2011 1:57 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3874
Post Re: No space left on device
That's fine. What you don't want to see is one of the RAM disks being full. Where are you trying to copy / edit the file?

_________________
Dave Mishchenko
VMware vExpert 2009-2012
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Fri Apr 08, 2011 2:09 am
Profile

Joined: Sun Apr 25, 2010 2:44 pm
Posts: 17
Post Re: No space left on device
Dave.Mishchenko wrote:
That's fine. What you don't want to see is one of the RAM disks being full. Where are you trying to copy / edit the file?

Thanks for your help on this. I'm copying files to a directory called /phill/ghettoCB. The "phill" directory lives directly under / and is where I put my ghettoVCB backup scripts and other stuff. This gets created from oem.tgz at boot time.

Oddly, the problem seems intermittent. Sometimes I can copy files, cometimes I can't. Sometimes I'll edit a file in vi and save it OK, other times when I save it I end up with a 0kb file.


Fri Apr 08, 2011 3:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.