Re: cannot remove files: "rm" gives "no space left on device", 3.2.0-24, ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 17, 2012 at 3:04 AM, rupert THURNER
<rupert.thurner@xxxxxxxxx> wrote:
> On Sun, Jun 17, 2012 at 7:19 AM, Andrei Popa <ierdnah@xxxxxxxxx> wrote:
>> On Sun, 2012-06-17 at 06:14 +0200, rupert THURNER wrote:
>>> >> 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.
>>
>> Have you tried to delete the files with "echo > file" ? This will empty
>> the file without requiring a new metadata allocation.
>
> thanks for the hint! i did with the original kernel, but now i tried
> it as root and with the 3.4.0 kernel as well. "no space left on
> device". is there a  special kernel version or a special btrfs tool
> which allows to remove a file without writing more data?
>

Have you tried mounting with '-o nodatacow' yet?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux