Re: Deploying a pNFS / LAYOUT4_BLOCK_VOLUME configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux