Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

Shares are gone after changing user groups

Featured Replies

I was messing with my user groups to give it write rights to some dirs created by one Docker container. I did:

 

> groups pm
pm : users

> usermod -a -G root pm
> groups pm
pm : users root

> usermod -g root pm
> usermod -a -G users pm
> groups pm
pm : root users

> usermod -g users pm
> groups pm
pm : users root

 

After running the last usermod command all my shares are now inaccessible. And GUI shows none of them (attached image).

 

Listing content of /mnt directory:

> ls -la /mnt
/bin/ls: cannot access '/mnt/user': Input/output error
/bin/ls: cannot access '/mnt/user0': Input/output error
/bin/ls: cannot access '/mnt/disk1': Input/output error
total 16
drwxr-xr-x 12 root   root  240 Jan 20 16:05 ./
drwxr-xr-x 21 root   root  460 Jun 21  2020 ../
drwxrwxrwx  1 nobody users  80 Jan 23 22:45 cache/
d?????????  ? ?      ?       ?            ? disk1/
drwxrwxrwx 11 nobody users 166 Jan 31 12:19 disk2/
drwxrwxrwx 10 nobody users 151 Jan 23 22:45 disk3/
drwxrwxrwx 10 nobody users 151 Jan 23 22:45 disk4/
drwxrwxrwx 10 nobody users 151 Jan 23 22:45 disk5/
drwxrwxrwt  2 nobody users  40 Jan 20 16:05 disks/
drwxrwxrwt  2 nobody users  40 Jan 20 16:05 remotes/
d?????????  ? ?      ?       ?            ? user/
d?????????  ? ?      ?       ?            ? user0/

-ls -la /mnt/disk2
drwxrwxrwx 11 nobody users  166 Jan 31 12:19 ./
drwxr-xr-x 12 root   root   240 Jan 20 16:05 ../
drwxrwxrwx  7 nobody users  105 Jan 27 14:00 Backups/
drwxrwxr-x 16 nobody users 4096 Feb  3 20:12 Downloads/
drwxrwxrwx  9 nobody users  132 Dec 17 12:39 Files/
drwxrwxrwx  2 nobody users   51 Nov 26 09:14 Home/
drwxrwxrwx 29 nobody users 4096 Feb  4 02:47 Media/
drwxrwxrwx  4 nobody users   46 Jan 24 16:16 Photos/
drwxrwxrwx  2 nobody users    6 Jan 31 12:19 del/
drwxrwxrwx 10 nobody users 8192 Feb  2 12:09 sort/

 

All data is still there I just can't access it. How can I revert that?

 

image.png

Edited by paululibro

  • Author

I thought I deleted this thread. Yes, I fixed it 10 minutes after posting.

Restarted array without rebooting whole server, shares went back online. One disk was unmountable but xfs_repair fixed it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.