[LUNI] Logical Volume resize issue

Jose Ramirez iwrbpbb at yahoo.com
Wed Nov 21 14:22:41 CST 2007


Hello Linux gurus,

FYI: Have an HP EVA8000 SAN System and a blade server running Redhat Linux Enterprise Server Edition(Kernel 2.6.9-42.ELsmp). Installed the HP Fibre Utilities and am using LVM2.

My issue is that when I expand the partition size on the SAN System from Let's just say 300Gigs to 500Gigs(works okay on the SAN) but on the Linux Server the following happens:



	
	
	
	
	<!--
		@page { size: 8.5in 11in; margin: 0.79in }
		P { margin-bottom: 0.08in }
	-->
	

pvresize
	--setphysicalvolumesize 200G /dev/sda(This part works okay)


	vgchange
	–a n vol1(works fine)


	lvextend
	–L+200G /dev/vol1/testlv1 /dev/sda(this also works fine)


	
	vgchange –a y vol1(works fine)


	resize2fs
	–p –f /dev/vol1/testlv1
On the last step(step 5) I get the following error messages:
resize2fs -p -f /dev/vol1/testlv1 
resize2fs 1.35 (28-Feb-2004)
resize2fs: Invalid argument while trying to open /dev/vol1/testlv1
Couldn't find valid filesystem superblock.

Any ideas how to go around this issue?

Thanks in advance to whoever advices.

JR






      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ


More information about the luni mailing list