Buongiorno a tutti, dovrei eseguire un fsck manuale su un ubuntu server 20.04 virtualizzata con virtualbox, dovrei farlo utilizzando una live virtualizzata? avete consigli su come procedere?
Scusatemi se il problema è gia stato posto, ma non ho trovato il post
.
Eseguire fsck su una ubuntu server (oracle virtual box)
- DoctorStrange
- Imperturbabile Insigne
- Messaggi: 2855
- Iscrizione: mercoledì 14 ottobre 2015, 9:33
- Desktop: Gnome3
- Distribuzione: Ubuntu 22.04 LTS Jammy Jellyfish
- Sesso: Maschile
- Località: Roma, Italia
Re: Eseguire fsck su una ubuntu server (oracle virtual box)
Per quale motivo pensi di dover fare un file system check su un'immagine virtualizzata? Hai qualche messaggio di errore che la richiede esplicitamente? Forse è meglio se chiarisci il contesto, e cosa sia successo di preciso
Re: Eseguire fsck su una ubuntu server (oracle virtual box)
si me lo chiede,
Begin: Running /scripts/local-premount [ 5.627367] Btrfs loaded, crc32c=crc32c-intel, zoned=y es, fsverity=yes
Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.37.2
[/usr/sbin/fsck.ext4 (1) -- /dev/mapper/ubuntu--vg-ubuntu--lv] fsck.ext4 -a -CO /dev/mapper/ubuntu--vg-ubuntu--lv
/dev/mapper/ubuntu--vg-ubuntu--lv contains a file system with errors, check forced.
/dev/mapper/ubuntu--vg-ubuntu--lv:
Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/ubuntu--vg-ubuntu--lv: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4 done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/mapper/ubuntu--vg-ubuntu--lv requires a manual fsck
Begin: Running /scripts/local-premount [ 5.627367] Btrfs loaded, crc32c=crc32c-intel, zoned=y es, fsverity=yes
Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.37.2
[/usr/sbin/fsck.ext4 (1) -- /dev/mapper/ubuntu--vg-ubuntu--lv] fsck.ext4 -a -CO /dev/mapper/ubuntu--vg-ubuntu--lv
/dev/mapper/ubuntu--vg-ubuntu--lv contains a file system with errors, check forced.
/dev/mapper/ubuntu--vg-ubuntu--lv:
Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/ubuntu--vg-ubuntu--lv: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4 done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/mapper/ubuntu--vg-ubuntu--lv requires a manual fsck
- DoctorStrange
- Imperturbabile Insigne
- Messaggi: 2855
- Iscrizione: mercoledì 14 ottobre 2015, 9:33
- Desktop: Gnome3
- Distribuzione: Ubuntu 22.04 LTS Jammy Jellyfish
- Sesso: Maschile
- Località: Roma, Italia
Re: Eseguire fsck su una ubuntu server (oracle virtual box)
Ad un'analisi molto sommaria, sembra che tu abbia una partizione di tipo EXT-4, ma il sistema si aspetti di trovare un file system BTRFS. Non conosco molto bene questo aspetto. Cedo la parola a chi ne sa piu di me.
Buona fortuna.
Buona fortuna.
Re: Eseguire fsck su una ubuntu server (oracle virtual box)
Grazie, ho risolto (colpa mia che non ho letto bene)
bastava eseguire fsck /dev/mapper/ubuntu--vg-ubuntu--lv ed ho risolto, la macchina è salita,
bastava eseguire fsck /dev/mapper/ubuntu--vg-ubuntu--lv ed ho risolto, la macchina è salita,
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti