2011年3月9日 星期三

最近

  • XFS + RAID5 + LVM = 66T Single Drive. 可以隨時擴充 Raid or LVM up to EB scale.
  • VMware workstation with vmrun command 可以控制很多行為 in Host and Guest.
  • PXE 開機 是個好東西 用來網路開機並回復系統, 值得深入一點看.
  • File system Limitations....16tb in linux can be solved by adupting XFS file system.
  • CentOS:
    yum install -y xfsprogs
    mkfs.xfs -b size=4096 /dev/hda
  • GetElementByID sometimes not work in IE and can be replace by using $("#123")[0].
  • There is a BUG on the File upload form in IE8, when user wants to get the file path, the method to solve is as: 
    • var f = document.getElementById(filefield);
    • f.select();  
    • var filename = document.selection.createRange().text;
  • For showing Ajax status, place following codes in the begin and end of Ajax request:
    • $("#status", window.parent.frames[0].document).show();
    • $("#status", window.parent.frames[0].document).hide();
  • Mdadm
    • 可以不用等 sync, ----- mdadm --create --assume-clean /dev/md4 --level=raid5 --raid-devices=4 /dev/sd{n,o,p,q}

沒有留言:

張貼留言