All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Schwalbe <erik.schwalbe@canoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Hide volume group during startup
Date: Wed, 11 Apr 2012 12:04:59 +0200 (CEST)	[thread overview]
Message-ID: <1968283131.298650.1334138699493.JavaMail.root@nelson.canoo.com> (raw)
In-Reply-To: <2049162317.298117.1334137791059.JavaMail.root@nelson.canoo.com>

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

Hi, 

we have a problem with hiding/deactivating a stacked volume group during startup. 

System is a Ubuntu 10.4.4 LTS (NAS). 
lvm2: 2.02.54-1ubuntu4.1ppa5 

lvs: 
backup-all data -wi-ao 3.00t 
fileserver-forBackup data -wi-ao 50.00g 
.... 
kvm_disk0 data -wi-ao 400.00g 
vm-203-disk-1 kvm_disk0 -wi-ao- 28.01g 
.... 

kvm_disk0 is used as device for iscsitarget. 

The iscsiinitiator created a new volume group (kvm_disk0) on the blockdevice and new virtual disks (vm-203-disk-1) . 

Our problem is, that the iscsitarget host found not only the VG "data" during system startup but also the other VG (kvm_disk0) and activate it. 
So DRBD can't get exclusive access to the LV kvm_disk0. 

We try to filter in lvm.conf, but after startup, the VG kvm_disk0 is allways activated. 

Thank you for help. 

Regards, 
Erik 








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

       reply	other threads:[~2012-04-11 10:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2049162317.298117.1334137791059.JavaMail.root@nelson.canoo.com>
2012-04-11 10:04 ` Erik Schwalbe [this message]
2012-04-12 11:11   ` [linux-lvm] Hide volume group during startup Bryn M. Reeves
2012-04-12 11:41     ` Erik Schwalbe
2012-04-12 11:52       ` Bryn M. Reeves
2012-04-12 12:14         ` Erik Schwalbe
2012-04-12 12:26           ` Bryn M. Reeves
2012-04-12 13:31             ` Erik Schwalbe
2012-04-12 13:39               ` Bryn M. Reeves
2012-04-12 14:14                 ` Erik Schwalbe
2012-04-12 14:30                   ` Bryn M. Reeves
2012-04-12 14:50                     ` Erik Schwalbe
2012-04-12 12:01       ` Lars Ellenberg
2012-04-12 12:33         ` Erik Schwalbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1968283131.298650.1334138699493.JavaMail.root@nelson.canoo.com \
    --to=erik.schwalbe@canoo.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.