Szie of file system not valid

1 post / 0 new
#1 Wed, 12/07/2011 - 04:07
smart-ebusiness

Szie of file system not valid

Hello everybody,

I be impressed about the cloudmin and virtualmin tools since years. Thank you for that! :-)

I have prepared a new server with cloudmin GPL and create some KVM instances. E.g. the instance for portal has 25 GB virtual disk operates with Ubuntu from your image server.

I got the followings error with the creation

expansion failed : parted -s \/dev\/vgstorage\/test-srv-001_cloudmin_xxxxx-yyyyy_net_img mkpart primary 1048576B 26843M failed : device-mapper: deps ioctl failed: No such device or address

If I take a look inside the newly created system, I have only 1 GB space on the maschine inside the file system / !!! But I can see the full disk space with 25 GB at the partition.

What happens with the creation of the right size of the file system inside the virtual maschine? How can I resize the file systems?

Also the gateway will not be set, if I change at the creation process? The virtual maschine will get the gateway from the host.

Thank you for support in advance.

Cheers, Ralf :-)

------ additional information (output from creation instance) ------

Copying 804.39 MB image file to host system smart-cloud-srv-001.xxxxx-yyyyy.net .. .. already on host Creating virtual system with KVM .. .. creation started.

Waiting for creation to complete ................................. .. creation has completed successfully.

Creating swap file of 2 GB .. .. creation failed : 65536+0 records in 65536+0 records out 2147483648 bytes (2.1 GB) copied, 29.8528 s, 71.9 MB/s . The Xen instance may not start up

Removing missing disks from fstab file .. .. done

Expanding filesystem to 25 GB .. .. expansion failed : parted -s \/dev\/vgstorage\/test-srv-xxxxx-yyyyy_net_img mkpart primary 32256B 26843M failed : device-mapper: deps ioctl failed: No such device or address

Mounting new instance's filesystem .. .. mounted on /mnt/kvm-test-srv-002.cloudmin.xxxxx-yyyyy.net

Setting root password .. .. done

Adding extra authorized SSH keys .. .. done

Updating configuration files with hostname and IP address .. .. done

Updating network configuration files .. .. done

Modifying /etc/fstab file .. .. done

Allowing SSH logins by root .. .. already allowed

Setting SSH server port .. .. done

Un-mounting instance's filesystem .. .. done

Adding DNS entry test-srv-002.cloudmin.xxxxx-yyyyy.net. for IP address 88.198.140.215 .. .. done

Starting up new KVM instance .. .. done

Regenerating SSH host keys .. .. done

Setting password for existing Webmin install .. .. password changed successfully.

Opening firewall ports for Webmin .. .. done

Waiting for Webmin to start .. .. started successfully

Fetching current status .. .. status successfully retrieved (Virtualmin)

Re-fetching current status of host system smart-cloud-srv-001.xxxxx-yyyyy.net .. .. status successfully retrieved (Webmin)

Checking Virtualmin configuration .. .. all OK.

Enabling system at host boot time .. .. done