dd if=/dev/zero of=/tmp/additionalswap bs=1048576 count=2100
chmod 600 /tmp/additionalswap
mkswap /tmp/additionalswap
swapon /tmp/additionalswap
-------------------------------------------------------------------
root@eps48 database]# dd if=/dev/zero of=/tmp/additionallswap bs=3048576 count=2100
2100+0 records in
2100+0 records out
6402009600 bytes (6,4 GB) copied, 22,8741 s, 280 MB/s
[root@eps48 database]# chmod 600 /tmp/additionallswap
[root@eps48 database]# mkswap /tmp/additionallswap
Setting up swapspace version 1, size = 6251956 KiB
no label, UUID=9b27b9de-ff51-4766-8874-a34382dc3952
[root@eps48 database]# swapon /tmp/additionallswap
[root@eps48 database]# cd /tmp/
[root@eps48 tmp]# ls -l
total 8402388
-rw-------. 1 root root 6402009600 Okt 14 21:34 additionallswap
-rw-------. 1 root root 2202009600 Okt 14 21:31 additionalswap
-rw-r--r--. 1 root root 2871 Okt 14 18:13 anaconda.log
drwxr-xr-x. 4 oracle dba 133 Okt 14 21:34 CVU_11.2.0.1.0_oracle
drwxr-xr-x. 2 oracle dba 19 Okt 14 21:22 hsperfdata_oracle
drwxr-xr-x. 2 root root 18 Okt 14 17:51 hsperfdata_root
-rw-r--r--. 1 root root 9025 Okt 14 18:13 ifcfg.log
-rwx------. 1 root root 836 Okt 14 18:06 ks-script-hWfCF3
drwxr-xr-x. 2 oracle dba 6 Okt 14 21:22 logs
drwxr-x---. 10 oracle dba 278 Okt 14 21:22 OraInstall2020-10-14_09-22-06PM
-rw-r--r--. 1 root root 0 Okt 14 18:12 packaging.log
-rw-r--r--. 1 root root 116 Okt 14 18:13 program.log
-rw-r--r--. 1 root root 0 Okt 14 18:12 sensitive-info.log
-rw-r--r--. 1 root root 0 Okt 14 18:12 storage.log
drwx------. 3 root root 17 Okt 14 18:48 systemd-private-2191eea963a94a269cd99a160bc254c1-colord.service-X5EjZ4
drwx------. 3 root root 17 Okt 14 18:48 systemd-private-2191eea963a94a269cd99a160bc254c1-cups.service-HsmyAj
drwx------. 3 root root 17 Okt 14 18:48 systemd-private-2191eea963a94a269cd99a160bc254c1-rtkit-daemon.service-BwLnIJ
drwx------. 2 root root 6 Okt 14 18:14 tracker-extract-files.0
-rw-------. 1 root root 0 Okt 14 17:37 yum.log
[root@eps48 tmp]#
Tidak ada komentar:
Posting Komentar