2006-01-10 15:34:48

by [email protected]

[permalink] [raw]
Subject: Searching NFS Archives

Hi all,

I tried to search the archives of NFS-Lists; my Firefox browser asserts
that 'The Document contains no data'. How can I get some info on my
access problems of windows office programmes (over Samba) and OpenOffice
(direct NFS Client) on a NFS Server installed with the purchased box
version of Novell's SUSE 10.0?

:-)
Al



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2006-01-10 15:42:38

by Vincent Roqueta

[permalink] [raw]
Subject: Re: Searching NFS Archives

Le Mardi 10 Janvier 2006 16:34, Al Active a =E9crit=A0:
> Hi all,
>
> I tried to search the archives of NFS-Lists; my Firefox browser asserts
> that 'The Document contains no data'.=20
works for me:
http://sourceforge.net/mailarchive/forum.php?forum=3Dnfs

> How can I get some info on my=20
> access problems of windows office programmes (over Samba) and OpenOffice
> (direct NFS Client) on a NFS Server installed with the purchased box
> version of Novell's SUSE 10.0?

I don't understand what you are trying to do?
Samba clients can't access a NFS server...

Vincent


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-10 16:23:21

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

Thanx for answering Vincent

On Tue, 2006-01-10 at 16:45 +0100, Vincent Roqueta wrote:
> Le Mardi 10 Janvier 2006 16:34, Al Active a =C3=A9crit :
> works for me:
> http://sourceforge.net/mailarchive/forum.php?forum=3Dnfs

I still can't open it ??

>=20
> I don't understand what you are trying to do?
> Samba clients can't access a NFS server...

No, I have one central SuSE Linux 10.0 server cluster for all data. It
exports NFS shares to a number of NFS-Servers. The NFS-Servers are also
clusters with heartbeat; one for Samba, another for Apache, another for
ERP. The Samba server, for eg. receives all data shares from the central
data cluster for a windows network over the NFS-Shares. =20

Data-Cluster =20
NFS Shares Export
|
|
v
|--1GB-IP--|
| |______________________
| |
v v
NFS-Shares Import (Other Servers)
NFS-Server Cluster
(w/Samba)
SMB-Shares
^
|
v
|--100MB-IP--|
^
|
v
Windows Network

I can not write to Windows Office products over SMB shares in the
Windows Network on the Samba Server, and not with OpenOffice products on
directly on the NFS-Server shares. Text and script files can be edited.
OO can edit on the Data-Cluster mounted devices. The NFS-Export seems to
limit access to read only of eg. *.doc, *.rtf, *.xls files etc., also
then limiting access by Samba.

I am busy reading the NFS How-To to check the Server & Client setups. I
have an older system that does not have the problem. I will explain my
problem in more detail when I am through. Thanx.

>=20
> Vincent
>=20


:-)
Al



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-10 19:35:08

by Garrick Staples

[permalink] [raw]
Subject: Re: Searching NFS Archives

On Tue, Jan 10, 2006 at 05:23:10PM +0100, Al Active alleged:
> Thanx for answering Vincent
>
> On Tue, 2006-01-10 at 16:45 +0100, Vincent Roqueta wrote:
> > Le Mardi 10 Janvier 2006 16:34, Al Active a ??crit :
> > works for me:
> > http://sourceforge.net/mailarchive/forum.php?forum=nfs
>
> I still can't open it ??
>
> >
> > I don't understand what you are trying to do?
> > Samba clients can't access a NFS server...
>
> No, I have one central SuSE Linux 10.0 server cluster for all data. It
> exports NFS shares to a number of NFS-Servers. The NFS-Servers are also
> clusters with heartbeat; one for Samba, another for Apache, another for
> ERP. The Samba server, for eg. receives all data shares from the central
> data cluster for a windows network over the NFS-Shares.

Be careful with the terminology. It is confusing to call machines that
don't serve NFS, "NFS-Servers." The SuSE box is the "NFS server", the
other machines are "NFS clients" and "Samba servers".

--
Garrick Staples, Linux/HPCC Administrator
University of Southern California


Attachments:
(No filename) (1.04 kB)
(No filename) (189.00 B)
Download all attachments

2006-01-11 09:15:29

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

Hello Vincent,

On Wed, 2006-01-11 at 09:24 +0100, Al Active wrote:=20
> On Tue, 2006-01-10 at 17:45 +0100, Vincent Roqueta wrote:
> > Le Mardi 10 Janvier 2006 17:23, Al Active a =C3=A9crit :
>=20
> >=20
> > What are the export options, both on data cluster and NFS-Server Clu=
ster ?
> > Can you test Data Cluster to NFS-Shares Import read write access fir=
st ?
> >=20
> > Vincent
> >=20


OK, I checked following:

On the Data-Cluster as NFS-Server exporting the Data:

- Directly on the /Data directory (mounted from the /dev/drbd0 primary)
All read and writes possible with OpenOffice2 (OO2)
and Linux's Text Editor (clu1 & root)
/Data/Transfer/: chown clu1:users document.doc
/Data/Transfer/: chmod 777 document.doc
/Data/Transfer/: ls -l document.doc=20
-rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc=20
=20
- Exports from the Data-Cluster as NFS-Server:
/Data/NFS-Server/ *(rw,root_squash,sync)=20

On the NFS-Client:

- /Export/NFS-Server/Transfer/> ls -l document.doc
-rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc

- mount
192.168.0.174:/Data/NFS-Server on /Export/NFS-Server type nfs
(rw,addr=3D192.168.0.174)

Editing any plain text document works (local clu1 & root)
Editing document.doc with OO2 error message:
General input/output error while=20
accessing /Export/NFS-Server/Transfer/document.doc

This error is true for all Microsoft documents (Word, Excel & Access)
that produces the error, even when I open it with OO2 on the NFS-Client
directly as well.

Only if this problem gets solved, I can look further at the Samba share
error in the windows network (which will probably also be caused by this
error)

Can it be something of an incompatibility between the users of the
NFS-Server and NFS-Client, even if clu1 has the same UID: 1001 and
member of the same groups on both of the two systems? Why only with the
Microsoft Office Data Files?

:-)
Al



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 10:37:16

by Vincent Roqueta

[permalink] [raw]
Subject: Re: Searching NFS Archives

Le Mercredi 11 Janvier 2006 10:15, Al Active a =C3=A9crit=C2=A0:
> Hello Vincent,
>
> On Wed, 2006-01-11 at 09:24 +0100, Al Active wrote:
> > On Tue, 2006-01-10 at 17:45 +0100, Vincent Roqueta wrote:
> > > Le Mardi 10 Janvier 2006 17:23, Al Active a =C3=A9crit :
> > >
> > >
> > > What are the export options, both on data cluster and NFS-Server
> > > Cluster ? Can you test Data Cluster to NFS-Shares Import read write
> > > access first ?
> > >
> > > Vincent
>
> OK, I checked following:
>
> On the Data-Cluster as NFS-Server exporting the Data:
>
> - Directly on the /Data directory (mounted from the /dev/drbd0 primary)
> All read and writes possible with OpenOffice2 (OO2)
> and Linux's Text Editor (clu1 & root)
> /Data/Transfer/: chown clu1:users document.doc
> /Data/Transfer/: chmod 777 document.doc
> /Data/Transfer/: ls -l document.doc
> -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
>
> - Exports from the Data-Cluster as NFS-Server:
> /Data/NFS-Server/ *(rw,root_squash,sync)
>
> On the NFS-Client:
>
> - /Export/NFS-Server/Transfer/> ls -l document.doc
> -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
>
> - mount
> 192.168.0.174:/Data/NFS-Server on /Export/NFS-Server type nfs
> (rw,addr=3D192.168.0.174)
>
> Editing any plain text document works (local clu1 & root)
> Editing document.doc with OO2 error message:
> General input/output error while
> accessing /Export/NFS-Server/Transfer/document.doc
>
> This error is true for all Microsoft documents (Word, Excel & Access)
> that produces the error, even when I open it with OO2 on the NFS-Client
> directly as well.

That is quite strange...
Which kernel version are you using?
Is there something "special" on machine (cpu, 64bits ...)

> Only if this problem gets solved, I can look further at the Samba share
> error in the windows network (which will probably also be caused by this
> error)

True

> Can it be something of an incompatibility between the users of the
> NFS-Server and NFS-Client, even if clu1 has the same UID: 1001 and
> member of the same groups on both of the two systems? Why only with the
> Microsoft Office Data Files?

That should not be the case... and even if there was a problem at this poin=
t,
the error must be "permission denied", not "I/O error", which reflect an
internal NFS problem.

I suppose you are running nfsv3, can you try with the v4 one? (last versions
are much more reliables than v3 ones... )

Also, you should have interresting messages in the /var/log/message on NFS
client and/or server

Cordialement,
Vincent

=2D------------------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 10:51:21

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

On Wed, 2006-01-11 at 11:40 +0100, Vincent Roqueta wrote:
> Le Mercredi 11 Janvier 2006 10:15, Al Active a =C3=A9crit :
> > Hello Vincent,
> >
> > On Wed, 2006-01-11 at 09:24 +0100, Al Active wrote:
> > > On Tue, 2006-01-10 at 17:45 +0100, Vincent Roqueta wrote:
> > > > Le Mardi 10 Janvier 2006 17:23, Al Active a =C3=A9crit :
> > > >
> > > >
> > > > What are the export options, both on data cluster and NFS-Server
> > > > Cluster ? Can you test Data Cluster to NFS-Shares Import read wr=
ite
> > > > access first ?
> > > >
> > > > Vincent
> >
> > OK, I checked following:
> >
> > On the Data-Cluster as NFS-Server exporting the Data:
> >
> > - Directly on the /Data directory (mounted from the /dev/drbd0 primar=
y)
> > All read and writes possible with OpenOffice2 (OO2)
> > and Linux's Text Editor (clu1 & root)
> > /Data/Transfer/: chown clu1:users document.doc
> > /Data/Transfer/: chmod 777 document.doc
> > /Data/Transfer/: ls -l document.doc
> > -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
> >
> > - Exports from the Data-Cluster as NFS-Server:
> > /Data/NFS-Server/ *(rw,root_squash,sync)
> >
> > On the NFS-Client:
> >
> > - /Export/NFS-Server/Transfer/> ls -l document.doc
> > -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
> >
> > - mount
> > 192.168.0.174:/Data/NFS-Server on /Export/NFS-Server type nfs
> > (rw,addr=3D192.168.0.174)
> >
> > Editing any plain text document works (local clu1 & root)
> > Editing document.doc with OO2 error message:
> > General input/output error while
> > accessing /Export/NFS-Server/Transfer/document.doc
> >
> > This error is true for all Microsoft documents (Word, Excel & Access)
> > that produces the error, even when I open it with OO2 on the NFS-Clie=
nt
> > directly as well.
>=20
> That is quite strange...
> Which kernel version are you using?
> Is there something "special" on machine (cpu, 64bits ...)

I am using Novell's SUSE 10.0 purchased Boxed Version. Kernel:

uname -a
Linux L10... 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

As you can see it is a standard kernel on a x86_64 system

>=20
> > Only if this problem gets solved, I can look further at the Samba sha=
re
> > error in the windows network (which will probably also be caused by t=
his
> > error)
>=20
> True
>=20
> > Can it be something of an incompatibility between the users of the
> > NFS-Server and NFS-Client, even if clu1 has the same UID: 1001 and
> > member of the same groups on both of the two systems? Why only with t=
he
> > Microsoft Office Data Files?
>=20
> That should not be the case... and even if there was a problem at this =
point,
> the error must be "permission denied", not "I/O error", which reflect a=
n
> internal NFS problem.

I hope it is that simple...

>=20
> I suppose you are running nfsv3, can you try with the v4 one? (last ver=
sions
> are much more reliables than v3 ones... )
>=20

I am using the one with the above kernel. How do I find out which
version it is? From the /var/log/messages I see:
"Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory"; I
take it to be v4 then.

> Also, you should have interresting messages in the /var/log/message on =
NFS
> client and/or server
>=20

No messages on the NFS-Server regarding the problem.

On the Client:
Jan 11 11:40:21 L10 kcheckpass[3207]: Authentication failure for clu1
(invoked by uid 1001)=20
Jan 11 11:41:45 L10 su: (to root) clu1 on /dev/pts/6
Jan 11 11:43:10 L10 syslog-ng[3681]: STATS: dropped 88

The passwords are the same on both machines.

> Cordialement,
> Vincent


Regards,
:-)
Al




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 11:25:05

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

On Wed, 2006-01-11 at 11:51 +0100, Al Active wrote:
> On Wed, 2006-01-11 at 11:40 +0100, Vincent Roqueta wrote:

> I am using the one with the above kernel. How do I find out which
> version it is? From the /var/log/messages I see:
> "Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory"; I
> take it to be v4 then.
>

Something else from the messages, when I look at the next line. Can this
mean something?

...
Jan 11 10:14:09 L10 kernel: NFSD: Using /var/lib/nfs/v4recovery as the
NFSv4 state recovery directory
Jan 11 10:14:09 L10 kernel:
NFSD: recovery directory /var/lib/nfs/v4recovery doesn't exist
^^^^^^^^^^^^^
Jan 11 10:14:09 L10 kernel: NFSD: starting 90-second grace period
...

:-)
Al




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 11:28:08

by Vincent Roqueta

[permalink] [raw]
Subject: Re: Searching NFS Archives

Le Mercredi 11 Janvier 2006 11:51, Al Active a =C3=A9crit=C2=A0:
> On Wed, 2006-01-11 at 11:40 +0100, Vincent Roqueta wrote:
> > Le Mercredi 11 Janvier 2006 10:15, Al Active a =C3=A9crit :
> > > Hello Vincent,
> > >
> > > On Wed, 2006-01-11 at 09:24 +0100, Al Active wrote:
> > > > On Tue, 2006-01-10 at 17:45 +0100, Vincent Roqueta wrote:
> > > > > Le Mardi 10 Janvier 2006 17:23, Al Active a =C3=A9crit :
> > > > >
> > > > >
> > > > > What are the export options, both on data cluster and NFS-Server
> > > > > Cluster ? Can you test Data Cluster to NFS-Shares Import read
> > > > > write access first ?
> > > > >
> > > > > Vincent
> > >
> > > OK, I checked following:
> > >
> > > On the Data-Cluster as NFS-Server exporting the Data:
> > >
> > > - Directly on the /Data directory (mounted from the /dev/drbd0 primar=
y)
> > > All read and writes possible with OpenOffice2 (OO2)
> > > and Linux's Text Editor (clu1 & root)
> > > /Data/Transfer/: chown clu1:users document.doc
> > > /Data/Transfer/: chmod 777 document.doc
> > > /Data/Transfer/: ls -l document.doc
> > > -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
> > >
> > > - Exports from the Data-Cluster as NFS-Server:
> > > /Data/NFS-Server/ *(rw,root_squash,sync)
> > >
> > > On the NFS-Client:
> > >
> > > - /Export/NFS-Server/Transfer/> ls -l document.doc
> > > -rwxrwxrwx 1 clu1 users 117762006-01-11 08:48 document.doc
> > >
> > > - mount
> > > 192.168.0.174:/Data/NFS-Server on /Export/NFS-Server type nfs
> > > (rw,addr=3D192.168.0.174)
> > >
> > > Editing any plain text document works (local clu1 & root)
> > > Editing document.doc with OO2 error message:
> > > General input/output error while
> > > accessing /Export/NFS-Server/Transfer/document.doc
> > >
> > > This error is true for all Microsoft documents (Word, Excel & Access)
> > > that produces the error, even when I open it with OO2 on the NFS-Clie=
nt
> > > directly as well.
> >
> > That is quite strange...
> > Which kernel version are you using?
> > Is there something "special" on machine (cpu, 64bits ...)
>
> I am using Novell's SUSE 10.0 purchased Boxed Version. Kernel:
>
> uname -a
> Linux L10... 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 x86_64
> x86_64 x86_64 GNU/Linux
>
> As you can see it is a standard kernel on a x86_64 system

The kernel is a 64bits one running on x86_64 using the 32 bits emulation fo=
r=20
userland libs, right?
That looks like a fs/compat.c problem we had on the client...



> I am using the one with the above kernel. How do I find out which
> version it is? From the /var/log/messages I see:
> "Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory"; I
> take it to be v4 then.
>
> Jan 11 10:14:09 L10 kernel: NFSD: Using /var/lib/nfs/v4recovery as the
> NFSv4 state recovery directory
> Jan 11 10:14:09 L10 kernel:=20
> NFSD: recovery directory /var/lib/nfs/v4recovery doesn't exist
^^^^^^^^^^^^^
> Jan 11 10:14:09 L10 kernel: NFSD: starting 90-second grace period

Well, if you didn't specifie nfs4 at mount time, then you are using the v3,=
=20
even if the v4 server have been started at boot time.
Don't worry for this messages.


Can you try to test using the v4 version (exports your /export directory wi=
th=20
the fsid=3D0 option and mount -t nfs4 nfs-server:/ /mount/point/ )

Vincent


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 11:39:44

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

On Wed, 2006-01-11 at 12:24 +0100, Al Active wrote:
> On Wed, 2006-01-11 at 11:51 +0100, Al Active wrote:
> >

Won't it be appropriate to also change the Subject line with something
related to the problem? Like:

"NFS4 & SUSE 10.0 Boxed Version access rights problem with Windows
Files"

- The original will not help with a search on topics in the archives.
The original problem of reading the archives has cleared by itself:
[email protected] works now for me too.

:-)
Al



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-11 13:22:07

by [email protected]

[permalink] [raw]
Subject: Re: Searching NFS Archives

On Wed, 2006-01-11 at 12:30 +0100, Vincent Roqueta wrote:

>
> Can you try to test using the v4 version (exports your /export directory with
> the fsid=0 option and mount -t nfs4 nfs-server:/ /mount/point/ )
>
> Vincent
>

On the NFS-Server, I did the /etc/exports with fsid=0 option

:: exports ::

/Data/NFS-Server/ *(rw,fsid=0,root_squash,sync)
...

and restarted "rcnfsserver restart" and "exportfs -r"; but I do not know
if the fsid=0 is active or not. How can I determine that? nfsstat only
delivers v2 & v3 stats for server and client though.

Adding the option nfs4 in the fstab of the NFS-Client in place of the
existing 'nfs' on the client initially causes an error with 'mount -a' =
"can't read superblock". With the 'nfs' option it still worked.

:: fstab ::
...
192.168.0.124:/Data/NFS-Server /Export/NFS-Server nfs4 defaults 0 0
...

I tried again after a new start of the system with the nfs4 option and
now it seems to mount normally. I'm not sure if it is nfs4, because the
'mount' command only shows nfs and nfsstat shows nfs2 & nfs3 as file
system.

With nfsstat -c I only see nfs client v2 & v3. How do I get client v4 up
and running?

:-)
Al



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs