On Tue, 04 Jan 2011, Adam Hamsik wrote: > > Are they really *lock* files? > > It's lvm subsystem lock file. Does it need to be specific in any way ?
Does it need to persist across reboot? > So we have these options: > > 1) /var/lock/lvm -> needs much more discussion > 2) /var/spool/lock/lvm > 3) /var/run/lvm -> not persistent, it needs to be recreated every time > 4) /var/db/lvm > > What would you prefer ? For state that should be reset on each boot, including locks, /var/run is probably appropriate. For persistent state, including locks that must not be broken on reboot, /var/db may be appropriate, but then you have to worry about the machine coming up with a different disk configuration. --apb (Alan Barrett)
