All of lore.kernel.org
 help / color / mirror / Atom feed
* Exporting fs from a looped squashfs in linux
@ 2006-11-04 22:14 Lluís Batlle i Rossell
  2006-11-06  3:32 ` Phillip Lougher
  0 siblings, 1 reply; 2+ messages in thread
From: Lluís Batlle i Rossell @ 2006-11-04 22:14 UTC (permalink / raw)
  To: nfs


[-- Attachment #1.1: Type: text/plain, Size: 1490 bytes --]

Hi,

I'm trying to serve a mounted loop-filesystem (squashfs) from a linux
box to other unixes. And it doesn't work due to (I think) something
related to /proc/fs/nfs/filehandle.

The server, on mount, says only (mountd with -d all)
Nov  4 23:05:11 llimona rpc.mountd: MNT3(/nfs/sparc/netbsd/usr/) called
Nov  4 23:05:11 llimona rpc.mountd: authenticated mount request from
mandarina:872 for /nfs/sparc/netbsd/usr (/nfs/sparc/netbsd/usr)

The client, on mount says only:
mount: llimona:/nfs/sparc/netbsd/usr/ failed, reason given by server:
S'ha denegat el permís
(That is, Permission Denied)

I've straced a foreground rpc.mountd, and I've seen the next:
open("/proc/fs/nfs/filehandle", O_RDWR) = 9
fstat64(9, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7efd000
write(9, "* /nfs/sparc/netbsd/usr 64 \n", 28) = -1 EPERM (Operation not
permitted)
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0xb7efd000, 4096)                = 0
sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(872),
sin_addr=inet_addr("192.168.1.33")},
msg_iov(1)=[{"\36\201\"\21\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
28}], msg_controllen=24, msg_control=0x805ce38, , msg_flags=0}, 0) = 28

So you can see the "EPERM" related to the 'filehandle' proc file. What's
happening here? Am I unable to export a loop squashfs?

Thanks in advance!

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3311 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-06  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-04 22:14 Exporting fs from a looped squashfs in linux Lluís Batlle i Rossell
2006-11-06  3:32 ` Phillip Lougher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.