linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Klaus Lichtenwalder <klaus@lichtenwalder.name>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Carlos Eduardo Tavares Terra <eduardo.terra@gmail.com>
Subject: Re: [linux-lvm] RHEL: special ownership for lv devices?
Date: Thu, 15 Sep 2011 20:00:09 +0200	[thread overview]
Message-ID: <4E723D29.1020209@lichtenwalder.name> (raw)
In-Reply-To: <CAEcYNt7duxpoeRTTA=+atmrNNcrcgMmX3h4JmRf++WMSJmxz1g@mail.gmail.com>

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

Am 14.09.2011 19:15, schrieb Carlos Eduardo Tavares Terra:
> Klaus,
> Have you tried to use the package oracleasm?
> 
> This package installs some binaries to manipulate ASM Disks, creating
> new devices (based on the originals /dev/sd*), into /dev/oracleasm/ and
> changing the owner of the devices.
> 
> Oracle Database does not use raw devices in RHEL anymore, by default.
> They recommend installing this package and administrate everything by it.
> 
> http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html
> 
> I hope this helps.
> 

Carlos,

actually, oracleasm is the reason I'm asking. Oracle recommends against
using lvs, but in our domain we need to sort disks, so we want to use
different vgs to avoid human error. Checking the shell scripts from
oracle, it is clear why they don't like lvs. Not because probable
performance problems from an additional layer of complexity, but because
they use /proc/partitions to scan for disks. And vg-devices just don't
show up there...
There are versions, though, that honor their ASM_SCANORDER flag and
check the vg-Directory (SCANORDER="/mapper/vg_asm*/"), but different
versions seem to not to do this.
I created a start script that mknods /dev/dm-X from
/dev/mapper/vg_asm--* devices, but I consider this a kludge...

Thanks anyway,
Klaus

-- 
------------------------------------------------------------------------
 Klaus Lichtenwalder, Dipl. Inform.,  http://www.lichtenwalder.name
 PGP Key fingerprint: BF52 72FA 1F5A 1E29 C0F8  498C C4C6 633C 2821 97DA


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

  reply	other threads:[~2011-09-15 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 19:18 [linux-lvm] RHEL: special ownership for lv devices? Klaus Lichtenwalder
2011-09-14 17:15 ` Carlos Eduardo Tavares Terra
2011-09-15 18:00   ` Klaus Lichtenwalder [this message]
2011-09-16 17:19     ` Stuart D. Gathman
2011-09-16 18:55       ` Klaus Lichtenwalder

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=4E723D29.1020209@lichtenwalder.name \
    --to=klaus@lichtenwalder.name \
    --cc=eduardo.terra@gmail.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 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).