HP-UX
File System
하이안
2008. 12. 5. 16:44
1. Create the new file system
# newfs -F vxfs -o largefiles /dev/vg01/rlvol01
↑ ↑
2GB 이상 파일 생성을 위한 옵션 반드시 raw (character)형 device file 지정
2. Create a mount point directory for the file system
# mkdir /myfs1
3. Mount the new file system
# mount /dev/vg01/lvol01 /myfs1 ← mount 후에는 bdf 또는 mount -p 로 확인
4. Add the file system to the /etc/fstab file
# vi /etc/fstab
↑
여기에 define해놔야 다음 booting할 때에도 자동으로 mount해줌
5. Unmounting the file system (/etc/mnttab 참조)
# umount /myfs1