Advice - Moving existing system to a SSD.
I have a working 14.1 installation running on a small 150GB partition of my 1TB WD drive. I'm getting a new Samsung 850pro 512 drive. I've never migrated a running system before so I'd like some advice on how to do it. Can I just dd the devices once they are in? Also I had some questions because this is a SSD:
1) What, if any, areas should I NOT put on the SSD? (write cycle limitations with SSDs) 2) What file system should I use for a SSD? (trim support, etc) 3) Would I be better off doing a fresh install? (-current perhaps?) or has there been whisperings of 14.2 or 15.0 soon... 4) I don't want to be one of those RTFM people, Any good reading on the subject? -Brian |
I am not sure about write cycle limitations of recent SSD but I just mount / with noatime,nodiratime and still use ext4. Caveat: see in "man mount" the warning about noatime possibly breaking some apps, consider also strictatime then. But I am not (yet?) a mutt user.
As an alternative to dd you could consider rsync. It never hurts to do fresh install (I do that instead of upgrading, that is an occasion to clean the house). No one (i.e., not even Pat) can give you a reliable ETA for 14.2, I think. PS I have only one / partition on the SSD and put big files/directories like isos, virtual disks, mirrors in /archives in a 1TB hard disk. EDIT: actually noatime suffices as it implies nodiratime as stated in "man 2 mount". |
I used cp -a to migrate my Gentoo systems to SSD. Followed by chrooting and bootloader install.
|
Taking into account what Didier Spaier said (regarging noatime, etc), try clonezilla and an unused USB stick; after booting clonezilla, choose beginner option and 'save part' then select the partition(s) desired. This way, the 'resore part' on the other end (SSD) will not return the error that there is not enough space.
|
Write endurance is 300 TBW for that drive, so for a 10-year life you need to limit drive writes to about 100 GB/day average. So why are you worrying about it?
http://www.samsung.com/global/busine...fications.html |
If you were using LVM, it would be a simple matter of adding the new drive as a physical volume, add the volume to your volume group, and issuing a pvmove command. That would move all the extents off the chosen physical volume while the system is running.
|
Member response
Hi,
You really do not need 'nodiratime' since it will be part of 'noatime' as a subset. You may find this helpful; http://www.linuxquestions.org/questi...ml#post4585376 Plus this post has information that may help; #26 Be sure to look at your SSD specifications and have on hand while setting up your system. The links above are related to Slackware. You could do a LQ Advanced Search and find more Slackware SSD information for Slackware. As to modern SSD technology, you will not likely have the 'SSD' in use longer than the potential to have failure on a well maintained system. Most consumer grade 'SSD' do have a long lifetime due to the newer controllers for MLC type drives. Hope this helps. Have fun & enjoy! :hattip: |
Quote:
|
Member response
Hi,
That's OK! I do read a lot when researching on system configurations. Users should be aware of how deep one needs to get when trying to get knowledge/understanding for system configurations. Too much 'FUD' that can cause harm when some users take a statement as true instead of researching to find the real facts. One of the reasons that LQ Slackware forum is popular for the details that members provide. :) Documentation is your friend and should be used by all. Memory does fade over time if not used! I still document all my systems admin/maintenance. :hattip: |
My setup is pretty much the same as Didier's. I have /, /usr, /var, etc on the SSD and i have the home directories, /usr/src, git repositories, vm images, wine trees, etc on a 1TB hdd.
I use noatime on every filesystem and i didn't take any special measures when i migrated the data to the SSD but i do not use swap and have /tmp on memory backed tmpfs. I use brtfs (with additional autodefrag mount option) but i cannot recommend it because while i never had any problems, it is not considered stable yet. ext4 is probably the safest bet. Regarding the write cycles, avoid putting swap and /tmp on the ssd _if_ you can but do not sweat much on this. The no1 failure factor for SSDs is metadata corruption due to power loss or something, which leads to bricked ssd. Modern mlc SSDs have great endurance and can withstand many times its rated GB/day. Edit: Also try to take advantage of your ssd and use it instead of letting it sit. Most guides recommend watching the write patterns to avoid wearing the flash out and i used to believe that myself but i have reconsidered. With the money you buy a 512GB SSD you can buy a 2TB (or even larger) hdd. You do not buy a SSD so that you can store large amounts of data for extreme periods, you buy it for its speed. Due to prices falling, until the 10 year warranty has passed, you will probably have changed 2 more SSDs. So you should take advantage of the speed and write as many data as you can. |
Member response
Hi,
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
|
No one need beyond of one standard/cheappo 128GB SSD for his personal Slackware root filesystem, with a WD Blue about 1TB for /home and swap; and some RAID5 or even RAID6 made from 4 to 6 x3TB Enterprise grade WD, for the personal collection of Pron, if case. For developers, an aditional 500GB WD Black Edition will be useful. :hattip:
|
Member response
Hi,
'GB/day' is a general specification to support the maximum GB/life that is given for comparison. That is not saying this is limit but available GB/day to meet the life in general. MTBF or MTTF are not concrete specs but QC specs that are tested over a specific number of tested pieces. 2 million hours to potential issues is a long term that most users will not meet (83,333 days or 238 years). Time for a new system would happen before a new drive if you lived that long. As to power backup for 'SSD' from the same link http://www.sandisk.com/assets/docs/A...Protection.pdf Quote:
I keep all my systems on UPS so they will have clean power without interruptions. Assuming that the system PSU do not fail and cause issues. I feel confident that my systems will continue providing me with reliable services. Backups!!! Plus properly configured systems. :hattip: |
Thanks for all the responses. I'll have my new SSD on wednesday. I'll probably just put /tmp and maybe /var on the old HDD and discard,noatime the rest of / on the SSD.
-Brian |
All times are GMT -5. The time now is 05:27 PM. |