You are not logged in.
You were correct. It runs as user. Should I report that upstream or might that be intentional?
Your call.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I searched and couldn't find anything about using this with BOINC, so I thought I'd post my experience.
I tried to get this to sync the /var/lib/boinc/slots directory and it didn't go so well (I already have /var/lib/boinc mounted with bind to somewhere else, but that shouldn't be a problem?). At first I tried moving an existing setup, then I wiped it out and tried starting over with it. Same results, tasks kept giving errors (file size, no output file, etc.)
Output file PA0089_002A1_46_0_1 for task PA0089_002A1_46_0 absent
I see that asd creates a link between the directory and /dev/shm. I tried it using a tmpfs mount instead, and that seems to be working fine.
I'm not sure what it is about BOINC that doesn't work here. Ownership seemed to be fine, and permissions seemed to be fine. If BOINC doesn't like links, maybe asd could have an option to use tmpfs mount instead?
Just thought I'd share this. Not sure if anyone has any experience with this or knows what's going on.
Offline
@Nattgew - Never used BOINC or tested asd with it. In principal, I can't see why it wouldn't work as-is. I don't understand what you mean by "I see that asd creates a link between the directory and /dev/shm. I tried it using a tmpfs mount instead, and that seems to be working fine." /dev/shm is a tmpfs mount. Stop asd and post the output of
ls -l /var/lib/boinc
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
What I meant is that it looks like asd creates a link from /var/lib/boinc/slots to /dev/shm/whatever and this wouldn't work right.
If I just mount /var/lib/boinc/slots directly as tmpfs, it works.
This is how the slots directory looks without messing with it:
drwxrwx--x 8 boinc boinc 4096 Nov 19 20:53 slots
After more research and testing I decided I might try to do the whole /var/lib/boinc directory, I may be up for that in a week or so.
Offline
Hello graysky,
thanks for the asd and psd!
I started using psd yesterday on a machine with a usb drive for hd and it helped a lot with Chromium!
I am thinking of usind asd now, but I am not sure on what... it pretty much only runs Xorg, KDE.
Is there any way to use it for X or KDE? or is it useless in that sense?
Offline
Unless you have a specific target dir in mind, I wouldn't use it. I use it for /var/lib/monitorix
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
That's probably why I couldn't find how to use it then, thanks!
Offline
After reading this thread I got the impression that using asd on /var/log is a bad idea. Am I right? Maybe thing have changed and there are no problems for this now?
Offline
I haven't tried in a long time. Unclear how it will play with systemd. Maybe I need to install to a test partition and see. The volatile setting in journal.conf kind of makes it pointless now, unless you have other programs hitting /var/log hard.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I haven't tried in a long time. Unclear how it will play with systemd. Maybe I need to install to a test partition and see. The volatile setting in journal.conf kind of makes it pointless now, unless you have other programs hitting /var/log hard.
If I use volatile setting my journal will be lost in case of reboot which is not desired.
Offline
@jox - If you are able to spin up a test case, either in a vbox or physical partition and try it, please report back.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@jox - If you are able to spin up a test case, either in a vbox or physical partition and try it, please report back.
I have tried it on my cubieboard [ARM] and I'not satisfied with results. It seems that although I have started asd service journald keeps writing to the old journal file on file system instead of one relocated to memory.
Offline
Good to know; thanks for testing.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I just pushed v3.20-1 which brings the code base in asd in sync (no pun intended) with psd. Seems good on my test machines but please test and post if you find problems.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Is there a way to simply exlude a directory from being synced? I plan on syncing entire ~/.cache but the 900 MB Evolution email client cache is rarely used by me. And big.
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Not currently and not without making configuration more complex.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Why does ASD use /dev/shm/... while PSD uses /tmp/... ?
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Due to the behavior of bleachbit nastily deleting files some in /tmp ... it does not hurt the naming scheme psd uses, but i have suffered data loss from it + asd in the past syncing to /tmp which is why I moved it.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
This is what I don't understand. If /tmp is more prone to bleachbit why use it for PSD which holds more sensitive data?
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
it does not hurt the naming scheme psd uses, but i have suffered data loss from it + asd in the past syncing to /tmp which is why I moved it.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Ah, OK. I guess I'm not able to fully understand what it means. Please don't mind me.
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Is it not supported to sync /var/log? I've noticed logrotate.service failing to start when asd.service is enabled.
Offline
Initially, I found syncing /var/log was a bad idea, but then other users have reported no ill effects of doing it. I use it for /srv/http these days.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks graysky, psd works great for me already. (And thank you for your work with linux-ck as well). I don't know what directories to sync with asd though. Where do the different programs usually store that data that would make sense to be synced with asd?
Offline
I run monitorix so I sync out the databases dir.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline