OpenVZ Forum


Home » International » Russian » Расшарить устройство целиком
Re: Расшарить устройство целиком [message #40743 is a reply to message #40742] Mon, 27 September 2010 17:58 Go to previous messageGo to previous message
RXL_ is currently offline  RXL_
Messages: 147
Registered: July 2009
Location: Moscow/Russia
Senior Member
man vzctl

Quote:

--devices b|c:major:minor|all:[r][w][q]|none
Give the container an access to a block or character device designated by its major and minor numbers.
Device file have to be created manually.



# vzctl set 101 --devices b:9:all:rw --save



UPD: Хм. Ошибся я: sdb занимает диапазон 8:16..8:31. Видимо придется перечислить все 16 возможных девайсов сразу и более об этом не думать.


... мы преодолеваем эту трудность без синтеза распределенных прототипов. (с) Жуков М.С.

[Updated on: Mon, 27 September 2010 18:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debug upstart
Next Topic: Ошибка при старте контейнера
Goto Forum:
  


Current Time: Sat Aug 02 19:55:46 GMT 2025

Total time taken to generate the page: 0.84713 seconds