linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Blocklayout
@ 2012-08-08 15:58 Johannes Schild
  2012-08-08 16:39 ` Blocklayout Jim Rees
  0 siblings, 1 reply; 16+ messages in thread
From: Johannes Schild @ 2012-08-08 15:58 UTC (permalink / raw)
  To: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]

Hi Guys,

i know, no one is using block-layout (it looks like ;D) and i also know that's not actively maintained, but i try to set up a block-layout server together with pnfs. 

i found these two wiki pages:

http://wiki.linux-nfs.org/wiki/index.php/PNFS_Block_Server_Setup_Instructions
http://wiki.linux-nfs.org/wiki/index.php/Fedora_pNFS_Client_Setup

till now i did the following:

setup Storage and client described in the howtos (using iscsi-storages).
i used parted to give labels to my devices and so on. Ctl-daemon is running on the server and i got following output:

[root@blkserver sbin]# /root/ctl/ctl -u
[root@blkserver sbin]# Processing: MSG_VERS    : Version: 8
Processing: MSG_VERS    : Version: 8
Processing: MSG_DMCHK   : DM Volume: True
Processing: MSG_DMGET   : Vol info: 0 6291456 striped 2 128 8:17 2048 8:33 2048
    major 8, minor 17
    major 8, minor 33
Processing: MSG_GETSIG  : get_sig: 8:17: get_sig: Got sig at: 1, within sector 56, len 16
    42 f6 2e 24 cc ed 69 46   8b cb 0b 82 fa 5a a4 1a   
Processing: MSG_GETSLICE: get_slice: 8:17: Dev: 8:17, Start: 34, Length: 4196285
Processing: MSG_GETSIG  : get_sig: 8:33: get_sig: Got sig at: 1, within sector 56, len 16
    8c 62 64 e7 a7 6b 1a 4f   a3 21 bd d1 f6 d4 a9 a1   
Processing: MSG_GETSLICE: get_slice: 8:33: Dev: 8:33, Start: 34, Length: 4196285

iscsi-targets with the cliet are connected.

on client-side i did the instructions from the howto. But the output from 
blkmpad looks a little bit curious:

[root@Client2 sbin]# ./blkmapd -f
blkmapd: process_deviceinfo: 5 vols
blkmapd: decode_blk_signature: si_comps[0]: bs_length 16, bs_string ���#�� A��a��0^
blkmapd: read_cmp_blk_sig: /dev/sdb sig ���#�� A��a��0^� at 568
blkmapd: decode_blk_volume: simple 0
blkmapd: decode_blk_volume: slice 1
0�Bhapd: decode_blk_signature: si_comps[0]: bs_length 16, bs_string �
L�R�_�FI
0�Bhapd: read_cmp_blk_sig: /dev/sdc sig �
L�R�_�FI� at 568
blkmapd: decode_blk_volume: simple 2
blkmapd: decode_blk_volume: slice 3
blkmapd: process_deviceinfo: 5 vols
blkmapd: decode_blk_signature: si_comps[0]: bs_length 16, bs_string ���#�� A��a��0^
blkmapd: read_cmp_blk_sig: /dev/sdb sig ���#�� A��a��0^� at 568
blkmapd: decode_blk_volume: simple 0
blkmapd: decode_blk_volume: slice 1
0�Bhapd: decode_blk_signature: si_comps[0]: bs_length 16, bs_string �

i can mount and transer files, but no LAYOUTGET-Operation appears in Wireshark.
In /proc/self/mountstat are only 0s... at LAYOUTGET, LAYOUTCOMMIT and LAYOUTRETURN.

I used kernel 3.3.0 from git://linux-nfs.org/~bhalevy/linux-pnfs.git, block-layout module is loaded

i attached some wireshark output, maybe someone can help me. It would be appreciated.

Thanks in advance.

Best Regards

Johannes

[-- Attachment #2: blkoutput --]
[-- Type: application/octet-stream, Size: 59852 bytes --]

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

end of thread, other threads:[~2012-08-14 14:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08 15:58 Blocklayout Johannes Schild
2012-08-08 16:39 ` Blocklayout Jim Rees
2012-08-08 18:26   ` Blocklayout Johannes Schild
2012-08-09  8:42     ` Blocklayout Johannes Schild
2012-08-09  8:56       ` Blocklayout Peng, Tao
2012-08-09 15:27         ` Blocklayout Johannes Schild
2012-08-09 17:12           ` Peng Tao
2012-08-10  7:48             ` Johannes Schild
2012-08-10  8:29               ` Peng Tao
2012-08-10  9:20                 ` Johannes Schild
2012-08-10  9:51                   ` Peng Tao
2012-08-10 12:06                     ` Johannes Schild
2012-08-10 12:18                       ` Jim Rees
2012-08-10 13:00                         ` Johannes Schild
2012-08-13 19:50                           ` Johannes Schild
2012-08-14 14:09                             ` Peng Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).