Johnco2
April 18th, 2016, 07:32 PM
I run an LVM/mdmraid server on an HP N40L acting as a media server and as backup for various Macs & Windows machines.
When I set it up (with 12.04 LTS) the recommendation was to boot from a USB stick containing Grub2 & the OS.
This has proved the Achilles heel of the system because backing up the USB requires the use of dd and, twice now, the usb superblock has been corrupted on both the source and the destination USB at the same time. I have not found the 'restore from Live CD' process easy and would like to avoid it. The restore process appears to be the only solution as ,as far as I am aware, there is no recovery from a corrupt superblock if the backup copies (dd seems to wipe these) are not available apart from a complete fdisk on the drive (wiping all the data).
Does anyone know of a documented way of reliably moving the boot process onto the existing LVM/Raid or, alternatively, reducing the USB stick to simply boot with all the operating system files being on the LVM/Raid.
At this moment, the system is up even though fsck.ext4 highlights the bad superblock.
When I set it up (with 12.04 LTS) the recommendation was to boot from a USB stick containing Grub2 & the OS.
This has proved the Achilles heel of the system because backing up the USB requires the use of dd and, twice now, the usb superblock has been corrupted on both the source and the destination USB at the same time. I have not found the 'restore from Live CD' process easy and would like to avoid it. The restore process appears to be the only solution as ,as far as I am aware, there is no recovery from a corrupt superblock if the backup copies (dd seems to wipe these) are not available apart from a complete fdisk on the drive (wiping all the data).
Does anyone know of a documented way of reliably moving the boot process onto the existing LVM/Raid or, alternatively, reducing the USB stick to simply boot with all the operating system files being on the LVM/Raid.
At this moment, the system is up even though fsck.ext4 highlights the bad superblock.