Re: Ubuntu 12.04 Target & Initiator on same unit. can't see the drive showing with fdisk -l

153 views
Skip to first unread message

Michael Christie

unread,
Sep 5, 2012, 1:27:37 PM9/5/12
to open-...@googlegroups.com

On Sep 4, 2012, at 2:15 PM, Chuck House <coredatare...@gmail.com> wrote:

> I've built a 24 Tb Raid6 with mdadm, Created 2 logical partitions with lvm, unformatted.
>
> I'd like to connect from the same computer as a client so I don't run into issues with permissions.
> I've got 1 windows client as well.
>
> Windows client is accessing 22Tb partition, Ubuntu is accessing 2tb partition.
>
> (this is a local only server)
> I have configured the iscsi target and restarted it successfully,
> I can connect with open-iscsi but the drive never appears in fdisk -l on either my laptop or my server unit.
> I'm sure it's something simple, but I'm so close to it i'm blinded.
>
> ietd.conf on target configuration
>
> Target iqn.2012-05.local.batman:storage.sys0
> IncomingUser chuck xxxxxxxx
> Lun 0 Path=/dev/mapper/LogicalBatman-Logical_Volume_00 ,Type=fileio
> #MaxConnections 6
>
>
>
> sudo iscsiadm -m discovery -t st -p 192.168.1.222 -d 8
>

That command discovers targets and portals. To login run

iscsiadm -m node -T targetname -p ip -l
Reply all
Reply to author
Forward
0 new messages