Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set properly automount settings for ext4 SATA HDD

Featured Replies

Hello everybody!
I would like to make a home media server with my HDD connected to Banana Pi (on SATA). I want to run Torrent client with WebUI, dlna and VPN server thereon.
I`m stucked with fstab file configuration. First I tried to format my HDD`s partition to NTFS, every permission was good, but Transmission download, and FSTP file download was incredibly slow (4MB/s, but I have gigabit internet connection).  The fstab configuration was this:
 

UUID=<the uuid of the ntfs partition> /mnt/DataHDD ntfs defaults,auto,umask=000,users,rw 0 0

I`ve readed that, ext4 filesystem can be faster, so I decided to format the partition to ext4. After that, I changed in the /etc/fstab the UUID, and the filesystem:

UUID=<the uuid of the ext4 partition> /mnt/DataHDD ext4 defaults,auto,umask=000,users,rw 0 0

But I had to realize that my Banana Pi couldn't boot properly, it refuses my SSH connections. I took the SD card from the Pi and I restored the default fstab settings.

I think that the Pi wanted to boot from the disk, or something like that. After that I tried the following settings:

 

UUID=<the uuid of the ext4 partition> /mnt/DataHDD ext4 defaults 0 0

It was better, the Pi could reboot and the system auto-mounted the HDD. But I realize that I need root privileges to make directory, and Transmission cant write to the partition, I tried chmod 777 on the mounting directory, but that couldn`t help. I`ve readed the manual of fstab, I tried some another configurations, but they didn`t work. I know there are many ways to give permission to transmission-daemon, but I would happy if I could do with the major of the work with properly configured auto-mount settings. Could you help what is the good fstab file configuration?

 

My configuration:
Banana PI
500GB Toshiba HDD

ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi

 

Thank you!

Well, let's clarify a point: BananaPi's "SATA" is more like a "USB-to-SATA" device, so it's not THAT fast.

That said, why don't you just keep your fstab the way it is and do a "chown -R <myuser>:<mygroup> /mnt/DataHDD", if you need your regular "myuser" user to do stuff inside of /mnt/DataHDD?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.