Subject: kern/26374: Long delay before non-root users can write to softdep partitions
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/20/2004 13:31:56
>Synopsis: Long delay before non-root users can write to softdep partitions
>Arrival-Date: Tue Jul 20 12:33:00 UTC 2004
>Originator: Julian Coleman
>Release: NetBSD 2.0G
System: NetBSD sirion 2.0G NetBSD 2.0G (ULTRA60) #0: Thu Jul 15 11:09:19 BST 2004 root@sirion:/usr/obj/sys/arch/sparc64/compile/ULTRA60 sparc64
After a partition mounted with softdep has been filled to > 100%,
it's not possible to write to the partition as a non-root user for
some time after space has apparently been freed.
/dev/sd1e /usr/obj ffs rw,nodev,softdep 0 2
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/sd1e 6106568 5935606 -134366 102% /usr/obj
A non-root user could not write to this partition when space had been
Filesystem 1024-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/sd1e 6106568 4754166 1047074 81% 367514 392804 48% /usr/obj
$ cat > zz
/usr/obj: write failed: file system is full
cat: stdout: No space left on device
root could write to this partition with no problems.
After some time (5 minutes or so), non-root users could write to
this partition again.
Go over 100% full on a partition with softdeps enabled.
Remove some files so that the partition is less than 100% full.
Try to write to the partition as a non-root user without waiting
for the softdeps "cache" to empty.