> statfs("/var/lib/vz", {f_type="REISERFS_SUPER_MAGIC", f_bsize=4096,
> f_blocks=7327423, f_bfree=5120910, f_bavail=5120910, f_files=0,
> f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
> write(2, "WARNING: Recommended minimal siz"..., 59WARNING: Recommended
> minimal sizeof /vz partition is 20Gb!
> ) = 59
Here it should really print "minimal size of /var/lib/vz partition is
20Gb!
It does now!
---
hera:~# vzsplit -n 20
WARNING: Recommended minimal sizeof /var/lib/vz partition is 20Gb!
WARNING: /var/lib/vz partition do not have space required for 20 VPS
---
> ---
> hera:/# stat /vz
> stat: cannot stat `/vz': No such file or directory
> hera:/# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sdc1 4.7G 1.1G 3.7G 23% /
> /dev/sdc3 28G 8.5G 20G 31% /var/lib/vz
> ---
>
> By the way, "/" and "/var/lib/vz" are both ReiserFS, if that matters.
Maybe, but more likely the problem is that you actually have 20GB free,
and maybe it needs 20.2 or something.
It's too bad it checks for total remaining space available. That
partition already has a bunch of VPSes running on it. It'd be nice if
it could somehow (magically?) check to see how much space is already
being used by existing VPSes and treat it as available space. Or have
a flag to allow it to ignore testing for available space altogether.
Thanks!
Dusty
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]