From: Gordan B. <go...@bo...> - 2009-07-08 21:27:11
|
Ooops, forgot to actually attach the added files. *headdesk* Here they are. Gordan Bobic wrote: > Hi, > > Attached are: > > My latest clusterfs-lib.sh that includes a temporary bodge for a problem > with glusterfs that makes operations on the FS fail for a few seconds > after mounting because fuse takes a little while to settle. So the bodge > is to include "sleep 5; ls -la <mount-point>" to make sure that the real > root is ready by the time we mount cdsl.local. It's a patched version > of the latest package that was preview (I haven't seen any updates to > preview in at least a few weeks). > > Also attached is hardware-lib.sh that has a different approach to mdadm > stuff (this is, AFAIK, only really useful for gluster at the moment). > Instead of: > > if [ -f /etc/mdadm.conf ] > > it checks for > > if [ -x /sbin/mdadm ] > > because I've been having problems with mdadm.conf contents - it looks > like despite them being cdsl-ed out to cdsl.local, the node that builds > the initrd hard-puts it's own mdadm.conf into the initrd. > Anyway, instead of looking for a pre-existing mdadm.conf, the patch > makes a new one: > > mdadm --examine --scan > /etc/mdadm.conf > > This file should now be removed from the package: > /etc/comoonics/bootimage/files.initrd.d/mdadm.list > (or at least be empty), since it only contained /etc/mdadm.conf > > Thanks. > > Gordan > |