[Linux-cluster] gnbd in non clustered enviroment and lvm2

Vladimir Grujic hyperbaba at neobee.net
Wed Mar 21 11:00:29 UTC 2007


hello,
i'm currently playing with this configuration:

storage:
lvm2 created PV/VG/LV on a hardware raid controller 1T drive
gnbd_export with caching is exporting just one LV

test mashine:
gnbd_import of exported block device

no cluster enviroment (once was operating cluster/gfs and it shut down due the 
crash on gfs filesystem which take 3 days to repair)

block device exported via gnbd is mounted on the test machine
everything works fine, until i extend the size of the exported LV

result is that gnbd still exports block device with old size.
i've tried to remove gnbd import on test machine and got this on storage 
"ERROR size of the exported file /dev/VG/test has changed, aborting" syslog

is there a way to force the gnbd to recognize changes in block device size and 
respond to them without need for clvmd and gnbd exporting entire PV

Vladimir





-- 
------------------------------------------------------------
Any cool program always requires more memory than you have. 
	-- Murphy's Computer Laws n°2
------------------------------------------------------------




More information about the Linux-cluster mailing list