Dalam tulisan singkat ini akan dibahas mengenai pembuatan pastisi atau file system baru di System operasi AIX
Kita akan membuat file system sebagai berikut
- Nama logical volume = test_lv
- Tipe File System : JFS2 (Mengenai JSF2 bisa di baca di http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/fs_jfs_jfs2.htm)
- Mount point /test
Ok kita akan mulai membuat Logical Volume terlebih dahulu ketik : smitty lv
smitty lv
Move cursor to desired item and press Enter.
 List All Logical Volumes by Volume Group
 Add a Logical Volume Â
 Set Characteristic of a Logical Volume
 Show Characteristics of a Logical Volume
 Remove a Logical Volume
 Copy a Logical Volume
--> Pilih Add a Logical Volume
                                                       [Entry Fields]
 Logical volume NAME                               [test_lv]
* VOLUME GROUP name                                  rootvg
* Number of LOGICAL PARTITIONSÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [40]Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â #
 PHYSICAL VOLUME names                             []                                                                                                  +
 Logical volume TYPE                               [jfs2]                                                                                              +
 POSITION on physical volume                        middle                                                                                             +
 RANGE of physical volumes                          minimum                                                                                            +
 MAXIMUM NUMBER of PHYSICAL VOLUMES                []                                                                                                   #
   to use for allocation
 Number of COPIES of each logical                   1                                                                                                  +
   partition
 Mirror Write Consistency?                          active                                                                                             +
 Allocate each logical partition copy               yes                                                                                                +
   on a SEPARATE physical volume?
 RELOCATE the logical volume during                 yes                                                                                                +
   reorganization?
 Logical volume LABEL                              []
 MAXIMUM NUMBER of LOGICAL PARTITIONS              [512]                                                                                                #
 Enable BAD BLOCK relocation?                       yes                                                                                                +
 SCHEDULING POLICY for writing/reading              parallel                                                                                           +
   logical partition copies
 Enable WRITE VERIFY?                               no                                                                                                 +
 File containing ALLOCATION MAP                    []
 Stripe Size?                                      [Not Striped]                                                                                       +
 Serialize IO?                                      no                                                                                                 +
Keterangan
Number of LOGICAL PARTITIONSÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [40]
1 blok LOGICAL PARTITIONS bernilai 256 MB, maka nilai 40 tesebut sama artinya 40x256 = 10240 MB atau 10 GB
Kalo sudah selesai tekan enter
smitty jfs2
Add an Enhanced Journaled File System
Add an Enhanced Journaled File System on a Previously Defined Logical Volume --- > Pilih ini
Change / Show Characteristics of an Enhanced Journaled File System
Remove an Enhanced Journaled File System
Manage Quotas for an Enhanced Journaled File System
Defragment an Enhanced Journaled File System
List Snapshots for an Enhanced Journaled File System
Create Snapshot for an Enhanced Journaled File System
Mount Snapshot for an Enhanced Journaled File System
Remove Snapshot for an Enhanced Journaled File System
Unmount Snapshot for an Enhanced Journaled File System
Change Snapshot for an Enhanced Journaled File System
Rollback an Enhanced Journaled File System to a Snapshot
Â
* LOGICAL VOLUME name                                test_lv                                                                                           +
* MOUNT POINTÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [/test]
 Mount AUTOMATICALLY at system restart?             yes                                                                                                +
 PERMISSIONS                                        read/write                                                                                         +
 Mount OPTIONS                                     []                                                                                                  +
 Block Size (bytes)                                 4096                                                                                               +
 Logical Volume for Log                                                                                                                                 +
 Inline Log size (MBytes)                          []                                                                                                   #
 Extended Attribute Format                          Version 1                                                                                          +
 ENABLE Quota Management?                           no                                                                                                 +
Tekan Enter
Hasil :
Command: OK           stdout: yes          stderr: no
Before command completion, additional instructions may appear below.
File system created successfully.
10485236 kilobytes total disk space.
New File System size is 20971520
Ok pembuatan file sytem udah selesai, lalu kita perlu mount file system tersebut
[aix-server:root:/:] mount /test
Kita cek apakah sudah terbuat file system tersebut
[aix-server:root:/:] df -g
Filesystem   GB blocks     Free %Used   Iused %Iused Mounted on
/dev/hd4Â Â Â Â Â Â Â Â Â Â 0.50Â Â Â Â Â 0.41Â Â 19%Â Â Â Â 5499Â Â Â Â 6% /
/dev/hd2Â Â Â Â Â Â Â Â Â Â 3.00Â Â Â Â Â 1.17Â Â 61%Â Â Â 41470Â Â Â 14% /usr
/dev/hd9var       0.50     0.23  55%    8788   14% /var
/dev/hd3Â Â Â Â Â Â Â Â Â 10.00Â Â Â Â Â 9.92Â Â Â 1%Â Â Â Â Â 411Â Â Â Â 1% /tmp
/dev/fwdump       1.00     0.99   1%       5    1% /var/adm/ras/platform
/dev/hd1Â Â Â Â Â Â Â Â Â Â 0.25Â Â Â Â Â 0.25Â Â Â 1%Â Â Â Â Â Â 49Â Â Â Â 1% /home
/proc                -        -   -        -    - /proc
/dev/hd10opt      0.50     0.20  60%    9701   17% /opt
/dev/lv00Â Â Â Â Â Â Â Â Â 0.25Â Â Â Â Â 0.24Â Â Â 4%Â Â Â Â Â Â 18Â Â Â Â 1% /var/adm/csd
/dev/data_lv    100.00    65.47  35%      23    1% /data
/dev/index_lv   100.00    92.34   8%      14    1% /index
/dev/redo_lv     10.00     9.90   2%      11    1% /redo
/dev/undo_lv     60.00    57.41   5%      18    1% /undo
/dev/ora_lv      40.00    35.49  12%   65492    1% /oracle
/dev/source_lv    10.00     4.31  57%    5867    1% /source
/dev/share_lv    10.00    10.00   1%       6    1% /appshare
/dev/bckp_lv    100.00    99.98   1%       4    1% /backup
/dev/test_lv     10.00    10.00   1%       4    1% /test
Dari hasil diatas bisa dilihat sudah terbuat file system dengan mount point /test dengan ukuran 10 GB
Untuk Cek Free PPS / Logical Volume yang masih bisa kita buat partisi ketik lsvg [nama logical volume]
[aix-server:root:/test:] lsvg rootvg -->> nama logical volume
VOLUME GROUP:      rootvg                  VG IDENTIFIER: 00f6110500004c00000001287fd93537
VG STATE:          active                  PP SIZE:       256 megabyte(s)
VG PERMISSION:     read/write              TOTAL PPs:     1092 (279552 megabytes)
MAX LVs:Â Â Â Â Â Â Â Â Â Â Â 256Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â FREE PPs:Â Â Â Â Â Â 54 (13824 megabytes)
LVs:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 20Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â USED PPs:Â Â Â Â Â Â 1038 (265728 megabytes)
OPEN LVs:Â Â Â Â Â Â Â Â Â Â 19Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â QUORUM:Â Â Â Â Â Â Â Â 1 (Disabled)
TOTAL PVs:Â Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â VG DESCRIPTORS: 3
STALE PVs:Â Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â STALE PPs:Â Â Â Â Â 0
ACTIVE PVs:Â Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â AUTO ON:Â Â Â Â Â Â Â yes
MAX PPs per VG:Â Â Â Â 32512
MAX PPs per PV:Â Â Â Â 1016Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â MAX PVs:Â Â Â Â Â Â Â 32
LTG size (Dynamic): 1024 kilobyte(s)Â Â Â Â Â Â Â Â AUTO SYNC:Â Â Â Â Â no
HOT SPARE:         no                      BB POLICY:     relocatable
Mengapus file system
Untuk menghapus file system sebelumnya unmount file system yang akan di remove
[aix-server:root:/:] umount /test
lalu untuk menghapus file system ketik
[aix-server:root:/:] rmfs /test
rmlv: Logical volume test_lv is removed.
Terima kasih.
Semoga bermanfaat















