Re: [PATCH] idea to automatic LVM naming

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

 



Hi

> > >> This changes the automatic partitioning code to name volume groups
> > >> using the hostname and naming logical volumes using the mount point.
> > > [snip]
> > >> This doesn't completely solve every problem, but maybe we can get  
> > >> some
> > >> more unique and descriptive LVM names.
> > >>
> > >> Thoughts?

We discussed that and I agree.

> > 
> > With what I have there now, yes.  I think if localhost is the  
> > hostname, we should probably just fallback to doing VolGroupXX as we  
> > have been.
> > 
> > > Also, it has the downside of making things less consistent from  
> > > machine
> > > to machine if you have multiple machines.  But perhaps the  
> > > advantages of
> > > moving drives from machine to machine outweigh that disadvantage

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.

-- 
Martin Sivak
msivak@xxxxxxxxxx

Red Hat Czech s.r.o.
http://cz.redhat.com
Purkynova 99/71, 612 45 Brno, Czech Republic
Registered in Brno under #CZ27690016

Attachment: pgplFkFxZOepm.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux