Re: [vserver] Device mapping

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 08 Mar 2011 - 16:29:53 GMT
Message-ID: <20110308162953.GJ24107@MAIL.13thfloor.at>

On Tue, Mar 08, 2011 at 05:19:32PM +0100, Furgerot Julien wrote:
> Dear VServer community,

> I'd like to map pipes /dev/pipeXX on host to /dev/pipe on each guest
> (one pipe assigned to one guest).

unix pipes are not devices, so they cannot be mapped by
the device mapper (besides the fact that device mapping
means something completely different ...)

> I tried this :
> # vdevmap --xid 40165 --device /dev/pipe01 --remap --target /dev/pipe
> vc_set_mapping(): Function not implemented

this means that your kernel was built with the device
mapper disabled, but as I said, wouldn't work for pipes
anyway ....

> Is this unimplemented function in vserver or in the main stream kernel ?
> Is there a version which implement it ?

> Sincerely,
> Julien Furgerot

> PS : Vserver is installed from debian kernel package on
> https://launchpad.net/~christoph-lukas/+archive/ppa.
> # vserver-info
> Versions:
>                    Kernel: 2.6.32-28-vserver
>                    VS-API: 0x00020305
>              util-vserver: 0.30.215; Aug  7 2009, 02:57:43

you definitely want to update util-vserver as this version
doesn't work correctly with recent kernels (not that your
kernel is really recent, but recent enough to need a newer
util-vserver)

best,
Herbert

> Features:
>                        CC: gcc, gcc (Ubuntu 4.4.1-1ubuntu3) 4.4.1
>                       CXX: g++, g++ (Ubuntu 4.4.1-1ubuntu3) 4.4.1
>                  CPPFLAGS: ''
>                    CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W
> -funit-at-a-time'
>                  CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> -fmessage-length=0 -funit-at-a-time'
>                build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
>              Use dietlibc: yes
>        Build C++ programs: yes
>        Build C99 programs: yes
>            Available APIs: v13,net,v21,v22,v23,netv2
>             ext2fs Source: e2fsprogs
>     syscall(2) invocation: alternative
>       vserver(2) syscall#: 236/glibc
>                crypto api: nss
>           python bindings: no
>    use library versioning: yes
> Paths:
>                    prefix: /usr
>         sysconf-Directory: /etc
>             cfg-Directory: /etc/vservers
>          initrd-Directory: $(sysconfdir)/init.d
>        pkgstate-Directory: /var/run/vservers
>           vserver-Rootdir: /var/lib/vservers
Received on Tue Mar 8 16:30:07 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 08 Mar 2011 - 16:30:07 GMT by hypermail 2.1.8