wiki:jazz/10-09-03

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
    • First, I boot my VirtualBox VM from netbootme.iso and press any key to see the options
    • Second, select "boot a config directory directly"
    • Here is a boot config that I had create, the id number of this config is 254001
    • Enter the config id number with 254001
    • After download clonezilla ISO image from the INTERNET, you will see it boot into Clonezilla Live as well.
Last modified 13 years ago Last modified on Jan 29, 2011, 10:24:46 AM

Attachments (6)

Download all attachments as: .zip