Topic starter don't use docker containers. He use lxc containers. LXC is virtual machines on host kernel. Case is that: He have 3 virtual machines with shared disk. In 3 VMs have 3 different applications. Applications work under different users and can't rewrite data on shared disk. That is user permissions problem.
nitrolife
the idea is that: all your applications work under the same user. or at least under the same group. because this is exactly how the differentiation of rights is applied.
A good plan is to create some kind of user in all three containers and run qbittorrent, samba and the third application under it.
A bad plan is to run everything under a random user with 777 rights, but this is a really bad plan.
Create a user in all three containers and work under it. That is not hard. Run qbittorent with that user. Config will be there: /home/user/.config . Then set that user for samba. I don't know third app , but I think you can find how change user in manual.
or you can't buy if you're not successful enough or you're in the wrong country. For example, in my country, the minimum cost of a 1TB SSD is about $85 and a salary of $2,000 is considered a very successful salary at the upper limit
Short command wasn't work in my env. I can run only with full sockets path. May be I do something wrong.
Thanks. Not full wayland protocol support and have a bugs, but something is greater than nothing. UPD: The utilization of the Internet channel has also increased
Eh, the era when it was possible to throw the interface through an SSH session is over. Sadly. Or maybe I'm just too old. XD
In first you need understand what type of suspend you use:
Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine's state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine's state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine's state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine's state has not been lost.
I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.
Then check
cat /sys/power/mem_sleep
If you see
[s2idle] shallow deep
check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.
If you don't see anything you can swap sleep mode to Suspend to disk. That slow but don't use any power. Or try fix sleep status.
More information you can find here: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate
Raid: https://wiki.archlinux.org/title/RAID
Don't forget part "email notifications". In addition to configuring the raid, you need to understand when the disk crashed, otherwise the raid will not help.
If you share files with windows. Basic way SMB share: https://wiki.archlinux.org/title/Samba
if you want share files with linux or windows with not basic ways you have many choises. NFS for example, or sshfs if you need folder time to time, or share directory with nginx ( https://stackoverflow.com/questions/10663248/how-to-configure-nginx-to-enable-kinda-file-browser-mode ), or overkill: nextcloud server.
UPD: In general, you just need to find a linux distributive with good documentation and use this documentation for the first time. Some things are solved differently in Linux than in Windows and you just won't know about it without reading the wiki.
interesting facts about LVM:
-
You can make a volume snapshot of the system before a major change (for example, an update).
-
You can enable caching and use HDD together with SSD cache
-
You can build raid 0,1,5 directly on LVM (you still need modules from mdraid)
-
Even without a raid, you can expand the partition beyond one disk to another or migrate the partition from disk to disk (without even disabling it)
However, all this is done from the console and I do not know if there is a GUI.
If you need fast online share you can use nginx + WebDAV module . You can use ip filters or auth. Or disable any auth.
You can use postfix + dovecot + roundcube + spamassassin + opendkim + pigeonhole. Maximum stability. Roundcube have aliases plugin.
You can start from here: https://wiki.archlinux.org/title/Virtual_user_mail_system_with_Postfix,_Dovecot_and_Roundcube