Our webserver filled up its disk making it impossible to log into the instance. We resized the disk from 10gb to 100gb and we're still unable to login. I've tried creating new a server from a snapshot, creating a new instance from an image and even tried attaching a copy of the disk to an existing server, which caused the existing server to also fail(I'm unable to login). I'm assuming that the partition needs to be resized but seeing as I can't log into the machine, that's impossible.
The startup log(pulled from serial port) indicates that theres no space left on device but there should be plenty of space after resize. However, I can't login to the instance, even through serial port. All of our blogs are stored on this server, so I need a way to get access to the data on the disk.
[ OK ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
[ 7.939339] systemd-journald[426]: Failed to open system journal: No space left on device
[ 7.940946] systemd-journald[426]: Failed to open system journal: No space left on device
[ 7.942235] systemd-journald[426]: Failed to open system journal: No space left on device
[ 7.947117] systemd-journald[426]: Failed to open system journal: No space left on device
[ 7.948522] systemd-journald[426]: Failed to open system journal: No space left on device
[ OK ] Started udev [ 7.951801] systemd-journald[426]: Failed to open system journal: No space left on device
Jul 14 08:57:59 webserver google-accounts: ERROR Exception calling the response handler. [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'].#012Traceback (most recent call last):#012 File "/usr/lib/python3/dist-packages/google_compute_engine/metadata_watcher.py", line 200, in WatchMetadata#012 handler(response)#012 File "/usr/lib/python3/dist-packages/google_compute_engine/accounts/accounts_daemon.py", line 285, in HandleAccounts#012 self.utils.SetConfiguredUsers(desired_users.keys())#012 File "/usr/lib/python3/dist-packages/google_compute_engine/accounts/accounts_utils.py", line 318, in SetConfiguredUsers#012 mode='w', prefix=prefix, delete=True) as updated_users:#012 File "/usr/lib/python3.6/tempfile.py", line 681, in NamedTemporaryFile#012 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)#012 File "/usr/lib/python3.6/tempfile.py", line 269, in _sanitize_params#012 dir = gettempdir()#012 File "/usr/lib/python3.6/tempfile.py", line 437, in gettempdir#012 tempdir = _get_default_tempdir()#012 File "/usr/lib/python3.6/tempfile.py", line 372, in _get_default_tempdir#012 dirlist)#012FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Jul 14 08:58:22 webserver systemd[1]: snapd.service: Start operation timed out. Terminating.
Jul 14 09:00:06 webserver google-accounts: ERROR Exception calling the response handler. [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'].#012Traceback (most recent call last):#012 File "/usr/lib/python3/dist-packages/google_compute_engine/metadata_watcher.py", line 200, in WatchMetadata#012 handler(response)#012 File "/usr/lib/python3/dist-packages/google_compute_engine/accounts/accounts_daemon.py", line 285, in HandleAccounts#012 self.utils.SetConfiguredUsers(desired_users.keys())#012 File "/usr/lib/python3/dist-packages/google_compute_engine/accounts/accounts_utils.py", line 318, in SetConfiguredUsers#012 mode='w', prefix=prefix, delete=True) as updated_users:#012 File "/usr/lib/python3.6/tempfile.py", line 681, in NamedTemporaryFile#012 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)#012 File "/usr/lib/python3.6/tempfile.py", line 269, in _sanitize_params#012 dir = gettempdir()#012 File "/usr/lib/python3.6/tempfile.py", line 437, in gettempdir#012 tempdir = _get_default_tempdir()#012 File "/usr/lib/python3.6/tempfile.py", line 372, in _get_default_tempdir#012 dirlist)#012FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']