OpenVZ Forum


Home » Mailing lists » Users » error using vi in VE but no beans?
Re: error using vi in VE but no beans? [message #16196 is a reply to message #16185] Mon, 27 August 2007 14:42 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Steve Hodges wrote:
> On 27/08/2007 9:16 AM, Gregor Mosheh wrote:
>> Steve Hodges wrote:
>>> E297: Write error in swap file
>>> E303: Unable to open swap file for "rc.local", recovery impossible
>>> "rc.local" 17 lines, 387 characters
>>
>> That's vi saying that it can't save a backup of the file (yeah, "swap
>> file" really intuitive) That's probably just a permissions issue. Are
>> you able to manually create and then delete a fake swap file named
>> .rc.local.swp ?
>>
> It turned out to be a disk quota issue.
>
> GOOD: the VE didn't chew up all the available disk space (as it would
> have in a couple of hours)
> BAD: the violation of the disk quota doesn't show up in user_beancounters
>
It shows in df (or df -i) -- standard UNIX/Linux tool; it is all
described in http://wiki.openvz.org/Resource_shortage (which I guess I
should add to "must read" category.

See, ff there is a standard way of seeing something, why invent
something new and unique? For disk space there is such a tool, for
beancounters there was no, since beancounters only appeared in OpenVZ.

>From the host system though there is a way to see all per-VE disk quotas
and their usage -- cat /proc/vz/vzquota
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Checkpointing failed - SYSV IPC,
Next Topic: Routing problems using SMP kernel
Goto Forum:
  


Current Time: Sun Jun 15 18:33:32 GMT 2025

Total time taken to generate the page: 0.01857 seconds