OpenVZ Forum


Home » Mailing lists » Users » creating partition for VE and networking
Re: creating partition for VE and networking [message #12225 is a reply to message #12224] Sat, 21 April 2007 08:16 Go to previous messageGo to previous message
Daniel Pittman is currently offline  Daniel Pittman
Messages: 26
Registered: January 2007
Junior Member
Markus Hardiyanto <informatics2k1@yahoo.com> writes:

> the ability to make a vps can access devices on the HN seems can
> answer my requirement.

I really don't think your requirement is a good idea. Can you explain
why you want to do things that way?

> but to make it more complex, i want to use LVM for the partitioning.

That isn't any more complex: Linux treats LVM block devices in the same
fashion it treats any other block device, permissions included.

> is there any example on how to give a VE access to LVM partition?

vzctl set <veid> --devnodes 'mapper/mydevice:rw'

Again, though, I don't think you want to go down this path.

Why do you want to do things this way? There might be a better solution
to your problem.

Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact@digital-infrastructure.com.au
http://digital-infrastructure.com.au/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using NAT for VE with private IPs
Next Topic: adding secondary IP
Goto Forum:
  


Current Time: Sat Aug 09 09:35:19 GMT 2025

Total time taken to generate the page: 0.73580 seconds