[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] idea to automatic LVM naming



On Mon, 2008-09-08 at 09:15 -0400, Seth Vidal wrote:
> On Mon, 2008-09-08 at 14:59 +0200, Martin Sivak wrote:
> > If the user want to install lots of machines with some consistency, he
> > could use kickstart partitioning but I would use the hostname naming as
> > default.
> > 
> > > Could you make the volgroup name be the same but put the hostname
> > > +mountpointname in the lv name? for example:
> > > 
> > > /dev/volgroup00/myhost-srv
> > > /dev/volgroup00/myhost-home
> > > /dev/volgroup00/myhost-root
> > 
> > Wouldn't that cause troubles when you move the drive to different
> > machine? LVM doesn't like two volgroups with same name in one box.
> 
> Right, I forgot about that.
> 
> yah then /dev/hostname/mountpoint

That's basically what the patch does -- /dev/vg_hostname/lv_mountpoint

Jeremy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]