kern/154930: [zfs] cannot delete/unlink file from full volume -> ENOSPC

Matthias Andree mandree at FreeBSD.org
Tue Feb 22 15:50:09 UTC 2011


The following reply was made to PR kern/154930; it has been noted by GNATS.

From: Matthias Andree <mandree at FreeBSD.org>
To: Martin Matuska <mm at FreeBSD.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/154930: [zfs] cannot delete/unlink file from full volume
 -&gt; ENOSPC
Date: Tue, 22 Feb 2011 16:06:47 +0100

 Am 22.02.2011 15:30, schrieb Martin Matuska:
 > I was unable to reproduce your problem.
 >
 > But I was able to reproduce a different situation:
 > - on a dataset with one or more snapshots I am unable to delete files
 > (ENOSPC) if the dataset got full.
 >
 > If this is your case, then:
 > - deleting files does not unlink them from the snapshot.
 > - you must first delete a specific snapshot (or all snapshots linking
 > the file) to free space.
 
 Hi Martin,
 
 no snapshots were ever used on the zpools or zfs volumes -- I had 
 checked that previously. Only truncation of a 20 M file would allow me 
 to delete files.
 
 Best regards
 Matthias
 
 -- 
 Matthias Andree
 ports committer


More information about the freebsd-fs mailing list