First find how much space available to extend
[root@xxx-bac02 ~]# vgdisplay -s
"VGExaDb" 3.27 TiB [185.00 GiB used / 3.09 TiB free]
[root@xxx-bac02 ~]# vgdisplay -s
"VGExaDb" 3.27 TiB [185.00 GiB used / 3.09 TiB free]
Here we have 3.09TB free
First check the existing size of /u01
df -kh |grep u01
/dev/mapper/VGExaDb-LVDbOra1 99G 27G 67G 29% /u01
Currently it is 100GB
I want to increase to 150GB
So here are the commands
lvresize -L +50G /dev/mapper/VGExaDb-LVDbOra1
resize2fs /dev/mapper/VGExaDb-LVDbOra1
Now if you recheck the size again
df -kh |grep u01
/dev/mapper/VGExaDb-LVDbOra1 148G 36G 105G 26% /u01
**********************************************
For XFS file system on new exadata machines
determine if it xfs or ext etc
[root@nasipedwdb-bac02 ~]# df -Th |grep /
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VGExaDb-LVDbSys1 xfs 15G 12G 3.3G 79% /
lvresize -L +50G /dev/mapper/VGExaDb-LVDbSys1
xfs_growfs -d /
[root@nasipedwdb-bac02 ~]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VGExaDb-LVDbSys1 65G 12G 54G 19% /
*********************************************
creating swapspace on exadata
[root@n dev]# swapon -s
Filename Type Size Used Priority
/dev/dm-4 partition 16777212 0 -2
Add 110gb swap file
dd if=/dev/zero of=/swapspace bs=1M count=112640
mkswap /swapspace
chmod 600 swapspace
swapon /swapspace
swapon -s
Filename Type Size Used Priority
/dev/dm-4 partition 16777212 0 -2
/swapspace file 115343356 0 -3
[root@ /]# free -g
total used free shared buff/cache available
Mem: 1007 382 341 48 283 555
Swap: 125 0 125
El Cajonero Salsa Picante de Chile Habanero, 4oz. - Mapyro
ReplyDeleteA very 김해 출장마사지 spicy Habanero hot sauce, made in Mexico. The consistency 경산 출장마사지 of El Cajonero chiles is 고양 출장안마 very uniform, with 안양 출장마사지 a slightly 광주 출장마사지 smoky, smoky flavour.