Aside of insufficient voltage/power, the file system or partition table could be corrupted for other reasons. Generally the following command shows all kernel errors which might help to narrow it down:
dmesg -l emerg,alert,crit,err
Aside of insufficient voltage/power, the file system or partition table could be corrupted for other reasons. Generally the following command shows all kernel errors which might help to narrow it down:
dmesg -l emerg,alert,crit,err
Thank you. Had the same issue. Running DietPi on USB stick. and only wanted torrent and plex on it. So do not care if it breaks.
Those 2 commands let me download torrents dirrectly in the LVM created for plex.
Hello, thanks for all the help, I want to know if this commands affect only the root of the drive or also all the folders in it?
Which command you mean exactly?
The -R means recursively, so all subdirectories too.
Im sorry, havent seen ur response I wanted to understand what all those commands do to set up my Qbittorrent, finally I end up asking ChatGPT about those commands and manage to configure my Dietpi server :), ur guidance on this setup lead me to the necesarry commands thanks :), I paste the ChatGPT info obtained
sudo chgrp -R dietpi /mnt/E449-0ACD/mnt/E449-0ACD directory (and all its contents due to the -R option, which means “recursively”) to the group named dietpi.sudo: Allows the command to be executed with superuser privileges.chgrp: Changes the group ownership of a file or directory.sudo chmod 2775 /mnt/E449-0ACD/mnt/E449-0ACD directory:
2: Activates the setgid (Set Group ID) bit, meaning that new files and folders created inside /mnt/E449-0ACD will inherit the group ownership of the parent directory (dietpi in this case).775: Defines the permissions:
chown -R qbittorrent:dietpi /mnt/torrent/mnt/torrent directory (and all its contents due to the -R) to the user qbittorrent and the group dietpi:
qbittorrent: New owner (user).dietpi: New group owner.chmod -R 775 /mnt/torrent/mnt/torrent directory (and all its contents, due to -R) to 775:
The first two commands configure the /mnt/E449-0ACD directory to belong to the dietpi group, ensure new files inherit the group, and set appropriate permissions.
The last two commands make the /mnt/torrent directory owned by the qbittorrent user and dietpi group, with permissions that allow full access for the owner and the group.