[Users] Re: Enabling hardware access in VPS
Sergej Kandyla
sk.paix at gmail.com
Tue Aug 4 04:57:54 EDT 2009
Vidhya Nagarajan пишет:
> I don't see this file. I only find /etc/vz/conf/$VEID.conf.
You should create /etc/vz/conf/$VEID.mount file for this.
Please look on my sample conf:
mysrv # cat /etc/vz/conf/114133.mount
-------------------
#!/bin/bash
. /etc/vz/vz.conf
mount -n -o bind /mnt/data $VE_ROOT/mnt/data
-------------------
no umount script is needed.
You could refer to http://forum.openvz.org/index.php?t=msg&goto=12027&
for more details.
This way describe how to mount a folder from HN to VE.
But I don't know does this solution help you with your /proc/diskstats file.
>
> Can someone please help me figure this out!
>
> Thanks,
> Vidhya
>
> On Fri, Jul 31, 2009 at 3:34 PM, Suno Ano <suno.ano at sunoano.org
> <mailto:suno.ano at sunoano.org>> wrote:
>
> Vidhya> How can the /proc/diskstats file be made available to a VPS?
>
> I would try with the mount/umount scripts i.e. those are executed
> when a
> VE gets mounted/umounted
>
> - /etc/vz/conf/$VEID.mount
> - /etc/vz/conf/$VEID.umount
>
--
Best wishes, Sergej Kandyla
http://paix.org.ua
More information about the Users
mailing list