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

Re: [linux-lvm] [IMPORTANT]LVM+iSCSI issue..Local Disk disappeared..



Thnx everyone(Esp. peter).....Your comments were really useful.

Just want to ask one thing....

We can get physical volumes associated with given LV using "lvdisplay -m "/dev/vgname/lvname".....Is the information given by it no so sure.....

Because you specified that "we cannot get which PV's are associated with which LV".


On Thu, Oct 16, 2008 at 8:50 PM, Peter Larsen <plarsen ciber com> wrote:
On Thu, 2008-10-16 at 15:57 +0530, himanshu padmanabhi wrote:
> We configured it as
>
> Case 1
> [....]
> Deleted lv1,
> removed pv2,
> vg is getting displayed properly in vgs command
> Case 2
> [...]
> Deleted lv1,
> logout from iscsi target
> vg is not getting displayed properly in vgs command

Those are not the same? In case 1 you tell LVM to drop a storage (I
assume by removing pv2 you first take it out of the vg and then apply
pvremove). In case 2 you you're simulating media failure to LVM. You
can't just remove a media it depends on. Regardless if LVM has data on
the PV or not.

Are you trying to make failover work? If so, your approach is a bit
wrong. Setup a software raid 1 first, then build your PV on that. Once
done, you can remove one disk and your LVM will continue to run
(degraded).


---
Regards
   Peter Larsen

I don't kill flies, but I like to mess with their minds.  I hold them
above
globes.  They freak out and yell "Whooa, I'm *way* too high."
               -- Bruce Baum

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



--
Regards,
Himanshu Padmanabhi


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