PDA

View Full Version : special device /dev/pve/data does not exis



dafydd
03-06-2013, 02:40 PM
I'm having a problem similar to the one in this thread (http://forum.proxmox.com/threads/12497-Unable-to-resume-pve-data), 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
03-06-2013, 06:42 PM
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.