0% found this document useful (0 votes)
41 views2 pages

1) - Let's First Exam Volume Group:: To Create File System in AIX, Follow Procedure Below

1. The document outlines steps to create file systems in AIX: examine the volume group, create two JFS file systems of sizes 500MB and 1024MB within the volume group with specified mount points and permissions, and validate the newly created file systems.

Uploaded by

s_mullick
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

1) - Let's First Exam Volume Group:: To Create File System in AIX, Follow Procedure Below

1. The document outlines steps to create file systems in AIX: examine the volume group, create two JFS file systems of sizes 500MB and 1024MB within the volume group with specified mount points and permissions, and validate the newly created file systems.

Uploaded by

s_mullick
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

To create file system in AIX, follow procedure below: 1).

Let's first exam volume group:


# lsvg -p test_vg01 test_vg01: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk3 active 127 126 26..24..25..25..26 hdisk4 active 127 126 26..24..25..25..26 hdisk5 active 127 125 26..23..25..25..26 hdisk6 active 127 127 26..25..25..25..26 hdisk7 active 127 127 26..25..25..25..26 #

2). Create file system from volume group testvg using jfs format. The file system size is 500M and will be mounted to /fs1 (Note: for demo purposes, I will allocate only 500M)
# crfs -v jfs -g test_vg01 -a size=500M -m /fs1 Based on the parameters chosen, the new /fs1 JFS file system is limited to a maximum size of 134217728 (512 byte blocks)

The following command will create, within volume group test_vg01, a jfs2 file system of 1024MB with mounting point /fs2 and having read only permissions:
# crfs -v jfs2 -g test_vg01 -a size=1024M -p ro -m /fs2 File system created successfully. 1048340 kilobytes total disk space. New File System size is 2097152

3). Validate the file system created:


# lsfs Name Nodename Mount Pt VFS Size Options Auto Accounting /dev/hd4 -- / jfs2 131072 -- yes no /dev/hd1 -- /home jfs2 2097152 -- yes no /dev/hd2 -- /usr jfs2 3145728 -- yes no /dev/hd9var -- /var jfs2 131072 -- yes no /dev/hd3 -- /tmp jfs2 262144 -- yes no /proc -- /proc procfs -- -- yes no /dev/hd10opt -- /opt jfs2 262144 -- yes no /dev/lv00 -- /audit jfs 262144 rw yes no

/dev/lv02 -- /fs1 jfs 1024000 -- no no /dev/fslv00 -- /fs2 jfs2 2097152 ro no no

You might also like