Linux and SSD


Recommended Posts

hey guys

I am getting an SSD in the next few weeks

now i know about no defrag etc but have some questions

after installing linux on it should i be setting anything else up on it to save writing all the time?

also i will have a normal drive in there too so was going to put

/home

/var

on the spinning drive is this ok to do?? should anything else go on the normal drive

and will this give me any problems?

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/
Share on other sites

I really wouldn't worry too much, they are not a fragile device that could die at any given moment.

On mine I have efi / boot / root on the SSD and /home to an SSD card. I don't run a swap partition.

Bare in mind that you will have to wait for the second drive on reads/writes/spinup.

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457512
Share on other sites

I really wouldn't worry too much, they are not a fragile device that could die at any given moment.

On mine I have efi / boot / root on the SSD and /home to an SSD card. I don't run a swap partition.

Bare in mind that you will have to wait for the second drive on reads/writes/spinup.

so would you just have it all on the SSD, then say if i am downloading Distro just move them from home onto the 2nd drive for storage?

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457584
Share on other sites

I know I've posted this on Neowin somewhere before, but I can't seem to find it. I would recommend reading the Arch Wiki's article on Sold State Drives. Even if you're not running Arch, its an excellent resource. Here is my fstab, for reference:


proc /proc proc nodev,noexec,nosuid 0 0
UUID=7fd0430c-f487-4e11-847d-72face9a3cf0 / ext4 errors=remount-ro,noatime,discard 0 1
UUID=1ba9f35b-a7c0-4e57-8ef8-7e7e3823f079 /boot ext4 defaults,noatime,discard 0 2
UUID=695f1604-6590-45cd-99a2-4d6638a01c6b /home ext4 defaults,noatime,discard 0 2
UUID=b0f33380-a805-4192-ae7b-8c8515a42497 none swap sw 0 0
[/CODE]

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595457996
Share on other sites

i seen aswell some recommend nodiratime

u dont have that

I didn't know that mount option existed before, but, honestly, noatime isn't really the most important switch for SSDs: discard is. noatime is merely a speed optimization to prevent file access times from being written to disk. (nodiratime does the same thing as noatime, but for directories instead of files.) You can use it on rotational hard disks as well (which, in fact, I do) to gain a slight advantage in that regard. discard is very important because it enables TRIM support, which will extend the life of your SSD by exploiting some of its technical characteristics.

Edit: I just read up on it and added nodiratime to my fstab. Thanks for the tip!

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458504
Share on other sites

so would you just have it all on the SSD, then say if i am downloading Distro just move them from home onto the 2nd drive for storage?

Yeah pretty much. If you GPT/UEFI it, you can pretty much have as many partitions as you wish. Currently I have it split with Windows 8 Pro x64:

100MB Linux EFI Partition

12884MB EXT4 Partition for Ubuntu 12.10 x64 as /

100MB EFI partition for Windows Boot Loader

350MB NTFS System partition

*MB for Windows 8 OS

I also have an 8GB SDHC card for /home, 16GB SDHC card (Fat32) to shift stuff around from OS to OS and 2x500GB HDD's for Windows storage and games.

I might add fedora 18 onto the end depending on how I find it on a live test.

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458798
Share on other sites

While it is fine to have your home and var partitions on a separate physical disk, don't just dd your current home partition - or really any partition - from your hard drive to your SSD; you will likely end up with alignment issues that will adversely affect performance and life expectancy. Format a partition on the new disk and use cp -a as root to copy everything from the old partition to the new one without losing file permissions and other extended attributes. (You can also use rsync -a --progress if you would like to see what is being copied instead of having no output.)

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595458832
Share on other sites

ok so looking online i have found this info so far

remove relatime and add in discard, noatime, nodiratime

update grub file to use deadline as a scheduler

Worked out i dont really want to put any partition on the HDD such as var etc as if it fails or i remove it the whole system goes lol

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595459686
Share on other sites

  • 2 weeks later...

Ok set Deadline as the scheduler

and does this look good to you guys?


guys does this look good to you
Code:
UUID=e5b30aa2-a4b6-41a3-9e0a-6688252d36ee / ext4 defaults,discard,noatime,nodiratime 1 1
UUID=8351a5aa-4bfd-4c45-872c-2ae6dc431e37 /boot ext4 defaults,discard,noatime,nodiratime 1 2
UUID=5757507b-3c10-4495-89f9-a2b1eeaccaea /home ext4 defaults,discard,noatime,nodiratime 1 2
UUID=1794135c-6075-4f17-b3bb-2b6635fd6380 swap swap defaults,discard,noatime,nodiratime 0 0
none /tmp tmpfs defaults 0 0
[/CODE]

Link to comment
https://www.neowin.net/forum/topic/1131154-linux-and-ssd/#findComment-595481706
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
    • Playground Games confirms Forza Horizon 6 save wipe bug by Taras Buria Forza Horizon 6 was launched last month to critical acclaim (check out our review here), and it became a smash hit in an instant. Now, weeks into the launch, with die-hard fans clocking hundreds of hours, Forza Horizon 6 is facing a serious issue: save wipes. After multiple complaints on Reddit and social media, the studio issued a statement. The problem with missing saves came shortly after Playground Games promised the initial batch of gameplay tweaks and improvements. Unfortunately, there seems to be no temporary fixes for those affected by unexpected save wipes. However, the studio published a new support document with a few important steps users should try. First, affected gamers should open a support ticket immediately (go here to file one) so that the support team can try recovering the lost progress by reverting to an earlier save. Playground Games says this should be done the same day the issue occurs. Meanwhile, gamers are urged not to start new play sessions or create new saves. The studio also published a few things gamers should try to avoid to prevent potential progress loss: Ensure your Gaming Services app on PC or XBOX Series X|S console is fully up to date. On XBOX Series X|S consoles, disable Quick Resume for Forza Horizon 6: To disable Forza Horizon 6 from using Quick Resume, highlight the game box art anywhere in the console experience (Home, My Games & Apps, Pins, etc) and then press the Menu button, then go to Manage game and add-ons > Quick Resume settings > Disable Quick Resume. Ensure you are online when ‘quitting’ the game. Give your saved time to sync to the cloud before powering off or switching devices. Do not force quit the game during save screens. Do not power off the device during gameplay. Always "Quit" (console) or "Exit to desktop" (PC) once you've finished your play session, ensuring the save icon is not visible when you’re closing the game. Before turning off your console, shutting down your PC, or force-closing the Steam app, give your devices or clients at least a few minutes to ensure your latest progress has been synchronized with the cloud. This will reduce the risk of progress reversions as you switch between different platforms. XBOX Series X|S consoles, Steam, and the XBOX app on PC all include game save indicators that confirm your progress has been synced. You can read more about the bug in the official support document here. Forza Horizon 6 is currently available on PC (Steam and the Microsoft Store), Xbox Series X|S, and Game Pass. The game is also coming to PlayStation 5 later this year.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      521
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!