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.

Unable to create pool-only share (SOLVED)

Featured Replies

I'm using unRAID 6.9.

I have 2 pools: cache, and lone, each one with only 1 disk.

I tried for the first time to create a share (see screenshot) using the cache pool lone, but I have been unable to.

This is the error I see in the syslog:

 

May 15 14:16:11 Tower emhttpd: shcmd (1409): mkdir '/mnt/user/public'
May 15 14:16:11 Tower root: mkdir: cannot create directory '/mnt/user/public': No medium found
May 15 14:16:11 Tower emhttpd: shcmd (1409): exit status: 1
May 15 14:16:11 Tower emhttpd: shcmd (1410): rm '/boot/config/shares/public.cfg'

 

If I create a share using the array disks it just works.

I already tried several things, stopping-starting the array, restarting the server, creating the share using the other pool named cache, but nothing. I also search the forum for solutions, found similar threads, but all of them without a useful answer.

 

Why can't I create a pool-only share?

Screen Shot 2021-05-15 at 14.16.10.png

tower-diagnostics-20210515-1422.zip

Edited by stealth82
Marked as solved

  • Author

Yeah, that's a separate problem that just popped out now as I went through a cycle of stop start array, and there it was, a nice surprise...

I recovered the data, though I am not sure something got corrupt..., and reinitialized the drive, I will have to copy data back to it.

 

I tried to change from cache only to cache prefer and I was finally able to create the shares. Only... it's now writing exclusively to disk1 of the array and never to the pool. Moreover I have data in the pool disk that should fall under the user share and it doesn't show anything!! What's going on???

tower-diagnostics-20210515-1853.zip

Edited by stealth82

Not quite sure right now.  But, you also want to stop exposing the SSH port directly to the internet.  Not a great idea unless you know what you're doing.

  • Author

😞

 

I'll keep on trying.

 

Regarding the ssh, yes, it's hardened and root is not password enabled from outside.

Edited by stealth82

  • Author

OK, I believe it's the same problem. It's writing on disk1 because it can't do it in any of the pools.

That's why the only-cache type of share can't be created whereas the prefer does; it's able to create it on disk1 of the array while failing to do it on the pool disk but at least it can "deal with that".

 

At the same time shfs - is this the process that shows all the disk folders as one under /mnt/user, right? - isn't able to read data from any of the pool disk directories. And yet the webGUI is able to show it (see attached screenshots).

 

Screen Shot 2021-05-15 at 20.34.34.png

Screen Shot 2021-05-15 at 20.34.41.png

Edited by stealth82

  • Author

OK, I solved the problem:

 

Thank you @Squid 😉, that was the answer!

 

  • Community Expert

There also some data corruption detected on disk4:

 

May 15 11:38:32 Tower kernel: BTRFS info (device md4): bdev /dev/md4 errs: wr 0, rd 0, flush 0, corrupt 25, gen 0

 

You can run a scrub to identify any corrupt data, also good idea to run a memtest.

  • Author

I had noticed that but thank you for pointing it out. That happened on a new disk I installed just the other day to replace one that started counting pending sectors last week. In conjunction with that I shrank the array by reassigning the pulled drive as a pool drive. So there’s been a lot of moving/copying while parity was also rebuilding. I think I should have gone for a less reckless approach and do things in sequence rather than in parallel…

 

I started the scrub process now. Hope everything will turn out well…

  • stealth82 changed the title to Unable to create pool-only share (SOLVED)

Archived

This topic is now archived and is 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.