Aaron Knister
2007-Jan-08 08:02 UTC
[Lustre-discuss] exporting lustre subdirectory via nfs
Hi, I have found that when I mount via nfs a subdirectory of a lustre file system I get the message posted below (plus it doesnt work). Example- /disk/data /disk is the lustre file system and /disk/data is the directory I want to export. I can export /disk just fine but I really only want to export /disk/data for some security reasons. Message found in /var/log/messages-- LustreError: 4539:0:(ldlm_lock.c:82:ldlm_it2str()) Unknown intent -2145573515 LustreError: 4539:0:(dcache.c:290:ll_frob_intent()) ASSERTION(it- >it_magic == INTENT_MAGIC) failed:bad intent magic: 802db80 LustreError: 4539:0:(dcache.c:290:ll_frob_intent()) LBUG Lustre: 4539:0:(linux-debug.c:156:libcfs_debug_dumpstack()) showing stack for process 4539 rpc.mountd R running task 0 4539 1 4612 4535 (NOTLB) 000001000117a030 ffffffff801d037b 0000000045a25af1 000000000b6bd680 000000d272cf7110 0000000000000246 0000000000000256 0000010000013780 0000000000000000 00000000000000d2 Call Trace:<ffffffff801d037b>{inode_has_perm+89} <ffffffff801cf5b4> {avc_has_perm+70} <ffffffff801d2575>{selinux_file_permission+298} <ffffffffa0149a5d>{:sunrpc:cache_write+186} <ffffffff80177424>{vfs_write+207} <ffffffff8017750c>{sys_write +69} <ffffffff8011026a>{system_call+126} LustreError: dumping log to /tmp/lustre-log-crew01.iges.org. 1168268017.4539 Lustre: 4539:0:(linux-debug.c:96:libcfs_run_upcall()) Invoked LNET upcall /usr/lib/lustre/lnet_upcall LBUG,/testsuite/tmp/lbuild-boulder/ lbuild-v1_4_7_3-2.6-rhel4-x86_64/lbuild/BUILD/lustre-1.4.7.3/lustre/ llite/dcache.c,ll_frob_intent,290
Alexey Lyashkov
2007-Jan-08 09:27 UTC
[Lustre-discuss] exporting lustre subdirectory via nfs
Hi Aaron, this bug fixed already in bug #10935, but if you want to reexport lustre mount in nfs you want apply also fixes from bug #10796. If bug still exist after apply both patchess, please write to list or fill bugzilla bug. On Mon, 2007-01-08 at 17:00, Aaron Knister wrote:> Hi, > I have found that when I mount via nfs a subdirectory of a lustre > file system I get the message posted below (plus it doesnt work). > > Example- > > /disk/data > > /disk is the lustre file system and /disk/data is the directory I > want to export. I can export /disk just fine but I really only want > to export /disk/data for some security reasons. > > Message found in /var/log/messages-- > > LustreError: 4539:0:(ldlm_lock.c:82:ldlm_it2str()) Unknown intent > -2145573515 > LustreError: 4539:0:(dcache.c:290:ll_frob_intent()) ASSERTION(it- > >it_magic == INTENT_MAGIC) failed:bad intent magic: 802db80 > LustreError: 4539:0:(dcache.c:290:ll_frob_intent()) LBUG > Lustre: 4539:0:(linux-debug.c:156:libcfs_debug_dumpstack()) showing > stack for process 4539 > rpc.mountd R running task 0 4539 1 4612 > 4535 (NOTLB) > 000001000117a030 ffffffff801d037b 0000000045a25af1 000000000b6bd680 > 000000d272cf7110 0000000000000246 0000000000000256 > 0000010000013780 > 0000000000000000 00000000000000d2 > Call Trace:<ffffffff801d037b>{inode_has_perm+89} <ffffffff801cf5b4> > {avc_has_perm+70} > <ffffffff801d2575>{selinux_file_permission+298} > <ffffffffa0149a5d>{:sunrpc:cache_write+186} > <ffffffff80177424>{vfs_write+207} <ffffffff8017750c>{sys_write > +69} > <ffffffff8011026a>{system_call+126} > LustreError: dumping log to /tmp/lustre-log-crew01.iges.org. > 1168268017.4539 > Lustre: 4539:0:(linux-debug.c:96:libcfs_run_upcall()) Invoked LNET > upcall /usr/lib/lustre/lnet_upcall LBUG,/testsuite/tmp/lbuild-boulder/ > lbuild-v1_4_7_3-2.6-rhel4-x86_64/lbuild/BUILD/lustre-1.4.7.3/lustre/ > llite/dcache.c,ll_frob_intent,290 > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss-- Alexey Lyashkov <shadow@clusterfs.com> Beaver team