Linux LVM users
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: adimaths@softhome.net
Cc: Mauelshagen@sistina.com, linux-lvm@sistina.com
Subject: [linux-lvm] Re: Problem of LVM on Suse
Date: Fri Oct 24 06:34:07 2003	[thread overview]
Message-ID: <20031024123135.G848@sistina.com> (raw)
In-Reply-To: <courier.3F987755.00006508@softhome.net>; from adimaths@softhome.net on Thu, Oct 23, 2003 at 06:50:29PM -0600

On Thu, Oct 23, 2003 at 06:50:29PM -0600, adimaths@softhome.net wrote:
> Hi, 
> 
> I am facing a problem in using LVM bundled with Suse Enterprise server 8 
> ,connected to storage area newtork
> System configuration:
> A storage area network is connected to a server with OS Suse Enterprise 
> server 8.
> So there are multiple scsi devices whose physical disk is identical. 
> 
> We are creating a Pseudo device file asscociated with identical scsi devices 
> using a driver that we have created.
> eg : /dev/pseudo-device -> /dev/sda , /dev/sdb 
> 
> Now using the bundled LVM on such pseudo device is a problem.
> problem details:
> pvcreate /dev/pseudo-device
> [result] ok. 
> 
> pvscan
> [result] it shows the scsi device associated with this pseudo device ie 
> /dev/sda and not our pseudo device. 
> 
> If LVM bypasses our pseudo device then the purpose of creating this device 
> and associating it with scsi is futile. 
> 
> The irony is, LVM works fine on RH 2.1 kernel = 2.4.9-e.3 and also with RH 
> 7.2
> However the above mention problem is observed on Suse Enterprise server 8 
> ,RH 2.1 kernel =2.4.9-e.25, RH 7.3 and RH 8.0. 
> 
> Would request you to clarify the following :
> 1>Could you please tell me how this problem can be rectified ? 

Change the sort-order (as you suggested below)

> 
> 2>Is it that Lvm that is bundled with the OS can't be used for
> the above mentioned purpose ? 
> 
> 3>If it can't be , then what design feature
> of the current LVM prevents it from supporting the above task? 
> 
> 4> Can any change in our product help us to solve this problem? 
> 
> 5>Moreover I think LVM on RedHat is working just by chance.
> I think pvscan depends on the order of the devices in the
> /proc/partitions , and hence when our pseudo devices are
> at the end of the /proc/paritions , pvscan shows our devices
> as active else it shows scsi as active. 
> 
> Is my inference correct? 

Yes.

LVM2 is much more suitable to cover such vendor-specific configurations,
because it has configurable device name filters. LVM1 needs code changes
to support additional device name spaces.

> 
> Regards
> Aditya Vasudevan 

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2003-10-24  6:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-24  6:34 [linux-lvm] Problem of LVM on Suse adimaths
2003-10-24  6:34 ` Heinz J . Mauelshagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-27  4:35 [linux-lvm] RE:problem of lvm on suse adimaths

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=20031024123135.G848@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=adimaths@softhome.net \
    --cc=linux-lvm@sistina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox