Hi

Thanks a lot! This give me the information that it is actually the
/var/lib/vz partition that have the problem...

I have uploaded a new version that at least display the correct partition
that have the problem (3.0.11-15)

See below.

On Wed, Mar 21, 2007 at 04:10:06PM -0700, Dusty Wilson wrote:
> >Could you give me the output when you run the command with strace?
> 
> Absolutely!  Here it is below.
> 
> ---
> hera:/# strace vzsplit -n 20
> execve("/usr/sbin/vzsplit", ["vzsplit", "-n", "20"], [/* 13 vars */]) = 0
> uname({sys="Linux", node="hera", ...})  = 0
...
> close(3)                                = 0
> munmap(0xb7fab000, 4096)                = 0
> statfs("/opt/vz", 0xbf9ada50)           = -1 ENOENT (No such file or 
> directory)
> statfs("/srv/vz", 0xbf9ada50)           = -1 ENOENT (No such file or 
> directory)
> statfs("/vz", 0xbf9ada50)               = -1 ENOENT (No such file or 
> directory)
> 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!

> write(2, "WARNING: /vz partition do not ha"..., 92WARNING: /vz
> partition do not have space required for 20 VPS
> The maximum allowed value is 0
> ) = 92
> 
> And just to be sure, the "/vz" symlink is gone:
> 
> ---
> 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.

Best regards,

// Ola

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to