February 4, 20224 yr 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? Edited February 4, 20224 yr by paululibro
February 4, 20224 yr 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.