Re: [PATCH] idea to automatic LVM naming

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

 



On Sun, 2008-09-07 at 20:55 -1000, David Cantrell wrote:
> On Sep 7, 2008, at 3:18 PM, Jeremy Katz wrote:
> 
> > On Sun, 2008-09-07 at 04:08 -1000, David Cantrell wrote:
> >> 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?
> >
> > Now that we've moved partitioning later, this seems more  
> > reasonable.  Do
> > we ever end up with localhost as the VG name with the patch?
> 
> 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
> 
> I mentioned that to people at FUDCon and the general consensus seemed  
> to be that people would prefer the name differences to gain the  
> capability of moving disks around more easily.

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

?

-sv


_______________________________________________
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