[openvps-dev] tagxid
Gregory (Grisha) Trubetskoy
grisha at ispol.com
Fri Aug 12 14:49:26 EDT 2005
Well... Without tagxid you will not be able to restrict disk space usage
per-vps, and mounting your / with tagxid is probably not a good idea
since a non VServer kernel will not be able to mount it.
Generally, I've never tested OpenVPS on a system where /vservers was not a
spearate partition. Definitely the ovbackup script will not like it
because it assumes it's a "dumpable" mount point.
One workaround may be to create a loop-mounted filesystem, e.g for 1GB
(you'll probably need more than that though).
# dd if=/dev/zero of=/VSERVERS bs=1M count=1000
# losetup /dev/loop0 /VSERVERS
# mkfs.ext3 /dev/loop0
# mount -o tagxid /dev/loop0 /vservers
If you need for it to mount on startup, you'll need write an init script
for it, or as a hack stick it rc.sysinit or something....
Grisha
On Fri, 12 Aug 2005, Roderick A. Anderson wrote:
> Following the instructions at
> http://www.openvps.org/Plone/docs/developer/openvps-howto
> this jumped out at me.
>
> I have a single partition RAID system ( beside the swap ) no /vservers
> partition. Do I need to change it to tagxid and are there any possible
> problems doing this?
>
> Here is my fstab:
>
> /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
> /dev/rd/c0d0p1 /boot ext3 defaults 1 2
> none /dev/pts devpts gid=5,mode=620 0 0
> none /dev/shm tmpfs defaults 0 0
> none /proc proc defaults 0 0
> none /sys sysfs defaults 0 0
> /dev/VolGroup00/LogVol01 swap swap defaults 0 0
> /dev/hda /media/cdrom auto pamconsole,exec,noauto,
> /dev/scd0 /media/cdrecorder auto pamconsole,exec,noauto,
> /dev/fd0 /media/floppy auto pamconsole,exec,noauto,
>
>
> I already sent this to Grisha before I realized/remembered I as on this
> list.
>
>
> TIA,
> Rod
> --
> "Open Source Software - You usually get more than you pay for..."
> "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
>
>
>
> _______________________________________________
> dev mailing list
> dev at openvps.org
> http://dev.openhosting.com/mailman/listinfo/dev
>
More information about the dev
mailing list