2012-06-21 73 views
11

我有一个500个Linux框的集群,现在需要使用装载资源和绑定选项(请参阅man 8 mount)来支持chroot监狱。安装点需要在启动后执行和维护。我不确定如何用傀儡来形容这个国家。是这样吗?木偶 - 用绑定挂载

mount { "/gpfs20/home": 
    ensure => mounted, 
    name => "/chroot/centos5/home", 
    fstype => "none", 
    options => "(rw,bind)", 
} 

TIA - 查尔斯

+2

你会得到更好的服务器故障或Unix和Linux发布此StackExchange网站? – GrandMasterFlush

回答

14

对于是做这样的记录:

mount { '/chroot/centos5/home': 
    ensure => mounted, 
    device => '/gpfs20/home', 
    fstype => 'none', 
    options => 'rw,bind', 
} 

〜查尔斯〜