WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error Resize Xen File Based

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error Resize Xen File Based
From: Dominggo Smith <dominggosmith@xxxxxxxxx>
Date: Mon, 10 Jan 2011 01:13:58 +0700
Delivery-date: Sun, 09 Jan 2011 10:14:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=FcWnaVyfhIbn/NXZ/xMFyLAPWnNcrXbygvcEphwt7xo=; b=jF/9cJ9JmS0hVBenk71NNCJlwIYaWArIDTE8P+EQafwl+uCllImMoq0f0ZEP+GsVB3 QQ8hq3AWzxfn5gDXCiNuFlP2NcHEiiK0ddAoIXMekQpDYVAzsKFW+0rheMZ2tW7hM83t Ogr2wvnBBydMHAMrctpuEHA29e72wyl6jdrPM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q8tHGGi2oxfMf0DcfinccXTnO8QEFKoMPSg+O9oKQu/2NsClhkiDZ+hzNeECYDhMT5 pjPMKvCLenKdWv3PlCwUbmsDcGlV74EQVuogxSdSAntLjD3Hw7HpPO6V+vJERahfzFGe YTHBbwqhYIH4be8PMLtZnE1WOBpPtbrvHKwZY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I follow http://mediakey.dk/~cc/howto-resize-xen-loop-disk-image/ to
expand Xen Guest as shown below:

1. # dd if=/dev/zero bs=1024k count=1024 >> test.img
2. # e2fsck -f test.img
3. # resize2fs test.img

But when running:

# e2fsck -f test.img
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open test.img

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Any idea?

I'm using CentOS 5.5 and built-in xen-3.0-x86_64.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>