Re: RE: Blocklayout

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

 



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
--
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