linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Eric Brunson <brunson@brunson.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Re: Script to import hardware snapshoted VGs
Date: Sun, 10 May 2009 11:03:03 -0600	[thread overview]
Message-ID: <4A0708C7.70504@brunson.com> (raw)
In-Reply-To: <164519.90166.qm@web87105.mail.ird.yahoo.com>

On 05/09/2009 01:34 PM, chris procter wrote:
>
>> I actually worked on such a script a little over a month ago but haven't
>> had a chance to get back to it.  I've reviewed your script and have
>> inlined some comments/suggestions below.
>>      
>
> Thanks a lot :)
>
> Most of your suggestions are pretty straightforward and I'll put them in, but the PV name problem is nasty, sorting out my script to deal with them is doable, but there is an issue with setting lvm.conf to filter devices called /dev/$*^  would really upset the regular expression parser. I'm tempted to say that people who call their devices things like that deserve everything they get,

http://xkcd.com/327/

:-)

>   but maybe symlinking them to a sensible name (e.g $TMP_LVM_SYSTEM_DIR/dev/temp1) would be better. I'll have a think.
>
> Oh and it deals with exported volume groups because I hit that one during testing, maybe I have weird usage patterns!
>
> chris
>
>
>    

  reply	other threads:[~2009-05-10 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 22:05 [linux-lvm] Script to import hardware snapshoted VGs chris procter
2009-05-08 20:53 ` [linux-lvm] " Mike Snitzer
2009-05-09 19:34   ` chris procter
2009-05-10 17:03     ` Eric Brunson [this message]
2009-05-11 18:39   ` chris procter
2009-05-11 20:26     ` Eric Brunson
2009-05-11 21:15       ` Stuart D. Gathman
2009-05-11 21:35         ` Eric Brunson
2009-05-12 15:38     ` Mike Snitzer
2009-05-12 23:15       ` chris procter
2009-05-13 12:44         ` Mike Snitzer

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=4A0708C7.70504@brunson.com \
    --to=brunson@brunson.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).