As i said before, there is no real file for /dev/vg/ocfs
but
lvdisplay shows /dev/vg/ocfs as my logical volume
and
ls -ail /dev/vg/ocfs
35413 lrwxrwxrwx 1 root root 19 Apr 30 14:33 /dev/vg/ocfs -> /dev/mapper/vg-ocfs

Now i'm really confused.
Mike: As i said before there are only 2 uncommented lines in /etc/ietd.conf

Target iqn.2009-09.com.ezhome:ocfs
        Lun 0 Path=/dev/vg/ocfs,Type=fileio

Please help!!!!

On Thu, Apr 30, 2009 at 1:53 PM, sundar mahadevan
<sundarmahadeva...@gmail.com> wrote:
> I realise what my problem is. Earlier i used ubuntu and In ubuntu when
> a new logical volume is created, it is listed under /dev/vg/ocfs where
> vg is the volume group and ocfs is the logical volume. In opensuse, I
> 'm unable to find out what/where my logical volume is:
>
> I had mentioned Path=/dev/vg/ocfs in /etc/ietd.conf which does not exist.
>
> Target iqn.2009-09.com.ezhome:ocfs
>        Lun 0 Path=/dev/vg/ocfs,Type=fileio
>
> Thanks to Mike for guiding me in the right direction. I belive this is
> the problem. Experts, your inputs on how the logical volumes are
> mapped in opensuse please...
>
> On Thu, Apr 30, 2009 at 1:23 PM, Konrad Rzeszutek
> <kon...@virtualiron.com> wrote:
>>
>> On Thu, Apr 30, 2009 at 12:16:16PM -0400, sundar mahadevan wrote:
>>>
>>> Hi,
>>> I have iscsitarget(0.4.15-89.10) installed on system 1(opensuse 11.1)
>>> with firewall allowing port 3260 and open-iscsi(2.0.870-21.1)
>>> installed on system 2(opensuse 11.1).
>>>
>>> Here is my command from client:
>>> sunny1:/etc/iscsi/ifaces # iscsiadm -m node -T
>>> iqn.2009-09.com.ezhome:ocfs -p 10.1.1.1 -l
>>> Logging in to [iface: default, target: iqn.2009-09.com.ezhome:ocfs,
>>> portal: 10.1.1.1,3260]
>>> Login to [iface: default, target: iqn.2009-09.com.ezhome:ocfs, portal:
>>> 10.1.1.1,3260]: successful
>>>
>>> But i don't see the logical volume detected when i issue fdisk -l
>>
>> You won't see it that way. The LVM metadata is not in the MBR, but
>> in the first 384 sectors, in its own format. You need to do 'pvscan' to see 
>> your logical
>> volumes. And after as well do 'vgchange -a ly' after the scan.
>>
>>> Also there are no error messages in /var/log/messages
>>> cat /var/log/messages | tail -n 20
>>> .......
>>> .......
>>> Apr 30 12:13:23 sunny1 kernel: scsi4 : iSCSI Initiator over TCP/IP
>>> Apr 30 12:13:24 sunny1 iscsid: connection3:0 is operational now
>>>
>>> Newbie. Please help. Thanks in advance.
>>>
>>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to