wiki:jazz/10-09-03

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  
      11Alias /munin /var/cache/munin/www
      22<Directory /var/cache/munin/www>
      33        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
      56        Options None

netboot.me

  • 使用 netbootme.iso 啟動 Clonezilla Live CD

Attachments (6)

Download all attachments as: .zip