Web lists-archives.com

Re: [Samba] Fw: Btrfs Samba and Quotas




Greetings, Hendrik Friedel!

> by suggestion from linux-btrfs I post this to samba@xxxxxxxxxxxxxxx.
> I think, thiss is a bug in Samba. Can you confirm and suggest a 
> workaround?

I wonder, are your clients Linux or Windows systems?
I'm not using quotas per se, and all my servers are running shares off BTRFS
volumes for several years now. And working quite fine.
I wonder if upgrading servers may not be so wise.

> Regards,
> Hendrik

> ------ Weitergeleitete Nachricht ------
> Von: "Hendrik Friedel" <hendrik@xxxxxxxxxxxxx>
> An: "Btrfs BTRFS" <linux-btrfs@xxxxxxxxxxxxxxx>
> Gesendet: 12.05.2019 13:27:00
> Betreff: Btrfs Samba and Quotas

> Hello,

> I was wondering, whether anyone of you has experience with this samba in conjunction with BTRFS and quotas.

> I am using Openmediavault (debian based NAS distribution), which is not
> actively supporting btrfs. It uses quotas by default, and I think, that me using btrfs is causing troubles...

> In the logs I find:
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879166,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879356,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879688,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879888,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.880093,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
> May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.880287,  0]
> ../source3/lib/sysquotas.c:461(sys_get_quota)
> May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!

> As you can see, this is quite frequent.

> Searching for this, I find some bug-reports:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1735953
> https://bugzilla.samba.org/show_bug.cgi?id=10541

> Now, I am sure that I am not the first to use Samba with btrfs. What's
> special about me? How's your experience?

> Greetings,
> Hendrik




-- 
With best regards,
Andrey Repin
Saturday, May 18, 2019 16:02:51

Sorry for my terrible english...


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba