Re: Migrate to SSD
On 2014-01-02, Laurence Rochfort wrote: > Hello, > > I want to migrate my current OpenBSD 5.4 installation to an SSD, which is > slightly larger than my present rotational drive. > > What are people's suggestions for doing this? I was thinking of DDing and > increasing the size of /home and /usr/local, but surely there's a better > way? When moving to a different disk, I usually just do a basic install of the same OS version (and backup/restore software if not using something in base) on the new disk with appropriate partition sizes, then restore from backups. dd is the wrong tool for this job. Even if you didn't want to change partition sizes I think dd would be the wrong tool. > Also, are there any /etc/fstab options recommended for SSDs? No need to fiddle, the defaults are fine.
Re: Migrate to SSD
On 01/02/2014 11:24 AM, Stuart Henderson wrote: On 2014-01-02, Laurence Rochfort wrote: Hello, I want to migrate my current OpenBSD 5.4 installation to an SSD, which is slightly larger than my present rotational drive. What are people's suggestions for doing this? I was thinking of DDing and increasing the size of /home and /usr/local, but surely there's a better way? When moving to a different disk, I usually just do a basic install of the same OS version (and backup/restore software if not using something in base) on the new disk with appropriate partition sizes, then restore from backups. dd is the wrong tool for this job. Even if you didn't want to change partition sizes I think dd would be the wrong tool. but dump and restore on per filesystem basis would suffice Also, are there any /etc/fstab options recommended for SSDs? No need to fiddle, the defaults are fine. -- With best regards, Gregory Edigarov
Re: Migrate to SSD
On 2014-01-02 06:54, Gregory Edigarov wrote: but dump and restore on per filesystem basis would suffice There's one additional step, which is to use installboot(8) or disklabel(8) -B to install bootblocks.
Re: Migrate to SSD
On Jan 02 09:41:14, laurence.rochf...@gmail.com wrote: > Hello, > > I want to migrate my current OpenBSD 5.4 installation to an SSD, which is > slightly larger than my present rotational drive. > > What are people's suggestions for doing this? I was thinking of DDing and > increasing the size of /home and /usr/local, but surely there's a better > way? Unless your installation is very specific and there is something precious beside /home and /etc/, just do a dump, install, restore. > Also, are there any /etc/fstab options recommended for SSDs? None which you wouldn't use for a classical disk as well.
Re: Migrate to SSD
Check out softdep as a fstab parameter. It is equally useful for regular spinning disks but it seems like you may not know about Soft updates. Evan Root, CCNA On Thu, Jan 2, 2014 at 8:27 AM, Jan Stary wrote: > On Jan 02 09:41:14, laurence.rochf...@gmail.com wrote: > > Hello, > > > > I want to migrate my current OpenBSD 5.4 installation to an SSD, which is > > slightly larger than my present rotational drive. > > > > What are people's suggestions for doing this? I was thinking of DDing and > > increasing the size of /home and /usr/local, but surely there's a better > > way? > > Unless your installation is very specific and there is something > precious beside /home and /etc/, just do a dump, install, restore. > > > Also, are there any /etc/fstab options recommended for SSDs? > > None which you wouldn't use for a classical disk as well.
Re: Migrate to SSD
Stuart Henderson [s...@spacehopper.org] wrote: > > > Also, are there any /etc/fstab options recommended for SSDs? > > No need to fiddle, the defaults are fine. Perhaps a 'noatime' for SSD paritions if you want to keep more blocks clean for longer period of time.