From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9FDKbbk001466 for ; Wed, 15 Oct 2008 09:20:37 -0400 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m9FDKR1C008628 for ; Wed, 15 Oct 2008 09:20:28 -0400 Received: by wf-out-1314.google.com with SMTP id 25so2629700wfc.6 for ; Wed, 15 Oct 2008 06:20:27 -0700 (PDT) Message-ID: Date: Wed, 15 Oct 2008 18:50:27 +0530 From: "himanshu padmanabhi" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27219_18307324.1224076827278" Subject: [linux-lvm] [IMPORTANT]LVM+iSCSI issue..Local Disk disappeared.. Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com ------=_Part_27219_18307324.1224076827278 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using "iscsi-initiator-utils-6.2.0.865-0.2.fc7" as initiator and "iscsitarget-0.4.15-1" as target. Following is the scenario *PV = local_disk1 remote_disk1 (i.e PV is formed using 2 disks 1 local and 1 from iscsitarget) * * VG = Vgname * * LV = lv_localdisk_1 lv_localremotedisk1 lv_remotedisk1 (i.e. 1 lv only from local disk,1 from remote iscsitarget and one from combination of both) * I performed "logout" operation on "remote_disk1" after deactivating "lv_localremotedisk1 and lv_remotedisk1" on it using "lvchange" command. Then result I should at least get, *PV = local_disk1 (remote_disk1 is removed now) * * VG = Vgname * * LV = lv_localdisk1 (So LVs containing PVs as "remote_disk1" are deactivated.It can be in combination with local disk also) * Still confused about "lv_localremotedisk1"?Local disk part would also lost here till I again login to that target. But the result was *PV = VG = LV = * i.e They all were lost temporarily. When I logged in to the same target and activated the LVs on "remote_disk1",I got my original configuration.i.e. *PV = local_disk1 remote_disk1 (i.e PV is formed using 2 disks 1 local and 1 from iscsitarget) * * VG = Vgname * * LV = lv_localdisk_1 lv_localremotedisk1 lv_remotedisk1 (i.e. 1 lv only from local disk,1 from remote iscsitarget and one from combination of both)* Please help...... This should not happen.....right... -- Thanks and Regards, Himanshu Padmanabhi ------=_Part_27219_18307324.1224076827278 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline

I am using "iscsi-initiator-utils-6.2.0.865-0.2.fc7" as initiator and
"iscsitarget-0.4.15-1" as target.

Following is the scenario

PV  =  local_disk1       remote_disk1  (i.e PV is formed using 2 disks
1 local and 1 from iscsitarget)

VG  =  Vgname

LV =  lv_localdisk_1       lv_localremotedisk1
lv_remotedisk1 (i.e. 1 lv only from local disk,1 from remote
iscsitarget and one from combination of both)

I performed "logout" operation on "remote_disk1" after deactivating
"lv_localremotedisk1 and           lv_remotedisk1" on it using
"lvchange" command.

Then result I should at least get,

PV  =  local_disk1    (remote_disk1 is removed now)

VG = Vgname

LV = lv_localdisk1     (So LVs containing PVs as "remote_disk1" are
deactivated.It can be in combination with local disk also)

Still confused about  "lv_localremotedisk1"?Local disk part would also
lost here till I again login to that target.

But the result was

PV =
VG =
LV =

i.e They all were lost temporarily.

When I logged in to the same target and activated the LVs on
"remote_disk1",I got my original configuration.i.e.

PV  =  local_disk1       remote_disk1  (i.e PV is formed using 2 disks
1 local and 1 from iscsitarget)

VG  =  Vgname

LV =  lv_localdisk_1       lv_localremotedisk1
lv_remotedisk1 (i.e. 1 lv only from local disk,1 from remote
iscsitarget and one from combination of both)

Please help......

This should not happen.....right...


--
Thanks and Regards,
Himanshu Padmanabhi

------=_Part_27219_18307324.1224076827278--