pve can't boot : busybox

fabfr

New Member
Nov 8, 2023
5
0
1
Hi, my PVE don't boot : freeze or kernel panic and shutdown.

I put my damaged PVE (pve) in an rescue PVE (pvessd) to repair it

But I have this message on boot:

Found volume group ' 'pvessd" using metadata type lvm2 <<< my rescue PVE
5 logical volume(s) in volume group "pvessd" now active

/dev/mapper/pve-root: recovering journal <<< my bad PVE

fsck .ext4: Input/output error uhile trying to re-open /dev/mapper/pve-root
/dev/mapper/pve-root: WARNING: Filesystem still has errors
fsck exited with status code 12
The root filesystem on /dev/mapper/pve-root requires a manual fsck

BusyBox vl.35.0 (Debian 1:1.35.O—4+b3) built-in shell (ash)
Enter 'help' for a list of built—in commands.
(initranfs) help
Built—in commands:
alias bg break cd chdir command continue echo eual exec
exit export false fg getopts hash help history jobs kill let
local printf pud read readonly return set shift source test tines
trap true tYF ulinit umask unalias unset uait

(initramfs) fsck /dev/mapper/pve-root
fsck fron util—linux 2.38.1
fsck: error 2 (No such file or directory) uhile executing fsck.ext2 for /dev/mapper/pve-root

(initramfs) fsck.ext4 /dev/mapper/pve—root
e2fsck 1.47.O (5-Feb-Z023)
fsck.ext4: Input/output error while trying to open /dev/mapper/pve—root

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you night try running e2fsck with an alternate superblock:
e2fsck -b 8193
or
e2fsck -b 32768
( initramfs )

what should I do?
THANKS
 
Last edited:
I would like to at least recover a logical volume of 1.5TB (vm-100-disk-1). I have vms backups but not this volume. I started emergency PVE without this disk then inserted as USB. I added the disk to PVE but I don't see any volumes. In the shell I see them.

Code:
 --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                OrBzae-mMjZ-f9WH-8Qu6-g3ju-a0pe-W4odwi
  LV Write Access        read/write (activated read only)
  LV Creation host, time proxmox, 2023-11-04 18:01:18 +0100
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                <1.67 TiB
  Allocated pool data    48.67%
  Allocated metadata     1.77%
  Current LE             437763
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:11
  
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                PhZQcE-27dF-01nD-yxXB-cZ00-p3Mm-qmARX5
  LV Write Access        read/write
  LV Creation host, time proxmox, 2023-11-04 18:01:14 +0100
  LV Status              NOT available
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                L35VIp-02tC-pvbd-f5he-RN7B-O72b-jfcHa1
  LV Write Access        read/write
  LV Creation host, time proxmox, 2023-11-04 18:01:14 +0100
  LV Status              NOT available
  LV Size                96.00 GiB
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-100-disk-0
  LV Name                vm-100-disk-0
  VG Name                pve
  LV UUID                zzBZbx-GFpd-xDsW-H6An-9bNc-41Vr-gVPaKJ
  LV Write Access        read/write
  LV Creation host, time pve, 2023-11-04 18:17:04 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                100.00 GiB
  Current LE             25600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  
  --- Logical volume ---
  LV Path                /dev/pve/vm-100-disk-1
  LV Name                vm-100-disk-1
  VG Name                pve
  LV UUID                Mk4mip-xAhq-nCyR-8Lhk-CDWz-QEZ3-Z8fa3D
  LV Write Access        read/write
  LV Creation host, time pve, 2023-11-04 18:35:33 +0100
  LV Pool name           data
  LV Status              NOT available
  LV Size                1.46 TiB
  Current LE             384000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!