special device /dev/pve/data does not exis

dafydd

Active Member
Apr 24, 2010
37
6
28
Cardiff, Wales
I'm having a problem similar to the one in this thread, but can't find a way to recover the system.

I had a server running Proxmox VE 2.2 and ran the upgrade to 2.3.

After rebooting, I got a grub error 15 and it wouldn't boot.

I booted off a 2.3 USB stick using the 'pveboot' argument and had errors about /dev/pve/data not mounting and needing to be fscked (which fails because it can't find the device).

So.. at the moment, I have the server up and running from the CD, but it can't see the data volume. Some debug details.

ivmhost1:/home/dafydd# pvscan
PV /dev/sda2 VG pve lvm2 [231.75 GiB / 4.00 GiB free]
Total: 1 [231.75 GiB] / in use: 1 [231.75 GiB] / in no VG: 0 [0 ]


ivmhost1:/home/dafydd# lvscan
ACTIVE '/dev/pve/swap' [4.00 GiB] inherit
ACTIVE '/dev/pve/root' [58.00 GiB] inherit
ACTIVE '/dev/pve/data' [165.75 GiB] inherit

ivmhost1:/home/dafydd# fsck /dev/pve/data
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
fsck.ext3: No such file or directory while trying to open /dev/pve/data

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


Any ideas?
 

dafydd

Active Member
Apr 24, 2010
37
6
28
Cardiff, Wales
I've resolved this problem by looking at the original issue - grub.

I reinstalled grub "grub-install /dev/sda" and rebooted. The data partition came back and ran through a full fsck check.

Still not sure why that partition doesn't appear in 'rescue' mode (should it?) but all is good.
 

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 your own in 60 seconds.

Buy now!