From: DENIEL Philippe <philippe.deniel@cea.fr>
To: Jim Rees <rees@umich.edu>
Cc: Benny Halevy <bhalevy@panasas.com>,
peter honeyman <honey@citi.umich.edu>,
linux-nfs@vger.kernel.org
Subject: Re: Deploying a pNFS / LAYOUT4_BLOCK_VOLUME configuration
Date: Wed, 15 Sep 2010 16:26:23 +0200 [thread overview]
Message-ID: <4C90D78F.5000307@cea.fr> (raw)
In-Reply-To: <20100915140429.GA30887@merit.edu>
Hi Jim,
> The instructions are documented here:
> http://wiki.linux-nfs.org/wiki/index.php/PNFS_Block_Server_Setup_Instructions
>
I followed these instructions. Compiling the kernel is OK and so is
compilation of pnfs-nfs-utils . I run client and server on F13. They
both are virtual machines managed by virt-manager.
I used your start script to make one of my own (I had to change to
argument to tgtadm related to the ip name of the iscsi array) but it was ok.
The only issue I have is about the ctl program. It stops as soon as it
starts with this message:
# ./ctl -u
write: File exists
I then ran strace to know more about it and it showed this:
munmap(0x7f5c533ac000, 47451) = 0
*open("/proc/fs/pnfs_block/ctl", O_RDWR) = 3*
*write(3, "\1\0\0\0", 4) = -1 EEXIST (File exists)*
dup(2) = 4
fcntl(4, F_GETFL) = 0x8002 (flags
O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7f5c533b7000
lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(4, "write: File exists\n", 19write: File exists
) = 19
close(4) = 0
munmap(0x7f5c533b7000, 4096) = 0
exit_group(1) = ?
Apparently writing to /proc/fs/pnfs_block/ctl does not work. Do you have
an idea on what I should do to fix this ?
> I have added a section on the block layout client to the Fedora client setup
> wiki page:
>
> http://wiki.linux-nfs.org/wiki/index.php/Fedora_pNFS_Client_Setup
>
Is there a layoutdriver to modprobe on the client or is it embedded in
the kernel itself ?
Philippe
next prev parent reply other threads:[~2010-09-15 14:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 12:40 Deploying a pNFS / LAYOUT4_BLOCK_VOLUME configuration DENIEL Philippe
2010-09-14 14:04 ` Benny Halevy
2010-09-14 14:17 ` Jim Rees
2010-09-15 14:04 ` Jim Rees
2010-09-15 14:26 ` DENIEL Philippe [this message]
2010-09-15 14:42 ` Jim Rees
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C90D78F.5000307@cea.fr \
--to=philippe.deniel@cea.fr \
--cc=bhalevy@panasas.com \
--cc=honey@citi.umich.edu \
--cc=linux-nfs@vger.kernel.org \
--cc=rees@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.