[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
addpath fails on cifs mounted shares
From: |
Paul Probert |
Subject: |
addpath fails on cifs mounted shares |
Date: |
Mon, 15 Nov 2010 22:33:20 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
Folks,
On octave 3.2.4, 32 bit Ubuntu 10.10 x86, I get a failure on a call
to addpath('/netmnt/some_shared_dir') where the path refers to a mounted
cifs share. The error is:
'warning: addpath: /netmnt/some_shared_dir: Value too large for defined
data type'
After a little googling, man paging, and testing, it seems the problem
is that a cifs (smbmount or mount.cifs) mounted share has 64 bit inode
numbers. If you add "noserverino" to the mount parameters for the share,
then addpath works.
The man page (man mount.cifs) says:
It is strongly recommended to compile your programs with LFS
support (i.e. with -D_FILE_OFFSET_BITS=64) to prevent this problem. You
can also use "noserverino" mount option to generate inode numbers
smaller than 2 power 32 on the client. But you may not be able to detect
hardlinks properly.
So, should octave developers be compiling with -D_FILE_OFFSET_BITS=64 ?
Paul Probert
University of Wisconsin
- addpath fails on cifs mounted shares,
Paul Probert <=