Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2016 12:59:48 -0500
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Anything special to do moving to SSD?
Message-ID:  <8637ofy7l7.fsf@WorkBox.Home>
In-Reply-To: <VI1PR02MB097476EA28325B53239D0E05F6540@VI1PR02MB0974.eurprd02.prod.outlook.com>
References:  <VI1PR02MB097476EA28325B53239D0E05F6540@VI1PR02MB0974.eurprd02.prod.outlook.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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@gmail.com
::  --------------------------------------------------
::  'The best design is as little design as possible.'
::  --- Dieter Rams ----------------------------------



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?8637ofy7l7.fsf>