About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 06 Dec 2004 - 16:22:12 GMT


On Mon, Dec 06, 2004 at 04:56:12PM +0100, lukas.rueegg [pixworx multimedia] wrote:
> hi
> I've installed kernel 2.4.27 patched with vs-1.29 and quota-0.14. the
> configuration looks like the following:
>
> root_at_cayenne:/usr/local/src/cq-tools-0.06# mount
> /dev/sda3 on / type ext3 (rw,errors=remount-ro,tagctx)

this is your root filesystem, and it is mounted
before fstab is consulted, so it will not be
mounted with tagxid. why is it displayed? get
you favorite editor and modify /etc/mtab to find
out ...

check with the following sequence if a path has
tagxid support:

  touch /path/to/x && chxid -c 100 /path/to/x

in your case:

 touch /x && chxid -c 100 /x

if that gives: Function not implemented
then xid tagging isn't enabled on that filesystem

> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/sda1 on /boot type ext3 (rw)
> /dev/sda4 on /var/log type ext3 (rw)
>
> root_at_cayenne:/usr/local/src/cq-tools-0.06# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda3 56G 1.2G 52G 3% /
> /dev/sda1 45M 18M 25M 42% /boot
> /dev/sda4 9.2G 35M 8.6G 1% /var/log
>
>
> the vservers are located in /vservers (on /dev/sda3)

bad combination for tagxid vserver, as mentioned
in several places, you really should put the vservers
on a separate partition ...

(said that, at least one person has succeded to get
 a setup with tagxid running which uses just a single
 partition for system and vserver)

> I tried to activate the context disk limit as described in
> http://vserver.13thfloor.at/Linux2.6/index.php?page=Per+Context+Quota
>
> and after several other 'ways' but always failed at the following command:
>
> root_at_cayenne:/# cqhadd -v -x 49101 /dev/vroot/1
> adding quota hash for /dev/vroot/1 ... failed: Function not implemented
>
> does anybody has any idea what this could mean?

yep, as I said, tagxid is not enabled for that
partition ...

> the filesystem on /dev/sda3 is ext3.
>
> -> does the /vserver has to be mounted on a separate partition?

it would be advised.

> -> does this partition has to use LVM?

no, but it helps sometimes ...

HTH,
Herbert

> thanks for any hints
> regards, lukas.
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 06 Dec 2004 - 16:22:26 GMT by hypermail 2.1.3