Can't create new disk image grater than 2 GB

Re: Can't create new disk image grater than 2 GB

Postby Jocko » Sun May 19, 2013 10:14 am

Ok I go to change the code but I don't remember if I did a change about this point.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't create new disk image grater than 2 GB

Postby fvdw » Sun May 19, 2013 10:31 am

no..no..no.. it is ok that code is till there

the problem is the function "file_exists" that gives wrong reurn for files gretar then 2.2 TB due to 32 bits limit of internal php function.
We need an alternative to detect if file is present
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Can't create new disk image grater than 2 GB

Postby Jocko » Sun May 19, 2013 10:37 am

fvdw wrote:no..no..no.. it is ok that code is still there

the problem is the function "file_exists" that gives wrong return for files greater than 2.2 TB due to 32 bits limit of internal php function.
We need an alternative to detect if file is present


Done :-D

I will post my change on our forum
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't create new disk image grater than 2 GB

Postby Jocko » Sun May 19, 2013 12:22 pm

A fix is available in the firmware download forum :
Known bug in USB_extras menu
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't create new disk image grater than 2 GB

Postby frikzy » Sun May 19, 2013 6:42 pm

That was really quick response. I am amazed.
I applied patch succesfully. When I click on Usb-Extras I can't see any buttons. Only a message: "Current System Status: execution command, please wait..."

And something about web interface. In MS Internet explorer everything works fine. In Chrome there is no slider control in Usb-Extras and buttons are not grey. In Firefox, generally window height is too small (you have to scroll up and down), but everything works OK.

Little more efforts please... :please

Thank you once again for your response.
frikzy
Donator VIP
Donator VIP
 
Posts: 13
Joined: Mon Feb 27, 2012 9:06 pm

Re: Can't create new disk image grater than 2 GB

Postby Jocko » Sun May 19, 2013 7:00 pm

frikzy wrote:And something about web interface. In MS Internet explorer everything works fine. In Chrome there is no slider control in Usb-Extras and buttons are not grey. In Firefox, generally window height is too small (you have to scroll up and down), but everything works OK.


Please post what are the version of your browsers ?

I can say there is no issue with the last version of FF but indeed there is an error with Chrome. Need some time to understand why...

Could you post a screen capture with FF what you write is amazing

Please what was the message after installing the patch (note : you can repeat)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't create new disk image grater than 2 GB

Postby fvdw » Sun May 19, 2013 7:27 pm

I applied the patch once more using webinterface and the menu (USB extras) works ok

Close your browser and open it again the clear cache can help, maybe it use the old file ihat is till in cache
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Can't create new disk image grater than 2 GB

Postby frikzy » Sun May 19, 2013 7:35 pm

My Firefox was 2.0.0.20
Chrome 26.0.1410.64 m
IE 8.0.6001.17802
Windows XP SP3

I just upgraded FF to 21.0 and tried again to apply patch.
The message was: Current System Status: OK: Install patch successful
When I click on Usb-Extras, there is a short message: execution command, please wait.., and after that "No alert", but still no buttons and slider controll in Usb-Extras, just empty window.
frikzy
Donator VIP
Donator VIP
 
Posts: 13
Joined: Mon Feb 27, 2012 9:06 pm

Re: Can't create new disk image grater than 2 GB

Postby fvdw » Sun May 19, 2013 7:37 pm

did you close the browser after applying the patch and then open it again ?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Can't create new disk image grater than 2 GB

Postby fvdw » Sun May 19, 2013 7:38 pm

screenshot from my system
disk5.JPG
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 6 guests