Anything special to do moving to SSD?
Brandon J. Wandersee
brandon.wandersee at gmail.com
Tue Jun 14 18:07:09 UTC 2016
Manish Jain writes:
> Hi,
>
> I use FreeBSD 10.2 amd64 as my primary OS.
>
> I just purchased a Samsung EVO 500 GB Solid State disk, and shall be
> migrating to it in the next few days. Just wanted to know whether I
> can use it out-of-the-box, pretty much like an IDE/SATA hard disk, or
> is there anything special/nice to do for SSD ?
>
> I presume I shall have to reinstall the OS over again. In case it is
> possible to migrate 'in-place' (data copy), please let me know about
> that too.
If you're using UFS, you can clone your existing installation by piping
dump(8) straight into restore(8).[1] If you're using ZFS then you'd use
`zfs send | zfs receive` instead, sending your filesystems straight to
the new disk/pool instead of backing up and then restoring. Or you could
just use some other reliable tool like rsync. Whatever the case, you
should certainly already have a backup on-hand anyway, just in case.
What is important no matter what is that when creating new UFS
filesystems on an SSD, you need to use the `-t` flag to enable
TRIM. TRIM is enabled by default on ZFS.
[1]: http://www.wonkity.com/~wblock/docs/html/backup.html#_copying_filesystems
--
:: Brandon J. Wandersee
:: brandon.wandersee at gmail.com
:: --------------------------------------------------
:: 'The best design is as little design as possible.'
:: --- Dieter Rams ----------------------------------
More information about the freebsd-questions
mailing list