LVM resize question

Olt, Joseph jolt at ti.com
Tue Feb 26 19:05:32 UTC 2008


Hello Denise,

 

I don't have a Xen server to check, but I don't believe there is an ext2
or ext3 filesystem on a Xen partition.  Resize2fs only works for ext2/3
filesystems.  Did you try increasing the volume and re-read the disk
from the Xen guest?

 

Regards,

 

Joseph

 

________________________________

From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez,
Denise
Sent: Tuesday, February 26, 2008 1:55 PM
To: redhat-sysadmin-list at redhat.com
Subject: LVM resize question

 

Hi all,

 

I am in the process of setting up a Xen server and I want to have the
Guest OS's on LVM's.  I have created a 10GB LVM and installed a CentOS
guest on it.  Now before it goes production I want to do testing of
increasing the space for the Guest OS.  I have found documentation that
says to use resize2fs after you extend the logical volume but when I try
this command on the logical volume I get the following error.

 

root at xen ~]# resize2fs /dev/XenServers/CentOS5

resize2fs 1.39 (29-May-2006)

resize2fs: Bad magic number in super-block while trying to open
/dev/XenServers/CentOS5

Couldn't find valid filesystem superblock.

 

I tried with the -f option too but still the same error.  

 

Any ideas?

Thanks

 

Denise Lopez

UCLA - Center for Digital Humanities

Network Services

Linux Systems Engineer

337 Charles E. Young Drive East

PPB 1020

Los Angeles, CA 90095-1499

310/206-8216

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20080226/d5504102/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2230 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20080226/d5504102/attachment.jpg>


More information about the redhat-sysadmin-list mailing list