Sunday, December 12 2010

最近碰到的一些问题

硬盘 西数新的2T硬盘(如:WD20EARS)采用了4K扇区,分区的时候要在1M处对齐,不然莫名其妙的高IO就来了。 SAS硬盘热插拔是没问题的,不过有时候拿到了做过RAID的盘就不能直接被系统识别,用相关的命令行工具删掉残缺的RAID卷,硬盘就出现了,不需要重启电脑去BIOS里搞。 LIGHTTPD1.4.x的mod_proxy存在事实上的内存泄漏,升级到1.4.28后在本机测试无泄漏,但是相同版本在服务器上的Ubuntu8.04始终会泄漏,以后有时间再追查一下。  […]

Continue reading

Sunday, July 18 2010

filesystem tuning - xfs

database & big filesfor raid:mkfs.xfs -d sunit=xxx,swidth=xxx  sunit = strip_size(byte) / 512  swidth = sunit * nr_raid_disksmount option:noatime,nodiratime,allocsize=128M  allocsize help reduce fragmentationfrag check:xfs_bmap /path/to/filexfs_db -c frag -r /dev/sda3defrag:xfs_fsr -t  […]

Continue reading

Saturday, August 22 2009

Dell raid tools in Gentoo

我涉及到的也就是PERC4(针对SCSI)和PERC5(针对SAS),实际都是LSI的MegaRAID系列产品,为了方便安装使用,特记录下:sys-block/dellmgr (SCSI) Dell PERC 2/3/4 RAID controller management tool 和RAID卡自带的管理界面一样,功能一样 界面标题:PERC/CERC Configuration Utility 5.32(May 05,2004)sys-block/megamgr (SCSI) LSI Logic MegaRAID Text User Interface management tool  […]

Continue reading