There were 3 disk drives on the server, but one failed with input/output error and is not recoverable.
When trying to boot with the remaining 2 drives, I get:
Welcome to emergency mode!
After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into dafault mode.
Give root password for maintainence (or type control-D to continue):
I have tried fsck, but it says nothing besides the drives being clean.
How could I proceed, in order to have a bootable system again, without using "format and reinstall"? Or, at least, be sure that this system is not recoverable?
Are you using Ubuntu? Sure!
cat /etc/issue:Ubuntu 16.04.6 LTS \n \l;
Is it a RAID? Human owner said: "no".
cat /etc/mdadm.conf:No such file or directory;cat /proc/mdstat:Personalities: [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]. unused devices: <none>.
Have you deleted the bad 3rd one from /etc/fstab?
I don't think there is anything there to be deleted there, as cat /etc/fstab only lists volumes of the devices sda and sdb, the same devices listed by lsblk. So there is no 3rd drive on /etc/fstab.
The only curious thing is that dev/sda1, listed as <mount point> /, has this <option>: errors=remount-ro. And the suggestion to use touch /forcefsck doesn't solve anything, because this file does not exist, as comproved by nano /forcefsck.
As it asks, have you run journalctl -xb?
I did not, because most of my work experience is with Windows, and any suggestion on a crash screen there can, and should, be completely ignored, as they are not helpful. But I found out that the journalctl -xb is very helpful, and even interesting to read.
But I ran now and found these 3 lines in RED color:
- line 636 Feb 17 07:08:04 ██████ kernel: ERST: Can not request [mem 0xd7e6e000-0xd7e6ffff] for ERST.
- line 1249 Feb 17 07:09:34 ██████ systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device .
- line 1879 Feb 17 07:09:36 ██████ iscsid[1580]: iSCSI daemon with pid=1581 started!
I also found out these errors that seems to be interesting:
line 1248 Feb 17 07:09:34 ██████ systemd\[1\]: dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device: Job dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device/started timed out.
line 1249 Feb 17 07:09:34 ██████ systemd\[1\]: Timed out waiting for device dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device .
line 1250 -- Subject: Unit dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device has failed
[...]
line 1256 -- The result is timeout.
line 1257 Feb 17 07:09:34 ██████ systemd\[1\]: Dependency failed for File System Check on /dev/disk/by-uuid/82271ee0-c055-497a-b52f-566c8e456f29.
[...]
line 1265 Feb 17 07:09:34 ██████ systemd\[1\]: Dependency failed for /data.
[...]
line 1273 Feb 17 07:09:34 ██████ systemd\[1\]: Dependency failed for Local File Systems.
[...]
line 1281 Feb 17 07:09:34 ██████ systemd\[1\]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
line 1282 Feb 17 07:09:34 ██████ systemd\[1\]: local-fs.target: Triggering OnFailure= dependencies.
line 1283 Feb 17 07:09:34 ██████ systemd\[1\]: data.mount: Job data.mount/start failed with result 'dependency'.
line 1284 Feb 17 07:09:34 ██████ systemd\[1\]: systemd-fsck@dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.service: Job systemd-fsck@dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.service/start failed with result 'dependency'.
line 1285 Feb 17 07:09:34 ██████ systemd\[1\]: dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device: Job dev-disk-by\x2duuid-82271ee0\x2dc055\x2d497a\x2db52f\x2d566c8e456f29.device/start failed with result 'timeout'.
Post not suitable for "Ask Ubuntu", because, as said there, "16.04 is EOL and therefore off topic here".
/etc/fstab? And as it asks, have you runjournalctl -xb? – Bib Feb 16 '23 at 22:26journalctl -xbhas 1922 lines. Am I supposed to read every line, or search for something more specific? – BsAxUbx5KoQDEpCAqSffwGy554PSah Feb 17 '23 at 11:51/dev/disk/by-uuid/82271ee0-c055-497a-b52f-566c8e456f29which is mounted on/datais borked. If it'siscsi, I would be looking to see if you can contact its server correctly and to whether it has issues. – Bib Feb 17 '23 at 13:13/dataif it is not essencial to the operating system. So I commented it out withnano /etc/fstab, and the server correctly booted up. What I don't understand is why it was not being reached, ifcat /etc/fstabsaid# /data was on /dev/sdb5 during installation. It ceased to be local? – BsAxUbx5KoQDEpCAqSffwGy554PSah Feb 17 '23 at 13:31/etc/fstab? – BsAxUbx5KoQDEpCAqSffwGy554PSah Feb 17 '23 at 14:57