My root partition is /dev/md0, I changed the size of the partition and filesystem. Now when I run update-grub and install-grub it fails:
# grub-install /dev/sda
Installing for i386-pc platform.
grub-install: error: unknown filesystem.
# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-67-generic
Found initrd image: /boot/initrd.img-4.4.0-67-generic
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-4.4.0-66-generic
Found initrd image: /boot/initrd.img-4.4.0-66-generic
/usr/sbin/grub-probe: error: unknown filesystem.
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
.
# cat /proc/mdstat
...
md0 : active raid1 sda1[1] sdb1[0]
14553024 blocks [2/2] [UU]
unused devices: <none>
.
# cat /proc/partitions
major minor #blocks name
8 0 39082680 sda
8 1 14553088 sda1
8 16 15646680 sdb
8 17 14553088 sdb1
9 0 14553024 md0
I don't dare reboot this server until this is fixed. Any suggestions?