Jump to content

All my shares are gone, cannot create any


RNO

Recommended Posts

Hi everyone,

 

What a bad surprise tonight when I started my unraid 6.1.1 ans saw that all my user shares where gone.

I tried to created one again and the web gui keep telling me : Share xxx has been deleted.

I tried to shutdown and start again hoping for a fix ... nothing

I tried to upgarde to the latest version 6.1.3  and it didn't fix anything.

I went in the flash directories in the boot/config/shares and found the cfg files for each shares.

none are mounted.

 

I am using :

Model: UnRaid 6 24 bays

M/B: Supermicro - X10SLM-F

CPU: Intel® Core™ i3-4130T CPU @ 2.90GHz

HVM: Enabled

IOMMU: Disabled

Cache: 128 kB, 512 kB, 3072 kB

Memory: 16384 MB (max. installable capacity 32 GB)

Network: eth0: 1000Mb/s - Full Duplex

Kernel: Linux 4.1.7-unRAID x86_64

OpenSSL: 1.0.1p

 

21 HDDs for DATA and a 8TB seagate for parity.

 

 

This is the log when I attempt to create a share :

 

Sep 25 23:37:02 Media logger: Updating templates... Updating info...

Sep 25 23:37:02 Media logger: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 490

Sep 25 23:37:02 Media logger: Couldn't create socket: [2] No such file or directory Done.

Sep 25 23:37:24 Media kernel: XFS (md2): xfs_log_force: error -5 returned.

Sep 25 23:37:54 Media kernel: XFS (md2): xfs_log_force: error -5 returned.

Sep 25 23:38:00 Media emhttp: shcmd (183): mkdir '/mnt/user/test' |& logger

Sep 25 23:38:00 Media logger: mkdir: cannot create directory '/mnt/user/test': Input/output error

Sep 25 23:38:00 Media emhttp: shcmd (184): :>/etc/samba/smb-shares.conf

Sep 25 23:38:00 Media emhttp: shcmd (185): cp /etc/exports- /etc/exports

Sep 25 23:38:00 Media avahi-daemon[12402]: Files changed, reloading.

Sep 25 23:38:00 Media emhttp: Restart SMB...

Sep 25 23:38:00 Media emhttp: shcmd (186): killall -HUP smbd

Sep 25 23:38:00 Media emhttp: shcmd (187): cp /etc/avahi/services/smb.service- /etc/avahi/services/smb.service

Sep 25 23:38:00 Media avahi-daemon[12402]: Files changed, reloading.

Sep 25 23:38:00 Media avahi-daemon[12402]: Service group file /services/smb.service changed, reloading.

Sep 25 23:38:00 Media emhttp: shcmd (188): pidof rpc.mountd &> /dev/null

Sep 25 23:38:00 Media emhttp: Start NFS...

Sep 25 23:38:00 Media emhttp: shcmd (189): /etc/rc.d/rc.nfsd start |& logger

Sep 25 23:38:00 Media emhttp: shcmd (190): /etc/rc.d/rc.atalk status

Sep 25 23:38:00 Media avahi-daemon[12402]: Service "Media" (/services/smb.service) successfully established.

 

I have attached the diagnostics zip file

 

What Can I do ?

shares.PNG.4f675aa0a4724d1365e9f27266d9ce59.PNG

media-diagnostics-20150925-2352.zip

Link to comment

Thank you for your input.

 

I already tried it.

There are so many errors on that disk (I was previously trying to remove that disk, by moving the files on other HDDs and resetting the array but got into many troubles) that the check can't perform.

here is the report of the check -n

Try running it without the -n to fix the errors.
Link to comment

After the first pass I tried it but it couldn't perform.

 

Don't you think I can try removing the drive and retrieving the data from the array

Then make a new config without it

 

If the drive is faulty I prefer to discard it as soon as possible.

I have space left and it won't impact me

 

Link to comment

What is the user share issue you are talking about?

I cannot use the shares for I don't have any left ...

I will try this procedure

It seems I am not the only one who struggle with the latest updates

If you copy from a disk share to a user share, and the source and destination both resolve to the same thing (ie: /mnt/disk2/Movies/Movie/moviename copied to /mnt/user/Movies/Movie/moviename), the file will get corrupted, since ultimately the source and destination both resolve to be the same thing.

 

Alternatively, you also do a new config without disk2, then mount disk2 outside the array using the unassigned devices plugin and then copy the files also.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...