15.1 and External USB disk docking station

Re: 15.1 and External USB disk docking station

Postby mdi » Sun Feb 23, 2014 2:07 pm

Hi Jocko,
many thanks! I'll be home to test it once ready. Thank you,
MDI
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

Re: 15.1 and External USB disk docking station

Postby Jocko » Sun Feb 23, 2014 3:33 pm

I sent you the draft patch on your pm.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 15.1 and External USB disk docking station

Postby mdi » Sun Feb 23, 2014 5:15 pm

Hi Jocko,
I tested like you said. Safely removed the drives, rebooted and connected again. /var/log/messages says nothing. The disks were correctly mounted on /mnt and /share/1000.

I rebooted again and they were again correctly mounted.
I would say that now, it perfectly works! :applause

The disks shares are mounted automatically with the right permissions setting that I defined for them.

What was finally the problem that you detected?

Thanks for helping and for your extraordinary availability!!
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

Re: 15.1 and External USB disk docking station

Postby mdi » Sun Feb 23, 2014 5:25 pm

I didn't notice before that there's a "MesPHP" new menu in the web interface.
I'm not sure, is that due to the patch or to the 15.1 firmware version?
It doesn't work. Clicking on TEST I get:
Not Found
The requested URL /myphp/share_folders_r.htm was not found on this server.

I can find this, instead:
/usr/htdocs/.share/share_folders_r.htm
...but there's nothing called myphp.

Not a problem, but I'm not sure if that's a debug menu which is now uncovered or if it has to actually work.

Thanks,
MDI
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

Re: 15.1 and External USB disk docking station

Postby Jocko » Sun Feb 23, 2014 5:32 pm

Thank for this feedback and I think this think the issue is fully fixed.

The first issue was the bad behavior of the command vol_id which detect ext4 as an ext3 partition.

But the main issue is that the usb disks were mounted too early:
In the current version 15.1, the udev daemon starts before mounting the internal disks (and so sda8 on /share/1000)

Then at booting, the firmware tried to mount the usb disk on a folder /share/1000 where as sda8 was not yet mounted...
So when the firmware mounts it, the bind USB partitions are no longer available on /share/1000...

Otherwise, there was also an issue with the bind partition : when you bind a mounted partition, the mount command seems to use the umask to set the permissions even if the mount point permissions are set at 777. So I added an additional chmod after binding.

For the main bug, I just started later the udev daemon...

About myphp, it's a custom menu for me : I added a wrong file. i go to send you the right file...
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 15.1 and External USB disk docking station

Postby Jocko » Sun Feb 23, 2014 5:40 pm

Attached an archive to remove the useless menu 'myphp'

Unzip the archive to fvdw share and in putty do
Code: Select all
cp /share/1000/fvdw/tabs.js /usr/htdocs/js


You must refresh the main frame of the web-interface (or better close all browser windows)
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 15.1 and External USB disk docking station

Postby mdi » Sun Feb 23, 2014 6:08 pm

Everything ok, Jocko thanks a lot!

Thank you again for all the time you spent on these in the last 3 days!

Now I have a perfect solution to backup my NAS on ext.USB disks to be safe in case of disaster. I had an external disk connected to the Router, but now I will use this docking station directly with the NAS.
Thank to you ;)
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

Re: 15.1 and External USB disk docking station

Postby Jocko » Sun Feb 23, 2014 6:17 pm

Laziness is a bad counselor in IT. :disapprove
Before releasing the firmware, I had noted that sometimes the firmware failed to remove properly the bound partition and I would have had to deepen this story ... without waiting for your feedback
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: 15.1 and External USB disk docking station

Postby mdi » Sun Feb 23, 2014 6:22 pm

Ok, but don't blame yourself. As long as you will provide such a good support, it is allowed (and human!) to go a bit faster than appropriate, sometimes. :)
If no data is lost, it's fine :)

At least, you solved my issue the 3rd day after I installed the new version. So, that's quite good, to be moderate!

You did great, thanks again! :)
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

Re: 15.1 and External USB disk docking station

Postby mdi » Wed Feb 26, 2014 9:20 am

Hi again,
in the last two days I've seen something strange.

After we fixed the issue with the disk mounts, the following days the disks were unmounted. yesterday I just reconnect them and checked that they were correctly mounted and recognized. All ok.

This morning, they were not mounted again.

I'm not sure if the external docking station, or the disks own spindown (if any, I'm not sure) or the NAS after a while make the disk unmounting....

Did you ever heard about such behavior? Now, I need to find a way to keep them mounted all the time.... :scratch
mdi
Donator VIP
Donator VIP
 
Posts: 193
Joined: Tue Oct 11, 2011 1:20 pm

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 5 guests