* 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
* Re: Exporting fs from a looped squashfs in linux
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
0 siblings, 0 replies; 2+ messages in thread
From: Phillip Lougher @ 2006-11-06 3:32 UTC (permalink / raw)
To: nfs
TGx1w61zIEJhdGxsZSBpIFJvc3NlbGwgPHZpcmlrZXRvIDxhdD4gZ21haWwuY29tPiB3cml0ZXM6
Cgo+IAo+IEhpLAo+IAo+IEknbSB0cnlpbmcgdG8gc2VydmUgYSBtb3VudGVkIGxvb3AtZmlsZXN5
c3RlbSAoc3F1YXNoZnMpIGZyb20gYSBsaW51eAo+IGJveCB0byBvdGhlciB1bml4ZXMuIEFuZCBp
dCBkb2Vzbid0IHdvcmsgZHVlIHRvIChJIHRoaW5rKSBzb21ldGhpbmcKPiByZWxhdGVkIHRvIC9w
cm9jL2ZzL25mcy9maWxlaGFuZGxlLgo+IAo+IFNvIHlvdSBjYW4gc2VlIHRoZSAiRVBFUk0iIHJl
bGF0ZWQgdG8gdGhlICdmaWxlaGFuZGxlJyBwcm9jIGZpbGUuIFdoYXQncwo+IGhhcHBlbmluZyBo
ZXJlPyBBbSBJIHVuYWJsZSB0byBleHBvcnQgYSBsb29wIHNxdWFzaGZzPwo+IAoKVGhlIHJlbGVh
c2VkIHZlcnNpb25zIG9mIFNxdWFzaGZzIGRvbid0IHN1cHBvcnQgTkZTIGV4cG9ydHMuICBJIGhh
dmUgYmVlbgp3b3JraW5nIG9uIG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18KTkZTIG1haWxsaXN0ICAtICBORlNAbGlzdHMuc291cmNlZm9yZ2UubmV0Cmh0dHBzOi8vbGlz
dHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL25mcwo=
^ 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.