Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBUG read_smb_spool: Directory created: / WARN read_smb_spool: Failed to create directory #317

Open
old-square-eyes opened this issue Oct 7, 2023 · 1 comment

Comments

@old-square-eyes
Copy link

WARN read_smb_spool: Failed to create directory

In my logs.

I have run:
$ chown -R gb:users /mnt/hdd* # Change gb:users to your username & primary group
$ find /mnt/hdd* -type d -exec chmod 775 "{}" ; # Change 775 to your prefered permissions for folders
$ find /mnt/hdd* -type f -exec chmod 664 "{}" ; # Change 664 to your prefered permissions for files

As recommended here: https://github.com/gboudreau/Greyhole/wiki/Permissions-Data-Drives

@gboudreau
Copy link
Owner

It shoudln't be a permission problem, since read_smb_spool executes as root, and thus should be able to create any folders it wants.

Does the folder /var/spool/greyhole/mem exist?

The read_smb_spool action is what reads the spooled files from /var/spool/greyhole/*, and insert those in MySQL as tasks for the daemon to execute.

If it finds a mkdir spooled task, it should log Directory created: $share/$path, then it should mkdir this folder on two storage pool drives identified as the metadata store backups, as $storage_pool_drive/$share/$path

So maybe check the folder in question, and try to mkdir that on all you storage pool drives manually, see if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants