Package: aoetools
Version: 11-1.2
Severity: Wishlist

Hi,

I would like to be able to access an lvm set with volumes on the aoe
block. The problem there is that the lvm init scripts are happening
before the network (which is good), so one needs to vgscan/vgchange -a y 
afterwards to get the thing working. It is a bit boring to do that at
each restart. 

A cool way to fix that would be after the aoe startup with a
conditionnal procedure:

* pass it if lvm executables are not there
* get the list of all aoe vblades presents (aoe-stat)
* get the list of all partitions present on these vblades 
  (ls /dev/etherd/${vblade}p*) having too many is not bad
* for each partition, or vblade if it does not have a partition table,
  pvdisplay ${target} | grep 'VG Name' to get the list of volume groups
* vgchange -a y the found groups

It should take care of all the cases without breaking anything.

thanks

jacques

Attachment: signature.asc
Description: Digital signature

Reply via email to