[Linuxha-users] 0.8.6 clbuildapp bugfix and lv_list issues(?)

Simon Edwards simon.edwards at linuxha.net
Wed Apr 6 09:03:53 BST 2005


Hello Leroy,
	Thanks for the feedback - I'll ensure the extra 'chomp' is added until
a better solution can be found. BTW - 'clbuildapp' is being replaced
soon by what is currently available in _clbuildapp - which (will)
support online resizing of file systems etc.

	The other problem is a little more interesting. I've done some testing
on RHEL4 and not seen the lv_list problem before. 

	Would it be possible for you to email me the output of running the
following commands on both servers:

# vgdisplay -v
# /sbin/cluster/utils/lvmtool --haslvm
# /sbin/cluster/utils/lvmtool --lvmtype
# /sbin/cluster/utils/lvmtool --vglist
# /sbin/cluster/utils/lvmtool --lvlist --vgname X

	[In the final command replace X with the name of the
	 volume group you wish to use as part of the cluster.]

Once I get this output I'll starting looking into it. It almost sounds
as if the volume group isn't activated, or the implicit use of vgscan is
failing.

Regards,
Simon.


On Mon, 2005-04-04 at 23:33 +0200, Leroy van Logchem wrote:
> Hi Simon, 
> 
> First off I must say I'am new to linuxha.net and have just begun
> exploring it. The documentation is rich and lengthy compared to
> heartbeat's I read earlier.
> While I'am going trough the documenation installing my first linuxha
> application using drbd I found two bugs and got one solved:
> 
> Synopsis bug 1) The md5 hash which get checked when doing --build
> after --vgbuild has issues with newlines. 
> 
> 948         $vgbuild_sum=<$fd3>; chomp $vgbuild_sum; 
> 949         chomp $vgbuild_sum; 
> 950 
> 951         $sss=$md5_sum->hexdigest; 
> 952 print STDERR "\$vgbuild_sum -$vgbuild_sum-\n"; 
> 953 print STDERR "\$sss -$sss-\n"; 
> 954         if($vgbuild_sum ne $sss) { 
> 
> 
> The adhoc fix adds 'n extra chomp and lets the build properly compare
> and hence it continues instead of exit. 
> 
> Bug 2) The $LVM->lv_list return nothing most of the time.. but
> sometimes it does return valid data after a few retries (about 3
> times).
> 
> @lvl=$LVM->lv_list(VGNAME => $cvg, UPTODATE => 1); 
> if(!defined(@lvl)) { 
> 
> I didnt go into the lv_list subroutines deep yet. If I'am going to use
> linuxha here in production on our fileservers I like to help out
> fixing bugs. 
> 
> OS used: RHEL4
> 
> Best regards,
> Leroy
> _______________________________________________
> Linuxha-users mailing list
> Linuxha-users at linuxha.net
> http://linuxha.net/mailman/listinfo/linuxha-users_linuxha.net




More information about the Linuxha-users mailing list