Thanks David. It's a brand new array but I've double checked and there's not much space used and plenty free. -----Original Message----- From: David Disseldorp [mailto:ddiss at suse.de] Sent: 27 March 2015 16:11 To: Ciaran Scolard Cc: 'samba at lists.samba.org' Subject: Re: [Samba] Weird issue - STATUS_DISK_FULL Hi Ciaran, On Fri, 27 Mar 2015 15:35:12 +0000, Ciaran Scolard wrote:> I've a share on a btrfs volume that is reporting that there isn't enough disk space for a backup. > Which is odd as the file is about 300GB in size and df -h reports 5TB free. > Any ideas?Free space tracking in Btrfs (and other CoW filesystems) is generally complex. I'd suggest you take a look at the Btrfs documentation at: https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_I_ran_out_of_disk_space.21 Cheers, David
On Fri, 27 Mar 2015 16:23:41 +0000, Ciaran Scolard wrote:> Thanks David. > > It's a brand new array but I've double checked and there's not much space used and plenty free.Which kernel version are you using. Which version of Samba are you running? Can you reproduce the ENOSPC error doing a similar IO on the local filesystem, or only via Samba? Finally, have you tried running "btrfs fi balance ..." on the filesystem? Cheers, David
uname -a Linux localhost.localdomain 3.19.1-1.el7.elrepo.x86_64 #1 SMP Sat Mar 7 13:55:36 EST 2015 x86_64 x86_64 x86_64 GNU/Linux rpm -qa | grep -i samb samba-4.1.1-38.el7_0.x86_64 samba-common-4.1.1-38.el7_0.x86_64 samba-libs-4.1.1-38.el7_0.x86_64 Local I/O appears to be unaffected. btrfs balance start was run prior to the copy attempt. -----Original Message----- From: David Disseldorp [mailto:ddiss at suse.de] Sent: 27 March 2015 16:36 To: Ciaran Scolard Cc: 'samba at lists.samba.org' Subject: Re: [Samba] Weird issue - STATUS_DISK_FULL On Fri, 27 Mar 2015 16:23:41 +0000, Ciaran Scolard wrote:> Thanks David. > > It's a brand new array but I've double checked and there's not much space used and plenty free.Which kernel version are you using. Which version of Samba are you running? Can you reproduce the ENOSPC error doing a similar IO on the local filesystem, or only via Samba? Finally, have you tried running "btrfs fi balance ..." on the filesystem? Cheers, David