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.

Unraid 5.0.5 refuses to create share.cfg for new shares

Featured Replies

I discovered this when the mover clobbered a directory that was set to cache only.  After digging, I found there was no .cfg for that share.  I then tried to create a few shares, and found that no .cfgs were created for the new shares. 

 

I've repaired by flash drive with testdisk (on a mac); it had some boot sector errors.  Before I declare bankruptcy and format and reinstall (assuming it has some errors on the flash drive), is there anything else I should check?

 

Many thanks!

find a windows machine and run chkdsk on your flash.....

 

it sounds like its in read-only mode

 

Myk

 

  • Author

find a windows machine and run chkdsk on your flash.....

 

it sounds like its in read-only mode

 

Myk

 

I'll do that, thanks. 

 

I know I'm in a minority, having only Mac and Linux machines, but is there really no comparable alternative on those platforms to chkdsk on Win? 

 

Cheers,

not that i know of for fa32

 

Myk

 

Use DISK UTILITY on the Mac.

Its called 'FAT', but its FAT32.

 

(you use a Terminal command to get FAT16)

  • Author

So I was able to get the drive plugged into Windows, which said something about checking the disk as soon as I plugged it in, so I ran it.  Nothing obvious came back, and nothing about read only, but I have since restored it to the Unraid and booted.  I created a new share using the UI, but no .cfg was created.  :(

 

Anything else you'd suggest?

 

Thanks!

Don't just 'repair'.  I'd reformat it again.

On PC or MAC.

Run Makebootable

Then copy over unRAID again.

 

Your first post says there were errors in the Boot Region of the flash.

If a reformat doesnt' fix it, I'd replace it.

 

 

  • Author

Ok, thanks. 

 

Is there a good way to copy over shares.cfgs following a format?  ...Or should I just not move the /boot/shares .cfg's when I reformat?  I want to have a consistent .cfg situation when I'm all done (able to be created, deleted, etc).

 

EDIT:  Can I manually create a .cfg for the missing cache only share?

 

 

Thank you!

  • Author

I'm considering not moving my /boot/shares folder over to the freshly formatted flash.  Will that force a creation of .cfgs, or can I trigger that by changing their configs once I boot up?  I'd like to rebuild 100% from fresh sources in case I keep moving over corrupted data.  Thoughts?

 

 

Probably going to tackle it this weekend.

No need to copy the file.

I think this is what should happen...and then what you need to do:

1. Right now, at the top level of physical disk1 and disk2, etc. there are folders.  There might be a folder called 'video_rips' at the top level of 2 of your data drives. Another drive might have a top level folder for TIMEMACHINE, etc.  Each of these is a 'User Share'

2. Without a user shares config, when you boot up, the top level of each physical drive is scanned for folders and a 'user share' is created for each folder. (if the same folder appears on several physical drives,only one 'user share' is created.)

 

...and so the 'shares' are 'back', but what's been lost are the individual SHARE SETTINGS appropriate to each. (include/exclude disks, Cache only, High water, etc. etc.)  Don't forget your end users and passwords.

You just need to methodically work your way through the GUI And set all the appropriate settings.

At the end, restart...just to be sure.

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.