Hello. I’v read the SSD setup forums article and I need to know what to do. There are a lot of commands to enter, “nano” gives an error message, and some files mentioned aren’t there. Nano is a text editor? So, I used filemanager super user mode and edited with kwrite. I did some changes, but then removed them.
I have 8 gigs of memory on my AMD3 system. After windows 7 - 64bit was copied over using gparted and I added a few other partitions, I installed opensuse onto the SSD. I didn’t change anything else. Does opensuse 13.2 already do all that on the article? The swap partition is there. I checked the console and got a ‘60’ result. Can someone walk me through how to configure the SSD for my system?
Before making any changes saves a backup of your fstab.
Some changes can be done from the Yast partitioner ; but looks with any editor that in fstab is performed correctly.
In my case in doing so, the options that I’ve put in the partitioner separated by quotation marks, are also included in the fstab file, leading to an error (that’s why it is better to check after with kwrite) .
nano is a text editor that may be installed if not you can install it. it is very easy for beginners, but you can use any text editor you want.
other then nano not being installed I’m not sure what other errors you speak of. Please list them
Also is the SSD the only drive??
Here is the problem SSD’s use flash memory. Flash has a finite number write/erase cycles and then it dies. The idea is to limit the amount of superfluous writing like writing the time each file is open. Also moving temp files to memory or a harddisk. will extend the life of the drive. But them modern drives have fancy write leveling algorithms which spread the writes across the physical memory locations thus helping extend the life. SO other then the noattime (time a file is opened)(also should be automatic in BTRFS if I understand it) You can expect 4-5 years usage. If you wish to extend it furthure then you need to do the optimizations indicated in t reference pages.
If you don’t understand the fstab then best to use yast-partitioner to do the work since it will format things correctly
Why did you eliminate swap??? Moving all those temp directories to memory i going to use up memory so you will need swap or you may have things crashing. I don’t agree with the premise of the artical about swap. Changing the swapyness yes eliminate swap no. You ask for problems. Remember none of this stuff is absolutely needed it just extends the life of the drive. No matter what you do if you use the drive at all it will eventually die. The estimate is that you can write 3gig per day for 5 years. Taking some of these solutions will extend it a couple of more years.
Now onward
I add discard to the fstab entry but then I still use ext4 but it is also a BTRFS option
from man mount
discard
Disable/enable the discard mount option. The discard function issues frequent commands to let
the block device reclaim space freed by the filesystem. This is useful for SSD devices,
thinly provisioned LUNs and virtual machine images, but may have a significant performance
impact. (The fstrim command is also available to initiate batch trims from userspace.)
Note if you use this then you don’t need to do the trim stuff
If you don’t tell use the stuff you think is misssing we can’t addrerss it. It may well be that depnding on how you installed (using live DVD or not) additional things may need to be installed like the nano editor. But then in this case you can use any text editor.
It cost a lost to buy it. I want to have it last a long time.
I did all the info about partitions for another message. If needed i’ll post them. I have plenty of memory 8 gig. So removing the swap partition won’t cause problems? Removing it with the partitioner is the right way to do it? Enable Trim support?
On Sun 01 Mar 2015 04:36:12 AM CST, lord valarian wrote:
It cost a lost to buy it. I want to have it last a long time.
I did all the info about partitions for another message. If needed i’ll
post them. I have plenty of memory 8 gig. So removing the swap partition
won’t cause problems? Removing it with the partitioner is the right
way to do it? Enable Trim support?
Hi
I also add vm.vfs_cache_pressure=50 but still keep swap at 8GB with 8GB
ram installed.
I run with elevator=noop, if you run btrfs, trim is taken care of with
weekly cron job, you don’t need to do anything.
I am finding it hard to wear out my SSD’s…
OCZ Agility 3 60GB @ 19118Hrs 2.8TB written
OCZ Vertex 4 128GB @ 10778Hrs 2.8TB written (also runs bcache feeding
rotating rust)
Crucial CT120M500SSD1 120GB @ 4870Hrs 1.1TB written
None of the above drives are showing any signs of wear (as in retired
blocks and such from smartctl).
I leave everything at default aside from the noop and swap changes,
your more likely to cause a shorter life with excessive trim commands
being run.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!