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.

How to auto mount NAS after boot?

Featured Replies

I am running a Plex Media Server on a headless Orange Pi PC Plus with Armbian Ubuntu server.

So far I’ve been able to configure fstab on the server to mount the NAS at boot. That seems to work fine.

However, the problem I have is when I have a power failure and everthing reboots at the same time, the server boots before my NAS. I then have to ssh in and run “sudo mount -a”.

Is there a way to have the server detect and mount the NAS whenever it’s available to the network?

2 hours ago, Nimbus78 said:

I am running a Plex Media Server on a headless Orange Pi PC Plus with Armbian Ubuntu server.

So far I’ve been able to configure fstab on the server to mount the NAS at boot. That seems to work fine.

However, the problem I have is when I have a power failure and everthing reboots at the same time, the server boots before my NAS. I then have to ssh in and run “sudo mount -a”.

Is there a way to have the server detect and mount the NAS whenever it’s available to the network?

you could try to create a script which does check the mounts and create a auto-mount in cron every minute if isnt mounted.
take a look here for commands:

https://serverfault.com/questions/50585/whats-the-best-way-to-check-if-a-volume-is-mounted-in-a-bash-script

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.