ZFS neuvolnuje prostor?

Jozef Babjak jozef.babjak at gmail.com
Sun Nov 30 10:38:25 CET 2008


>> Zdravim,
>> na jedne masine (7.1-BETA2 FreeBSD amd64) mam ZFS, dostal jsem se do faze,
>>
>> ze se mi zaplnil disk, kdyz ale smazu nejake soubory (radove tisice), tak
>> se mi ale prostor neuvolni.
>> Nesetkal jste se s tim nekdo?
>

  ^-- Nemoze ich drzat snapshot? Pozri nizsie.

J.


The presence of snapshots can cause some unexpected behavior when you
attempt to free space. Typically, given appropriate permissions, you
can remove a file from a full file system, and this action results in
more space becoming available in the file system. However, if the file
to be removed exists in a snapshot of the file system, then no space
is gained from the file deletion. The blocks used by the file continue
to be referenced from the snapshot.
As a result, the file deletion can consume more disk space, because a
new version of the directory needs to be created to reflect the new
state of the namespace. This behavior means that you can get an
unexpected ENOSPC or EDQUOT when attempting to remove a file.



More information about the Users-l mailing list