-----------------------------------------------------------
语言环境变量更改
********************
LANG=zh_CN.UTF8
/etc/sysconfig/i18n
------------------------------------------------------------
mount挂载参数
*****************
uid,gid,ro
mount -o ro,uid=linux,gid=linux,umask=0077 /dev/sdb1 /mnt/d
------------------------------------------------------------
mkfs磁盘块大小的影响
***********************
-b block 块大小
-i inode 节点大小
-m 保留块百分比reserved block count
-------
mkfs.ext3 -b -i -m 2 1024 /dev/sdb1
mkfs.ext3 -b -i -m 2 4096 /dev/sdb2
-------------------------------------------------------------
echo "hi" >/mnt/d[12]/test
du -sh /mnt/d[12]/test
-------------------------------------------------------------
tune2fs调整ext3文件系统
***************************
-l 查看文件系统信息(block,inode,reserved block count)
-c 设置强制自检的挂载次数
-i interval between check 设置强制自检的间隔时间
-m 最大保留块大小
-j add an ext3 journal to ext2 转换ext2分区成ext3
------------
tune2fs -l /dev/sdb1 |grep -i "reserved"
tune2fs -c -1 -i 0 /dev/sdb1
tune2fs -m 10 /dev/sdb1
---------------------------------------------------------------
df -T
******************
打印出分区类型,-T print file system type
-----------------------------------------------------------------
fsck文件系统检查工具
*****************************