Closed solracsf closed 2 years ago
It also causes a long WAIT; is this related to my settings in any way?
top - 10:46:06 up 50 min, 2 users, load average: 4.83, 5.37, 4.82
Tasks: 147 total, 1 running, 146 sleeping, 0 stopped, 0 zombie
%Cpu(s): 11.5 us, 11.0 sy, 0.0 ni, 25.5 id, 50.8 wa, 0.0 hi, 1.0 si, 0.2 st
System is running s3backer
only, and i'm rsync
ing from a remote system to the mounted s3backer
filesystem (to test concurrent writes)
Not sure how XFS behaves on first mount. It may just be doing a bunch of I/O that's taking a long time.
The default block cache size is very small (1000 blocks). Try increasing the size with ---blockCacheSize
(changing this value will preserve your existing cache file) and also configuring a --blockCacheWriteDelay
so you get write-back instead of write-through for less cache churn.
You might also try running s3backer in the foreground with -f --debug
so you can see what it's doing (if anything). Is it doing a bunch of I/O for 10 minutes or just sitting there? Is the backend responding in a timely manner?
If you keep seeing this you might also enable --http-debug
(or just --debug
with latest git version) to see what problem is being reported:
rec'd 500 response: GET https://s3backer-cloudeezy.s3.fr-par.scw.cloud/62a3cbc3-6c3ffff9
Thanks, i'll do a bit more tests and debugging on this.
Ok I think the problem was a dependency on systemd-resolved.service
After set it, boot time is now normal.
Closing.
I'm trying s3backer on dev environnement using a S3 compatible service (Scaleway). I've set up my box 95% accordingly to Wiki pages (configuration, fstab..) and uploaded some files on it. So far, so good.
But, when I've tried to reboot the system to see "what happens" iv'e experienced a long boot time (>10mn); also, on some tries, the filesystem mount has failed.
When mount has failed, this is the
syslog
:On
dmesg
, no mater if mount succeed or fails, this is the output:My config is:
Even when manually mounting the filesystem, it takes 8mn to get up:
I've read https://github.com/archiecobbs/s3backer/wiki/Creating-a-New-Filesystem and the note:
and so, should this be considered "normal"?
System is a 4 vCPU with 8Gb RAM and 80Gb SSD under Ubuntu 20.04 with Kernel 5.4.0-96-generic.