기존에 gpfs 구성이 되어있다. 

gpfs 영역 /app 2000GB 증설


1. 스토리지에서 lun 할당
xxx_share_vol_26 ~45

2. 서버 현재 pv확인
[root@xxx01:/]lspv
hdisk0          00ce2f578532e28b                    rootvg          active
hdisk1          00ce2f57d8bfebb2                    swvg            active
hdisk2          00ce2f57d8bfebdb                    swvg            active
hdisk3          00ce2f57abe8c760                    tbnsd1
hdisk4          00ce2f57abe8c78a                    tbnsd2
hdisk5          00ce2f57abe8c7b4                    tbnsd3
hdisk6          00ce2f57abe8c7de                    app_nsd01
hdisk7          00ce2f57abe8c808                    app_nsd02
hdisk8          00ce2f57abe8c832                    app_nsd03
hdisk9          00ce2f57abe8c85c                    app_nsd04
hdisk10         00ce2f57abe8c887                    app_nsd05
hdisk11         00ce2f57abe8c8b1                    app_nsd06
hdisk12         00ce2f570608599a                    app_nsd07
hdisk13         00ce2f5706086419                    app_nsd08
hdisk14         00ce2f5706086d93                    app_nsd09
hdisk15         00ce2f570608799a                    app_nsd10
hdisk16         00ce2f5748137973                    app_nsd11
hdisk17         00ce2f57481379b3                    app_nsd12
hdisk18         00ce2f57481379ec                    app_nsd13
hdisk19         00ce2f5748137a2f                    app_nsd14
hdisk20         00ce2f5748137a70                    app_nsd15
hdisk21         00ce2f5748137aab                    app_nsd16
hdisk22         00ce2f5748137ae2                    app_nsd17
hdisk23         00ce2f5748137b22                    app_nsd18
hdisk24         00ce2f5748137b61                    app_nsd19
hdisk25         00ce2f5748137b9a                    app_nsd20


3. fc path 하드웨어 재인식

    cfgmgr -vl fcs1; cfgmgr -vl fcs3


4.  각 노드별로 추가된 disk pv =yes

chdev -l hdisk26 -a pv=yes 
chdev -l hdisk27 -a pv=yes 
chdev -l hdisk28 -a pv=yes 
chdev -l hdisk29 -a pv=yes 
chdev -l hdisk30 -a pv=yes 
chdev -l hdisk31 -a pv=yes 
chdev -l hdisk32 -a pv=yes 
chdev -l hdisk33 -a pv=yes 
chdev -l hdisk34 -a pv=yes 
chdev -l hdisk35 -a pv=yes 
chdev -l hdisk36 -a pv=yes 
chdev -l hdisk37 -a pv=yes 
chdev -l hdisk38 -a pv=yes 
chdev -l hdisk39 -a pv=yes 
chdev -l hdisk40 -a pv=yes 
chdev -l hdisk41 -a pv=yes 
chdev -l hdisk42 -a pv=yes 
chdev -l hdisk43 -a pv=yes 
chdev -l hdisk44 -a pv=yes 
chdev -l hdisk45 -a pv=yes 

 

5.  cd /var/mmfs/etc
vi app_2000G_app.txt

/dev/hdisk26:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd21
/dev/hdisk27:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd22
/dev/hdisk28:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd23
/dev/hdisk29:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd24
/dev/hdisk30:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd25
/dev/hdisk31:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd26
/dev/hdisk32:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd27
/dev/hdisk33:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd28
/dev/hdisk34:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd29
/dev/hdisk35:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd30
/dev/hdisk36:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd31
/dev/hdisk37:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd32
/dev/hdisk38:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd33
/dev/hdisk39:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd34
/dev/hdisk40:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd35
/dev/hdisk41:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd36
/dev/hdisk42:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd37
/dev/hdisk43:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd38
/dev/hdisk44:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd39
/dev/hdisk45:xxx01-gpfs,xxx02-gpfs::dataAndMetadata::app_nsd40


6. mmcrnsd -F ./app_2000G_app.txt

 

7. mmadddisk /dev/app -F ./app_2000G_app.txt

GPFS: 6027-531 The following disks of app will be formatted on node xxx02:
    app_nsd21: size 104857600 KB
    app_nsd22: size 104857600 KB
    app_nsd23: size 104857600 KB
    app_nsd24: size 104857600 KB
    app_nsd25: size 104857600 KB
    app_nsd26: size 104857600 KB
    app_nsd27: size 104857600 KB
    app_nsd28: size 104857600 KB
    app_nsd29: size 104857600 KB
    app_nsd30: size 104857600 KB
    app_nsd31: size 104857600 KB
    app_nsd32: size 104857600 KB
    app_nsd33: size 104857600 KB
    app_nsd34: size 104857600 KB
    app_nsd35: size 104857600 KB
    app_nsd36: size 104857600 KB
    app_nsd37: size 104857600 KB
    app_nsd38: size 104857600 KB
    app_nsd39: size 104857600 KB
    app_nsd40: size 104857600 KB
Extending Allocation Map
Checking Allocation Map for storage pool system
GPFS: 6027-1503 Completed adding disks to file system app.
mmadddisk: 6027-1371 Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.


[root@xxx01:/var/mmfs/etc]mmdf /dev/app
disk                disk size  failure holds    holds              free KB             free KB
name                    in KB    group metadata data        in full blocks        in fragments
--------------- ------------- -------- -------- ----- -------------------- -------------------
Disks in storage pool: system (Maximum disk size allowed is 1.2 TB)
app_nsd01           104857600       -1 yes      yes         8365056 (  8%)      26813984 (26%)
app_nsd02           104857600       -1 yes      yes         8465920 (  8%)      26065520 (25%)
app_nsd03           104857600       -1 yes      yes         8088064 (  8%)      26130688 (25%)
app_nsd04           104857600       -1 yes      yes         8176640 (  8%)      26392320 (25%)
app_nsd05           104857600       -1 yes      yes         8171008 (  8%)      27328720 (26%)
app_nsd06           104857600       -1 yes      yes         8230400 (  8%)      26214656 (25%)
app_nsd07           104857600       -1 yes      yes          696832 (  1%)      39799472 (38%)
app_nsd08           104857600       -1 yes      yes          759808 (  1%)      37066608 (35%)
app_nsd09           104857600       -1 yes      yes          712192 (  1%)      37374512 (36%)
app_nsd10           104857600       -1 yes      yes          703488 (  1%)      40563808 (39%)
app_nsd11           104857600       -1 yes      yes        43102720 ( 41%)       3749840 ( 4%)
app_nsd12           104857600       -1 yes      yes        43127296 ( 41%)       3768288 ( 4%)
app_nsd13           104857600       -1 yes      yes        43124736 ( 41%)       3750608 ( 4%)
app_nsd14           104857600       -1 yes      yes        43133952 ( 41%)       3762480 ( 4%)
app_nsd15           104857600       -1 yes      yes        43147776 ( 41%)       3746224 ( 4%)
app_nsd16           104857600       -1 yes      yes        43160576 ( 41%)       3764496 ( 4%)
app_nsd17           104857600       -1 yes      yes        43165696 ( 41%)       3755456 ( 4%)
app_nsd18           104857600       -1 yes      yes        43170816 ( 41%)       3777248 ( 4%)
app_nsd19           104857600       -1 yes      yes        43291136 ( 41%)       3758384 ( 4%)
app_nsd20           104857600       -1 yes      yes        43585536 ( 42%)       3745024 ( 4%)
app_nsd21           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd22           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd23           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd24           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd25           104857600       -1 yes      yes       104854528 (100%)           496 ( 0%)
app_nsd26           104857600       -1 yes      yes       104854528 (100%)           496 ( 0%)
app_nsd27           104857600       -1 yes      yes       104854528 (100%)           496 ( 0%)
app_nsd28           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd29           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd30           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd31           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd32           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd33           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd34           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd35           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd36           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd37           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd38           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd39           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
app_nsd40           104857600       -1 yes      yes       104855040 (100%)           496 ( 0%)
                -------------                         -------------------- -------------------
(pool total)       4194304000                            2581478912 ( 62%)     351338256 ( 8%)

                =============                         ==================== ===================
(total)            4194304000                            2581478912 ( 62%)     351338256 ( 8%)

Inode Information
-----------------
Number of used inodes:        60087378
Number of free inodes:         3463086
Number of allocated inodes:   63550464
Maximum number of inodes:     63550464
[root@xxx01:/var/mmfs/etc]df -gt
Filesystem    GB blocks      Used      Free %Used Mounted on
/dev/hd4          20.00      0.72     19.28    4% /
/dev/hd2          30.00      4.66     25.34   16% /usr
/dev/hd9var       20.00      0.47     19.53    3% /var
/dev/hd3          10.00      1.75      8.25   18% /tmp
/dev/hd1          20.00      0.01     19.99    1% /home
/dev/hd11admin      0.50      0.00      0.50    1% /admin
/proc                 -         -         -    - /proc
/dev/hd10opt       5.00      0.59      4.41   12% /opt
/dev/livedump      0.50      0.00      0.50    1% /var/adm/ras/livedump
/dev/ibmlv        20.00      3.83     16.17   20% /ibm
/dev/swlv         55.00     37.50     17.50   69% /sw
/dev/swloglv     100.00     63.91     36.09   64% /log
/dev/veritaslv      5.00      2.59      2.41   52% /veritas
/dev/app        4000.00   1538.11   2461.89   39% /app

'IT > aix' 카테고리의 다른 글

PowerHA 시 Interface is not configured in AIX 에러 발생 시  (0) 2020.11.12
aix 6.1.9.3 -> 6.1.9.12 SP update  (0) 2020.11.02
nmon 사용법 및 cron  (0) 2018.12.03
유저당 process 수 지정하기  (0) 2018.08.24
aix vg lv 생성  (0) 2018.08.24

+ Recent posts