Ask Your Question

Is there a command line equivalent to the "disks" utility for disk imaging?

asked 2012-11-10 04:47:32 -0600

доверие gravatar image

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).

edit retag flag offensive close merge delete


Do you have the discard option set for the filesystems on your SSD? If not, it might be the cause of your corruption.

randomuser gravatar imagerandomuser ( 2012-11-11 14:11:26 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2012-11-15 01:57:47 -0600

Elad Alfassa gravatar image

You are probably looking for the dd command.

edit flag offensive delete link more


"but I am wondering if there is an easier solution already in Fedora" - I know what dd is and how to use it already, but thanks anyway :)

доверие gravatar imageдоверие ( 2014-02-09 16:42:20 -0600 )edit

Question Tools


Asked: 2012-11-10 04:47:32 -0600

Seen: 705 times

Last updated: Nov 15 '12