File system issue [was Re: jails]

Peter fbsdq at peterk.org
Thu Feb 9 18:40:43 UTC 2012


>
> On Feb 9, 2012, at 10:46 AM, "Miroslav Lachman" <000.fbsd at quip.cz> wrote:
>
>>> Hi Greg,
>>>
>>> I am having an issue with one of my jailed systems. It has run out of
>>> space. I have identified many files to delete but I can  not
>>> Delete the files as the system comes back with "No Space available".  I
>>> tried to delete them from the host system as well but I get
>>> The same system issue. How does one delete files or free up space?
>>
>> What version you are running? (uname -a)
>> Are you using ZFS or UFS?
>> If ZFS, do you have some snapshots of given filesystem? If yes, then you
>> must firstly delete some snapshots to get some free space. With
>> snapshot, the deleted file needs additional space to alocate in last
>> snapshot.
>>
>> Miroslav Lachman

> I am running 8.2 and I am also running ZFS. I have no snapshots as I have
> deleted them all. Still need more space.
>
> Thanks
>
> Sent from my iPhone

What if you null out the files? ":> file.to.delete" or "echo >
file.to.delete" ? If that works, can you then 'rm' them?

]Peter[



More information about the freebsd-jail mailing list