Can't mount home after trying to resize (bad geometry: block count exceeds size of device).
- by Lynn
This is on a fresh computer (super computer actually). It got to me with 15T on the home mount and 50G on the root. I tried allocating 7T to root and resizing (since I'm putting a local yum repo on this machine as it has no internet access nor will it ever).
I tried following the instructions here: Centos 6.3 disk space allocation but something went wrong and the home won't mount again. Instead I get from dmesg | tail:
EXT4-fs (dm-2): bad geometry: block count 4294967295 exceeds size of device (1342177280 blocks)
df -h nets this output:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 7.0T 3.6G 6.6T 1% /
tmpfs 190G 216K 190G 1% /dev/shm
/dev/sda1 485M 38M 422M 9% /boot
I didn't have any files on /dev/mapper/VolGroup-lv_home. Will simply running mke2fs fix it to be mountable? What sort of options should I run it with. I've never resized volumes before or used mke2fs. I don't want to make this mess worse.