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

    • YouTube has finally brought back its DMs feature, but only in these countries by David Uzondu Late last year, YouTube started testing a "new" way to share videos directly with friends, without having to leave the app. Now, the video giant has announced that is now rolling out a revamped direct messaging inbox, which lets you share videos, Shorts, and live streams and have conversations about them, directly on YouTube. The platform limits this feature to 18+ users who are signed in to a verified channel and use the latest mobile app version. Direct messaging on YouTube first became a thing back in 2017 inside the mobile app (later renamed to "Messages"), where users could chat one-on-one and share clips directly, but all that came to an end on September 18, 2019, when Google decided to shut it down after giving users a month to download a .zip file archive of their past chats. No one really knows why YouTube killed the feature, but users were encouraged to migrate to the public Comments section, on Community tab posts, and via YouTube Stories. The previous incarnation suffered from moderation challenges, prompting Google to implement stricter safety guidelines and age verifications for this new iteration. Here's a list of the countries where the re-launched feature is currently available, though note that Brand Accounts do not have access to it, at least for now: Countries American Samoa Austria Belgium Brazil Bulgaria Croatia Cyprus Czech Republic Denmark Estonia Finland France Germany Greece Guam Hungary Iceland Ireland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands Northern Mariana Islands Norway Poland Portugal Puerto Rico Romania Singapore Slovakia Slovenia Spain Sweden Switzerland U.S. Virgin Islands United Kingdom United States Before you can use the feature, you first have to send an invite link to your contact. Invite links expire exactly seven days after you create them. If the person on the other end accepts the invite, you can exchange videos directly and text back and forth inside the app. To delete a message, just long-press on the message and tap unsend to remove it for both users. You can also delete entire conversations by long-pressing the thread and selecting delete, but the other person will continue to see the chat history on their end. To make sure everything remains safe, YouTube monitors these messages to ensure they follow Community Guidelines.
    • The problem of course is simply that government does not always know best. My point is that agency is taken away from the EU consumer in these cases. I'm sorry, but I do not believe that governments (politicians) are inherently good, and "looking out for me." Primarily they look to themselves and their own personal desires first, foremost, and always. When the EU or the DOJ fines these companies, claiming to "represent the welfare of the consumer," how much of these billion-dollar judgments are handed to the consumers they claim to represent? Not even a dollar, as I've seen. Yet the EUC lawyers who are paid to sit around and dream up these suits make huge commissions on the fines the EUC adjudicates, which is an ironclad fact I hope everyone is aware of. It's also rank corruption, of course, but that's another topic. Last, when the EU inflicts these judgments, or the DOJ, take your pick, the costs are bundled right along in the cost of the goods and services these companies provide the consumers they are "looking out for." If you are someone who believes his government is his savior then you have my condolences. I think Apple is right here, because the whole scheme of consumer choice is that consumers pick and choose among the products companies offer. Microsoft Windows is more compatible with third party software and hardware than any desktop OS on Earth, which is my sole reason for choosing it. Just because the EUC forces companies do certain things it knows the companies do not want to do, "or else", has no bearing on consumer benefit. This Siri thing is almost idiotic it's so infantile. But this is what the EUC does when the EU in Brussels becomes cash-strapped and needs a big infusion of cash. Some people get upset by "big companies" but it's the opposite when governments dwarf the size and scope of these companies, which is so obvious it hurts.... I mean you can't honestly believe that forcing Apple to do things with Siri it has its own reasons to decline is something that "opens up" Apple, do you? Say it aint' so...
    • Looks like many years since the request was made, a directory tree view finally may be added. https://github.com/files-community/Files/pull/18537
    • Is it still super slow or has it improved on that area?
    • There's this from last year https://gist.github.com/threat...364659a8887841aa43deca4efd9 but nothing about a buffer overflow that MS somehow can't code against. No matter what, it makes sense to take a "protected by default" approach.
  • Recent Achievements

    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
    • Reacting Well
      Techinmay earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      PsYcHoKiLLa
      214
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      FloatingFatMan
      73
  • Tell a friend

    Love Neowin? Tell a friend!