From: "Johannes Schild" <JSchild@gmx.de>
To: Jim Rees <rees@umich.edu>
Cc: linux-nfs@vger.kernel.org, tao.peng@emc.com
Subject: Re: RE: Blocklayout
Date: Fri, 10 Aug 2012 15:00:34 +0200 [thread overview]
Message-ID: <20120810130034.177360@gmx.net> (raw)
In-Reply-To: <20120810121808.GA9817@umich.edu>
Hi Jim,
thanks for trying to help me:
>
> [root@fedorapnfs2 sbin]# /root/ctl/ctl -u
> [root@fedorapnfs2 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
> e9 91 e5 1c d7 cb 20 41 ad d1 61 f9 a7 30 5e fb
> 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
> 9b 0d 30 b8 42 68 0a 4c 95 52 ed 5f d7 46 49 ed
> Processing: MSG_GETSLICE: get_slice: 8:33: Dev: 8:33, Start: 34, Length:
> 4196285
>
> I'm not familiar with this server, but all I see here is slices from two
> disks. The blkmapd output shows the same thing. Normally these would be
> striped or catenated to form the file system device. What device topology
> do you think you're exporting?
I use LVM and iSCSI to export my device:
LVM for Striping (because ctl needs it), iSCSI for transport.
i created a volume "testserver":
[root@fedorapnfs2 server]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg_createfedora lvm2 a-- 19.50g 0
/dev/sdb1 testserver lvm2 a-- 2.00g 508.00m
/dev/sdc1 testserver lvm2 a-- 2.00g 508.00m
[root@fedorapnfs2 server]# dmsetup ls --target striped
testserver-share (253, 2)
[root@fedorapnfs2 server]# dmsetup table
vg_createfedora-lv_swap: 0 4128768 linear 8:3 2048
vg_createfedora-lv_root: 0 36765696 linear 8:3 4130816
testserver-share: 0 6291456 striped 2 128 8:17 2048 8:33 2048
The following output is from my iSCSI-targets which i export:
[root@fedorapnfs2 server]# tgtadm --lld iscsi --mode target --op show
Target 1: iqn.2012-04.fedorapnfs2:dev01
System information:
Driver: iscsi
State: ready
I_T nexus information:
I_T nexus: 2
Initiator: iqn.1994-05.com.redhat:f1b658ea7af8
Connection: 0
IP Address: 192.168.0.13
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 2149 MB, Block size: 512
Online: Yes
Removable media: No
Readonly: No
Backing store type: rdwr
Backing store path: /dev/sdb
Backing store flags:
LUN: 2
Type: disk
SCSI ID: IET 00010002
SCSI SN: beaf12
Size: 2149 MB, Block size: 512
Online: Yes
Removable media: No
Readonly: No
Backing store type: rdwr
Backing store path: /dev/sdc
Backing store flags:
Account information:
ACL information:
ALL
Thanks for your help.
Johannes
next prev parent reply other threads:[~2012-08-10 13:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2012-08-13 19:50 ` Johannes Schild
2012-08-14 14:09 ` Peng Tao
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=20120810130034.177360@gmx.net \
--to=jschild@gmx.de \
--cc=linux-nfs@vger.kernel.org \
--cc=rees@umich.edu \
--cc=tao.peng@emc.com \
/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.