Help with folders and disks

Hello guys, I just found out about this script and i’m completely in love with it.

I’m a complete noob about linux so I’m having a little bit of trouble.
I’m trying to create two folders inside my /torrents/ folder and it’s saying I don’t have permission. How do I go around this?
Another thing is that I can’t see my disk usage on the dashboard. I saw a bunch of things here on the wiki but didn’t find a fix for it yet.

Thanks guys! I’m absolutely loving the script.

ssh into the server
Type ‘sudo su -’ to enter roots shell.
Type ‘df -h’ to See how much free space is on your disk…will be largest number on the free column.
Type 'setdisk’
Fill in your user name
Fill in your size value from above. I usually subtract a few gbs from that number so I have a cushion for the os.
Type ‘exit’ to exit roots shell
Try to make your directories now.

This should fix your other issue too.
Basically you don’t have a disk quota setup so its defaulting to zero everywhere.

Thank you very much. I managed to create the folders but still can’t see the diskusage on the dashboard/rutorrent.

after you used setdisk? thats odd.

Did you refresh the browser? hit F5. I dont know if its necessary but its an idea.

Yes! I installed it on my fresh Ubuntu install from Hetzner. It’s running in raid0, don’t know if it matters.

Another thing that I’m noticing is that when I try to install the plex channel Sub-Zero, which download subtitles right into your folders automatically, it says I don’t have enough permissions to access the folders.

Find the file fstab under /etc

and edit the following:

/dev/sda2 / ext4 usrquota,errors=remount-ro,relatime 0 1
/dev/sda3 /home ext4 defaults,relatime 1 2

To:

/dev/sda2 / ext4 defaults,relatime 0 1
/dev/sda3 /home ext4 usrquota,errors=remount-ro,relatime 1 2

After that run these commands in SSH:

quotaoff -a
service quota stop
mount -o remount /home
quotacheck -auMF vfsv1
quotaon -uv /home
service quota start

he chose the wrong disk layout when running the setup?

It could be. If think it will only work if the path is set to /home in the installation script.
Thats how JM fixed the issue for me :slight_smile:

This is how it looks on the fstab file:

should I reinstall it? I don’t mind running a clean start again (if it is the right way).

What did you pick as the mount for quotas ?

As in TB or which one? I did what RXWatcher told me to do, selected 5TB out of the 5.1TB on the biggest one.

Sorry about this guys, I’m a complete noob when it comes to Linux.
And thanks for helping me.

No problem :).

You could try edit
/dev/md/3 /home ext4 defaults 0 0

to:
/dev/md/3 /home ext4 usrquota,errors=remount-ro,relatime

And then run the commands above

When trying to service quota stop

Failed to stop quota.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and ‘systemctl status quota.service’ for details.

then any of the above lines gives me sudo: unable to resolve host copahk

Try run them as sudo:

sudo quotaoff -a
sudo service quota stop
sudo mount -o remount /home
sudo quotacheck -auMF vfsv1
sudo quotaon -uv /home
sudo service quota start

Same thing on the first one.

sudo: unable to resolve host copahk

Is it a home machine or hosted by a provider?

It’s hosted on Hetzner but we have complete root access.

Which OS are you running on?

I’m running Ubuntu 16.04

Need to call out for @JMSolo or @liara for deeper help to this problem. They would gladly help you to fix the issue :slight_smile: