Inconsistent free space after resizing ve [message #34216] |
Mon, 15 December 2008 08:07 |
ildegiron
Messages: 3 Registered: December 2008
|
Junior Member |
|
|
Hi!
I resized a ve which was originally set at 1GB, via:
$ sudo vzctl set 101 --diskspace 2G:2G --save
$ sudo vzctl set 101 --diskinodes 1000000:1200000 --save
$ sudo vzctl set 101 --quotatime 600 --save
But from within the ve the allocated space is reported as
$ df -h
F.system Size Used Avail.Usage% Mounted
simfs 2.0G 469M 327M 59% /
tmpfs 247M 0 247M 0% /lib/init/rw
tmpfs 247M 0 247M 0% /dev/shm
$ df -i
F.system Inodes Used Free Usage% Mounted
simfs 1000000 21623 978377 3% /
tmpfs 63117 2 63115 1% /lib/init/rw
tmpfs 63117 1 63116 1% /dev/shm
There's plenty of real space in my vz partition. Also no quotas have been set for this ve.
|
|
|
|
Re: Inconsistent free space after resizing ve [message #34247 is a reply to message #34217] |
Tue, 16 December 2008 16:44 |
ildegiron
Messages: 3 Registered: December 2008
|
Junior Member |
|
|
Hi!
Thanks for your fine reply. This is what I got.
My distro:
Debian Etch.
Kernel:
http://download.openvz.org/kernel/branches/2.6.18/current/co nfigs/kernel-2.6.18-i686.config.ovz
As reported by uname -r
2.6.18-1-openvz #1 Thu Jan 3 00:31:31 CST 2008 i686
vzctl version:
3.0.11
Copyright (C) 2000-2005 SWsoft.
Template:
http://download.openvz.org/template/precreated/debian-4.0-i3 86-minimal.tar.gz
ls -l /etc/mtab
lrwxrwxrwx 1 root root 12 2008-12-14 01:34 /etc/mtab -> /proc/mounts
cat /etc/mtab
simfs / simfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
cat /proc/mounts
simfs / simfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
Regards
|
|
|
|
Re: Inconsistent free space after resizing ve [message #34260 is a reply to message #34256] |
Wed, 17 December 2008 18:50 |
ildegiron
Messages: 3 Registered: December 2008
|
Junior Member |
|
|
Hello.
My server is running Debian Etch. Packages vzctl and vzquota are up to date for this setup --stable--. So it seems that in order to update both I would need to recompile/patch the kernel, but I won't be able to try it until next week. I'll post any results then.
Thanks.
|
|
|