Red Hat Scalable File System 즉 XFS 파일 시스템에 대한 특징을 설명해 놓은 내용이다.
또한 어디서 패키지를 얻거나 설치할 수 있는지에 대한 설명을 포함한다.
Environment
- Red Hat Enterprise Linux 5.5 또는 그 이상버젼
- x86_64 아키텍쳐
Resolution
Red Hat Scalable File System은 RHEL 5 64BIT에서 지원하는 XFS 파일시스템이다. XFS는 아주 큰 파일시스템에 적합하게 설계되었고, 4TB이상 필요할때 , HIGH END 서버를 이용하거나 , 성능이 필요시에 XFS를 쓸수 있겠다.
XFS는 또한 저널링과 매우 큰 파일시스템을 지원한다.
특징:
- Extent based allocation for speed and efficiency in large file management
- Space pre-allocation to minimize fragmentation
- File system freeze/thaw support
- Project quotas for directories
- Efficient repair tools
- Integrated backup and restore utilities
XFS 설치
- Red Hat Scalable File System 은 서브스크립션이 따로 필요하다(RHEL에 그냥 포함되어 있지 않고 따로 사야한다.)
- Red Hat Scalable File System 은 RHN으로만 설치가 가능하다
- Satellite 고객들은 추가된 새로운 채널을 포함시켜야 한다.
Limitations 과 Requirements
- Red Hat Scalable File System 은 오직 x86_64 아키텍쳐만 지원한다.
- 현재 Red Hat Scalable File System를 위한 인스톨러는 따로 없다.
- XFS 파일시스템은 OS설치후에 만들 수 있다.
- XFS 파일시스템은 BOOT/ROOT 파티션을 지원하지 않는다.
- 파일시스템 사이즈의 제한은 100TB
- 최소 Red Hat Enterprise Linux 5.5 (kernel-2.6.18-194.el5.x86_64) 가 필요하다
- rhn-setup-0.4.20-33.el5_5.1.noarch is useful
Step-by-Step 설치하기
- Red Enterprise Linux 5.5 64BIT를 설치하고 rhn을 등록한다.
- Red Hat Network 채널에서 Red Hat Scalable File System 채널을 추가한다.
3.XFS 유틸리티 설치
# yum install xfsprogs xfsdump
4. XFS 파일시스템 만들기
mkfs.xfs fs_spec
5. fstab로 마운트 하기
<< fs_spec fs_file xfs fs_mntops fs_freq fs_passno >>
6. 아래의 추가적인 유틸과 관련 파일들이 설치된다.
/sbin/fsck.xfs
/sbin/mkfs.xfs
/sbin/xfs_repair
/usr/sbin/xfs_admin
/usr/sbin/xfs_bmap
/usr/sbin/xfs_check
/usr/sbin/xfs_copy
/usr/sbin/xfs_db
/usr/sbin/xfs_freeze
/usr/sbin/xfs_growfs
/usr/sbin/xfs_info
/usr/sbin/xfs_io
/usr/sbin/xfs_logprint
/usr/sbin/xfs_mdrestore
/usr/sbin/xfs_metadump
/usr/sbin/xfs_mkfile
/usr/sbin/xfs_ncheck
/usr/sbin/xfs_quota
/usr/sbin/xfs_rtcp
/sbin/xfsdump
/sbin/xfsrestore
/usr/sbin/xfs_estimate
/usr/sbin/xfs_fsr
/usr/sbin/xfsdump
/usr/sbin/xfsinvutil
/usr/sbin/xfsrestore
출처:https://access.redhat.com/kb/docs/DOC-34465
