[Bug 950178] New: Can't rename files (on btrfs)
http://bugzilla.opensuse.org/show_bug.cgi?id=950178 Bug ID: 950178 Summary: Can't rename files (on btrfs) Classification: openSUSE Product: openSUSE Distribution Version: 42.1 Beta 1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: coolo@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- There is something really fishy on my test machine - and it happened out of the sudden when I tried to zypper dup: tortuga:/ # df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf devtmpfs 7,9G 8,0K 7,9G 1% /dev tmpfs 7,9G 0 7,9G 0% /dev/shm tmpfs 7,9G 11M 7,8G 1% /run tmpfs 7,9G 0 7,9G 0% /sys/fs/cgroup /dev/sda3 41G 4,5G 36G 12% / /dev/sda3 41G 4,5G 36G 12% /var/opt /dev/sda3 41G 4,5G 36G 12% /var/lib/mailman /dev/sda3 41G 4,5G 36G 12% /var/tmp /dev/sda3 41G 4,5G 36G 12% /var/spool /dev/sda3 41G 4,5G 36G 12% /var/log /dev/sda3 41G 4,5G 36G 12% /var/lib/pgsql /dev/sda3 41G 4,5G 36G 12% /var/lib/named /dev/sda3 41G 4,5G 36G 12% /var/lib/mariadb /dev/sda3 41G 4,5G 36G 12% /var/lib/libvirt/images /dev/sda3 41G 4,5G 36G 12% /boot/grub2/x86_64-efi /dev/sda3 41G 4,5G 36G 12% /var/crash /dev/sda3 41G 4,5G 36G 12% /usr/local /dev/sda3 41G 4,5G 36G 12% /tmp /dev/sda3 41G 4,5G 36G 12% /opt /dev/sda3 41G 4,5G 36G 12% /srv /dev/sda3 41G 4,5G 36G 12% /boot/grub2/i386-pc /dev/sda1 156M 4,5M 152M 3% /boot/efi /dev/sda5 1,0T 15G 1010G 2% /home tortuga:/ # LC_ALL=C mv bar baz mv: cannot move 'bar' to 'baz': No space left on device tortuga:/ # touch baz I simply can't move files, but I can create new ones - also by copy. Running 4.1.8-1-default from 42.1-Current -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
David Disseldorp
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
http://bugzilla.opensuse.org/show_bug.cgi?id=950178#c12
Matthias Eckermann
How can btrfs run into this situation and how to prevent it? GM is just a few days away ...
While "auto balance" might have serious performance impact (and thus is not implemented upstream in brtfs yet, as far as I know), the "btrfsmaintenance" package contains the right scripts to keep the btrfs filesystem in a reasonable shape. Make sure that "btrfsmaintenance" is installed by default, and the scripts run. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
http://bugzilla.opensuse.org/show_bug.cgi?id=950178#c13
Dominique Leuenberger
(In reply to Ludwig Nussel from comment #11)
How can btrfs run into this situation and how to prevent it? GM is just a few days away ...
While "auto balance" might have serious performance impact (and thus is not implemented upstream in brtfs yet, as far as I know), the "btrfsmaintenance" package contains the right scripts to keep the btrfs filesystem in a reasonable shape. Make sure that "btrfsmaintenance" is installed by default, and the scripts run.
btrfsmaintenance is well installed in a default setup, BUT:
systemctl status btrfsmaintenance-refresh ● btrfsmaintenance-refresh.service - Update cron periods from /etc/sysconfig/btrfsmaintenance Loaded: loaded (/usr/lib/systemd/system/btrfsmaintenance-refresh.service; disabled; vendor preset: disabled) Active: inactive (dead)
being disabled (as any default service) it is not going to do a lot of work - if this should be changed, a diff to systemd-presets-branding-openSUSE is needed. After I started the service, it indeed created links in /etc/cron.{weekly,monthly} as expected. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
http://bugzilla.opensuse.org/show_bug.cgi?id=950178#c14
--- Comment #14 from Stephan Kulow
http://bugzilla.opensuse.org/show_bug.cgi?id=950178
Ludwig Nussel
participants (1)
-
bugzilla_noreply@novell.com