Samba export disapear after dead HDD replacement

Hello

Got a drive that gone down, after replacement, force mount in degraded, remove the bad one and put the new one in pool.
I have rebalanced the pool.

I have access to the share by smb, i see the config the /etc/samba/smb.conf

But in the GUI : No samba exports have been created

i manage to make modification from the conf file, but something is missing is guess !

Keep it up, i really begin to like this Rockstor !

Thanks for the report and liking Rockstor. We still have a long way to go.

So, there was a Samba export on the UI, but it disappeared after disk replacement and rebalance of the Pool? But the config in /etc/samba/smb.conf is intact?

This is really strange. I know you can reproduce the whole scenario with the disk replacement and all, but I think the disappearance of the samba export from the UI has nothing to do with disk and pool level matters. It would be great if you can reproduce it some other way or find some clues.

Hello

on reboot after HDD replacement (No hotswap), the pool doesn’t auto mount, got one error in pool management.

Failed to import any pool on this device(sdb). Error: Error running a
command. cmd = [’/bin/mount’, ‘/dev/disk/by-label/data’, ‘/mnt2/RAID5’].
rc = 32. stdout = [’’]. stderr = [‘mount: wrong fs type, bad option, bad
superblock on /dev/sdc,’, ’ missing codepage or helper program,
or other error’, ‘’, ’ In some cases useful info is found in
syslog - try’, ’ dmesg | tail or so.’, ‘’]

In Share Samba export i see nothing and in Share (Subvolume too)

After mount the degraded pool + remove / add and rebalance.
Pool come back ok, subvolume too but exported share still no shown on the UI, but the export work as the smb.conf is untouched.