Version 4 (modified by jazz, 14 years ago) (diff) |
---|
2010-09-03
Lustre
- 兩個我常用在管理 lustre 的 .bash_aliases 函數
function check_lustre { dsh -a "mount -t lustre -l" | grep biofs-OST | awk '{ print $7 }' | sort -n | nl sudo lctl dl | grep osc } function disable_lustre { if [ "$1" == "" ]; then echo "disable_lustre <OSTID>"; return 0; fi for i in `sudo lctl dl | grep osc | grep "$1" | awk '{ print $1 }'` do echo "lctl --device $i deactivate" sudo lctl --device $i deactivate done sudo dsh -a lctl dl | grep osc | grep "$1" }
munin
- 先前裝 munin 都還蠻方便的,可是最近在 debian testing 上測試,就一直出現 permission denied。今天終於知道原因了,因為新版的 munin 是產生在 /var/cache/munin/www 而非 /var/www/munin,此外在 apache 設定上預設也限制只能從 127.0.0.1 才能看。所以得把那行換掉。
-
munin
old new 1 1 Alias /munin /var/cache/munin/www 2 2 <Directory /var/cache/munin/www> 3 3 Order allow,deny 4 Allow from localhost 127.0.0.0/8 ::1 4 # Allow from localhost 127.0.0.0/8 ::1 5 Allow from all 5 6 Options None
-
netboot.me
Attachments (6)
- 0_netboot-any-key.png (22.9 KB) - added by jazz 14 years ago.
- 1_netboot-menu.png (24.9 KB) - added by jazz 14 years ago.
- 2_netboot-conf-id.png (23.1 KB) - added by jazz 14 years ago.
- 3_netboot-clonezilla-1.png (26.1 KB) - added by jazz 14 years ago.
- 4_netboot-clonezilla-2.png (74.3 KB) - added by jazz 14 years ago.
- netbootme.conf.png (96.7 KB) - added by jazz 14 years ago.
Download all attachments as: .zip