linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] /dev/mapper entries
@ 2014-05-13  5:53 Umar Draz
  2014-05-13  7:14 ` Marian Csontos
  0 siblings, 1 reply; 2+ messages in thread
From: Umar Draz @ 2014-05-13  5:53 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Hi All

I have 2 systems where I have shared SAN sotrage, I am using LVM without
cluster.

If I create a logical volume on server1 and then on server2 (vgchange
--refresh or vgchange -a y) I can get that logical volume on server2 as
well.

The same thing I am using on volume deletion e.g.

If I remove volume from server1 its properly remove the volume and also all
of its entries, and then I refresh the volume group on server2 its also
refresh its self but a entry in /dev/mapper not removing

how to refresh this /dev/mapper/ on other server while deleting volumes

Br.

Umar

[-- Attachment #2: Type: text/html, Size: 776 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] /dev/mapper entries
  2014-05-13  5:53 [linux-lvm] /dev/mapper entries Umar Draz
@ 2014-05-13  7:14 ` Marian Csontos
  0 siblings, 0 replies; 2+ messages in thread
From: Marian Csontos @ 2014-05-13  7:14 UTC (permalink / raw)
  To: LVM general discussion and development, unix.co

On 05/13/2014 07:53 AM, Umar Draz wrote:
> Hi All
>
> I have 2 systems where I have shared SAN sotrage, I am using LVM without
> cluster.

Hello Umar,
which version of lvm and what distribution? There is lvmetad in newer 
versions of LVM and you may need to rescan PVs (pvscan --cache $PV)

However using shared storage without cluster locking is nothing but 
asking for trouble...

It is advised to either partition the storage (set zones or whatever the 
SAN allows) or to set global_filter/filter on both machines so each of 
the machines sees only appropriate LUNs it is intended to see and use.

Regards,

-- Martian

>
> If I create a logical volume on server1 and then on server2 (vgchange
> --refresh or vgchange -a y) I can get that logical volume on server2 as
> well.
>
> The same thing I am using on volume deletion e.g.
>
> If I remove volume from server1 its properly remove the volume and also all
> of its entries, and then I refresh the volume group on server2 its also
> refresh its self but a entry in /dev/mapper not removing
>
> how to refresh this /dev/mapper/ on other server while deleting volumes
>
> Br.
>
> Umar
>
>
>
> _______________________________________________
> 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/
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-13  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13  5:53 [linux-lvm] /dev/mapper entries Umar Draz
2014-05-13  7:14 ` Marian Csontos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).