Is there a command line equivalent to the "disks" utility for disk imaging?
I have recently been using the "disks" utility installed by default on Fedora 17 gnome distributions. I notice it has a "image disk" option.
As I have had a number of file system corruption issues recently combining LUKS, LVM, ext4 and an SSD, I am wondering if this utility has a command line interface so that I can automate backups of my root disk?
I could automate a disk image via dmsetup
to take a COW snapshot and dd
, but I am wondering if there is an easier solution already in Fedora (my objective is to do this whilst running the system, so that I do not have to boot a live cd, and thus ensure I regularly take snapshots).
Do you have the discard option set for the filesystems on your SSD? If not, it might be the cause of your corruption.