On 08/19/2013 09:43 PM, Mateusz Marzantowicz wrote:
> If I were you I'd go with fresh partition and new filesystem. Now, it's
> a good time to optimize your filesystem, maybe fix some broken metadata
> and i-nodes. You don't copy all that garbage. If you simply use dd, you
> also preserve potential errors present on your current fs.

Right, and then there is the "discard" factor when using SSDs.
The SSD works better when knowing which data blocks are used and
which are unused; writing with dd will set everything as "used"
(this will not happen with mkfs + cp).

If you want to use dd to copy filesystems, it would be wise to
also use e2fsck with the "discard" option to rebuild the used/unused map
of the SSD after the copy.
Same thing with swap (I would hope mkswap implements discard), if you
copy the entire disk.

Best regards.

-- 
   Roberto Ragusa    mail at robertoragusa.it
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to