LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1102|回复: 6

freevxfs有用没?

[复制链接]
发表于 2005-7-31 16:00:16 | 显示全部楼层 |阅读模式
一直看到内核里面有freevxfs的代码,但是好像没有看到那里用过?也没有相关的程序(mkfs等),不知道诗拿来干啥的?在HPUX下一直用vxfs,感觉还不错。


最近被ext3搞得一塌糊涂,我有两个ext3的分区,每个498G,不知道这么大的文件系统对ext3是不是困难了点?系统REDHAT AS3
发表于 2005-7-31 16:59:37 | 显示全部楼层
建议用reiserfs,如果是生产型机器。

ext的文件系统不可靠,上次碧轩的服务器就是因为用了 ext的文件系统出的的事。

对XFS不太懂,不敢乱说,也没有用过。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-31 18:24:06 | 显示全部楼层
呵呵,我现在就是因为公安局的一个项目,有一个分区有逻辑错误,有部分不能写入,现在不知道怎么办好,那个分区498G,fsck不知道要检查到什么时候,上次试了一下,差不多了一个小时了还在0%。这个系统停一个小时都够呛。。。,原先还以为EXT3以稳定著称。。
btw:
我说的试Vxfs,就是veritas的文件格式。HPUX用这个,而Xfs是SGI的吧?
另外现在XFS的主页上下的XFS好像没有for 2.6内核的?而redhat又去掉了XFS的源码?
回复 支持 反对

使用道具 举报

发表于 2005-7-31 18:52:47 | 显示全部楼层
RH中reiserfs好像和selinux兼容不是很好。
回复 支持 反对

使用道具 举报

发表于 2005-7-31 21:34:45 | 显示全部楼层
XFS是可以的,不过rh坚持说ext3好……
xfs需要另外编译内核,标准的kernel 2.6中包含xfs
如果安装RHAS的时候想用xfs似乎不太可能
回复 支持 反对

使用道具 举报

发表于 2009-2-9 19:50:41 | 显示全部楼层

XFS在redhat AS5上的安装

1、get file:
http://centos.ustc.edu.cn/centos ... tos.plus.x86_64.rpm
http://centos.ustc.edu.cn/centos ... fs-0.4-2.x86_64.rpm
http://centos.ustc.edu.cn/centos ... 5.centos.x86_64.rpm

2、install
[root@mysql1 xfs]# rpm -ihv kernel-2.6.18-92.1.22.el5.centos.plus.x86_64.rpm
warning: kernel-2.6.18-92.1.22.el5.centos.plus.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
rpm -ihv kmod   [root@mysql1 xfs]# rpm -ihv kmod-xfs-0.4-2.x86_64.rpm
warning: kmod-xfs-0.4-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:kmod-xfs               ########################################### [100%]
rpm -i[root@mysql1 xfs]# rpm -ihv xfsprogs-2.9.4-1.el5.centos.x86_64.rpm
warning: xfsprogs-2.9.4-1.el5.centos.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:xfsprogs               ########################################### [100%]
/sbin/ldconfig: libraries libform.so.5.5 and libform.so.5.6 in directory /usr/lib have same soname but different type.
/sbin/ldconfig: libraries libncurses.so.5 and libncurses.so.5.5 in directory /usr/lib have same soname but different type.
/sbin/ldconfig: libraries libform.so.5.6 and libform.so.5.7 in directory /usr/lib have same soname but different type.
[root@mysql1 xfs]#
[root@mysql1 xfs]#
[root@mysql1 xfs]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.1.22.el5.centos.plus)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.1.22.el5.centos.plus ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-92.1.22.el5.centos.plus.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-8.el5.img
[root@mysql1 xfs]# reboot

3、mkfs.xfs  /dev/emcpowera2

4、mount /dev/emcpowera2 /xfs
回复 支持 反对

使用道具 举报

发表于 2009-2-9 20:03:41 | 显示全部楼层

XFS在redhat AS5上的安装

1、get file:
http://centos.ustc.edu.cn/centos ... tos.plus.x86_64.rpm
http://centos.ustc.edu.cn/centos ... fs-0.4-2.x86_64.rpm
http://centos.ustc.edu.cn/centos ... 5.centos.x86_64.rpm

2、install
[root@mysql1 xfs]# rpm -ihv kernel-2.6.18-92.1.22.el5.centos.plus.x86_64.rpm
warning: kernel-2.6.18-92.1.22.el5.centos.plus.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
rpm -ihv kmod   [root@mysql1 xfs]# rpm -ihv kmod-xfs-0.4-2.x86_64.rpm
warning: kmod-xfs-0.4-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:kmod-xfs               ########################################### [100%]
rpm -i[root@mysql1 xfs]# rpm -ihv xfsprogs-2.9.4-1.el5.centos.x86_64.rpm
warning: xfsprogs-2.9.4-1.el5.centos.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:xfsprogs               ########################################### [100%]
/sbin/ldconfig: libraries libform.so.5.5 and libform.so.5.6 in directory /usr/lib have same soname but different type.
/sbin/ldconfig: libraries libncurses.so.5 and libncurses.so.5.5 in directory /usr/lib have same soname but different type.
/sbin/ldconfig: libraries libform.so.5.6 and libform.so.5.7 in directory /usr/lib have same soname but different type.
[root@mysql1 xfs]#
[root@mysql1 xfs]#
[root@mysql1 xfs]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.1.22.el5.centos.plus)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.1.22.el5.centos.plus ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-92.1.22.el5.centos.plus.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-8.el5.img
[root@mysql1 xfs]# reboot

3、mkfs.xfs  /dev/emcpowera2

4、mount /dev/emcpowera2 /xfs
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表