A segment cannot be larger than 5Gb
sioban opened this issue · 15 comments
Hi,
I cannot use anymore Hubicfuse, I get the answer "A segment cannot be larger than 5Gb" even with no parameters.
# hubicfuse --help
A segment cannot be larger than 5Gb
The only thing that come in mind is that I've updated my kernel yesterday (4.3.3 to 4.3.5).
I've tried recompiling / reinstalling hubicfuse with no success.
Any idea ?
Do you have a segment size specified in your ~/.hubicfuse ?
A recent check (Feb 2 2016) has been added into hubicfuse to detect segment larger than what is supported on HubiC.
nope I have nothing specificed
Should I ?
Well you have something specified in .hubicfuse, right? At least client_id, client_secret and refresh_token?
Yes I have these one.
Until the reboot of the server because of new kernel, hubicfuse was working fine.
This is really strange! You haven't change the hubicfuse source then? I would have say that you should recompile hubicfuse after a kernel change but you've already done that!
Is that a 32bit or 64bit OS?
You may want to define segment_size and segment_above in your .hubicfuse. Something like:
segment_size=1073741824
segment_above=2147483000
Does it works? If yes, can you test with:
segment_above=2147483647
Thanks.
32bits
Tried the two configuration variable with no success
can I produce some logs to have something more verbose ?
Have you tried first the segment_size and segment_above proposed above?
yes but it fails with same error
Same error message?
So, try running hubicfuse with -d (debug) option:
$ hubicfuse -d /your/mount/point
# hubicfuse -d /mnt/hubic
A segment cannot be larger than 5Gb
Does it put logs somewhere or it should be on screen ?
It should be on the console, so the error is very very early when reading the parameters. Let me review the code!
I've just pushed a quick fix. Can you try again?
it solved the problem.
Should I remove segment_size and segment_above ?
Yes, you should remove them it and keep the default as it was before.