|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] expanding img file
This looks backwards. I would think "mount -o loop /mnt /vm/foo.img"
should be "mount -o loop /vm/foo.img /mnt"
Paul Eskello wrote:
> Hi,
>
> I use xen on centos 5.2 x86 and used virt-install to create a few
> virtual machines.
>
> A few days ago centos 5.3 emerged, but I did not allocate enough
> diskspace for these virtual machines, only 2 gb. That's way too small
> for running yum-upgrade.
>
> So I tried to increase them. With no luck. I found a howto that
> instructs me to mount -o loop /mnt /vm/foo.img, but that fails:
> "mount: you must specify the filesystem type" .
>
> Specifying ext2 says:
> "mount: wrong fs type, bad option, bad superblock on /dev/loop0,
> missing codepage or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so"
>
> In dmesg:
> "loop: loaded (max 8 devices)
> hfs: unable to find HFS+ superblock
> VFS: Can't find an ext2 filesystem on dev loop0."
>
> Another option I saw was just appending a gigabyte of /dev/zero using
> dd. I did that, but the diskspace in the virtual machine stays 2gb.
>
> I think I ran outta options.
> Any hints or advice ? Besides building new machines from scratch using
> the correct sizes ;-/
>
> Regards.
> P
>
> _______________________________________________
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|