Disk addition and Increase Filesystem Size

Commands



df -g <FileSystem>
lspv
lspv | wc -l                                        #count the disk number before cfgmgr
sudo cfgmgr
# lspv | wc -l                                        #recount the disk number after cfgmgr
lspv
# sudo smitty hacmp                            #to check if its a cluster or not , it should not open the smitty.
#df -g
# lslv                                                    #lv name for that specific filesystem to get the VG name
# sudo bootinfo -s                                # to check the size of the disk
sudo chdev -l hdiskXX -a pv=yes      # Assigning the PVID
# sudo extendvg hdiskXX
# lspv
# df -g                                   #Check the size of filesystem
# sudo chfs -a size=+10G     # Increasing the size of the filesystem by 10GB
df -g




No comments:

Post a Comment