[LUNI] Re-Sent Extending a logical volume

Jose Ramirez iwrbpbb at yahoo.com
Mon Nov 26 10:31:54 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:

1. pvresize
	--setphysicalvolumesize 500G /dev/sda(This part works okay)
2. vgchange
	–a n vol1(works fine)
3. lvextend
	–L+200G /dev/vol1/testlv1 /dev/sda(this also works fine)
4. vgchange –a y vol1(works fine)
	5. 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





      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 


More information about the luni mailing list