Re: cannot remove files: "rm" gives "no space left on device", 3.2.0-24, ubuntu
From: rupert THURNER <hidden>
Date: 2012-06-17 04:14:52
On Sat, Jun 16, 2012 at 2:01 PM, rupert THURNER [off-list ref] wrote:
On Sat, Jun 16, 2012 at 1:57 PM, Sergei Trofimovich [off-list ref] wrote:quoted
On Sat, 16 Jun 2012 13:16:09 +0200 rupert THURNER [off-list ref] wrote:quoted
how would i be able to delete something off this btrfs partition again? i saw the following messages in the archives which seem to be a little similar ... except a reboot and therfor a remount did not help: * http://article.gmane.org/gmane.linux.kernel/1265666/match=enospc rt@tv:~$ rm -rf /media/388gb-data/.Trash-1000/info/foto.trashinfo rm: cannot remove `/media/388gb-data/.Trash-1000/info/foto.trashinfo': No space left on device rt@tv:~$ btrfs filesystem df /media/388gb-data/ Data: total=260.59GB, used=254.56GB System: total=32.00MB, used=24.00KB Metadata: total=128.00GB, used=120.01GBLooks like there is a bit of space. Try to mount with '-onospace_cache,clear_cache,enospc_debug' and check if it still reports an ENOSPC error.still same error.quoted
Will result in anything reported in 'dmesg' output?[ 6431.514454] device label 388gb-data devid 1 transid 1086 /dev/sda6 [ 6431.514969] btrfs: disabling disk space caching [ 6431.514977] btrfs: force clearing of disk cache
tried the same with kernel versions from http://kernel.ubuntu.com/~kernel-ppa/mainline/: * 3.2.20 * 3.4.0 with version 3.4.0, i could delete one tiny file, but only one. peter mentioned before to run the rm as root. yes, i did that, with all kernel versions, the error was the same all the time.