Advertisement
Guest User

Untitled

a guest
Sep 24th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.90 KB | None | 0 0
  1. [root@ArchLinux ~]# grep -Ei swap /var/log/cloud-init*
  2. /var/log/cloud-init-output.log:2020-09-23 21:59:21,516 - cc_mounts.py[WARNING]: Failed to create swapfile '/swapfile' of size 2048MB via fallocate: Unexpected error while running command.
  3. /var/log/cloud-init-output.log:Command: ['fallocate', '-l', '2048M', '/swapfile']
  4. /var/log/cloud-init-output.log:2020-09-23 21:59:21,530 - cc_mounts.py[WARNING]: failed to setup swap: [Errno 2] No such file or directory: '/swapfile'
  5. /var/log/cloud-init.log:2020-09-23 21:59:21,508 - cc_mounts.py[DEBUG]: Attempting to determine the real name of swap
  6. /var/log/cloud-init.log:2020-09-23 21:59:21,508 - cc_mounts.py[DEBUG]: changed default device swap => None
  7. /var/log/cloud-init.log:2020-09-23 21:59:21,508 - cc_mounts.py[DEBUG]: Ignoring nonexistent default named mount swap
  8. /var/log/cloud-init.log:2020-09-23 21:59:21,509 - cc_mounts.py[DEBUG]: suggest 2048.0 MB swap for 1983.95703125 MB memory with '9028.85546875 MB' disk given max=2048.0 MB [max=2048.0 MB]'
  9. /var/log/cloud-init.log:2020-09-23 21:59:21,509 - cc_mounts.py[DEBUG]: Creating swapfile in '/swapfile' on fstype 'ext4' using 'fallocate'
  10. /var/log/cloud-init.log:2020-09-23 21:59:21,509 - util.py[DEBUG]: Running command ['fallocate', '-l', '2048M', '/swapfile'] with allowed return codes [0] (shell=False, capture=True)
  11. /var/log/cloud-init.log:2020-09-23 21:59:21,516 - cc_mounts.py[WARNING]: Failed to create swapfile '/swapfile' of size 2048MB via fallocate: Unexpected error while running command.
  12. /var/log/cloud-init.log:Command: ['fallocate', '-l', '2048M', '/swapfile']
  13. /var/log/cloud-init.log:2020-09-23 21:59:21,529 - util.py[DEBUG]: Attempting to remove /swapfile
  14. /var/log/cloud-init.log:2020-09-23 21:59:21,530 - util.py[DEBUG]: Setting up swap file took 0.022 seconds
  15. /var/log/cloud-init.log:2020-09-23 21:59:21,530 - cc_mounts.py[WARNING]: failed to setup swap: [Errno 2] No such file or directory: '/swapfile'
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement