Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Thread: We need an SSD maintenance utility

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Beans
    6

    Unhappy We need an SSD maintenance utility

    I have installed Ubuntu 12.10 on a solid state disk on my desktop computer.
    I know SSDs need periodic maintenance to keep their performance up to their full capability, since I ported Windows 7 to an SSD I installed in my laptop and I use the Intel utility to keep the drive cleaned/trimmed/happy or whatever you call it.
    I tried to find out how to do this for my Ubuntu drive but frankly I am not sufficiently experienced in programming to understand and implement the fixes suggested in the forums. I know that the respondents think their answers are helpful but they're just too far above my user level to help.
    If Ubuntu wants to appeal to a larger user community, I think this will become a problem area in the future. I always recommend Ubuntu to my friends but I really don't want to have to add a 'but it's not really easy to use it with an SSD'.
    Can't we develop an SSD cleanup/tuneup utility program that could be downloaded from the Ubuntu Software Center and used by those of us with low levels of technical expertise? Sure would be helpful to me.

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: We need an SSD maintenance utility

    I think it is a good idea. But the development guys don't spend much time at the Ubuntu Forums. Maybe you have better luck publishing your idea at

    http://brainstorm.ubuntu.com/

  3. #3
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: We need an SSD maintenance utility

    Quote Originally Posted by gonzo74405 View Post
    I have installed Ubuntu 12.10 on a solid state disk on my desktop computer.
    I know SSDs need periodic maintenance to keep their performance up to their full capability, since I ported Windows 7 to an SSD I installed in my laptop and I use the Intel utility to keep the drive cleaned/trimmed/happy or whatever you call it.
    I tried to find out how to do this for my Ubuntu drive but frankly I am not sufficiently experienced in programming to understand and implement the fixes suggested in the forums. I know that the respondents think their answers are helpful but they're just too far above my user level to help.
    If Ubuntu wants to appeal to a larger user community, I think this will become a problem area in the future. I always recommend Ubuntu to my friends but I really don't want to have to add a 'but it's not really easy to use it with an SSD'.
    Can't we develop an SSD cleanup/tuneup utility program that could be downloaded from the Ubuntu Software Center and used by those of us with low levels of technical expertise? Sure would be helpful to me.
    if you are using Linux then it will be using Ext3 or 4 or other Linux Filesystem which does not need maintenance like windows does using NTFS, no defragmention is really needed.

    As long as you set up your FSTAB to enable TRIM and the like then there is nothing really to do. it only take a few seconds to enter the entries into /etc/fstab and then you pretty good to go.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: We need an SSD maintenance utility

    Quote Originally Posted by haqking View Post
    if you are using Linux then it will be using Ext3 or 4 or other Linux Filesystem which does not need maintenance like windows does using NTFS, no defragmention is really needed.

    As long as you set up your FSTAB to enable TRIM and the like then there is nothing really to do. it only take a few seconds to enter the entries into /etc/fstab and then you pretty good to go.
    Please explain with an example!

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: We need an SSD maintenance utility

    Edit your /etc/fstab file using the following command:
    Code:
    gksudo gedit /etc/fstab
    And add the discard option to any partitions that live on your SSD, mine looks like this:
    Code:
    # 
    # /etc/fstab: static file system information
    #
    # <file system>        <dir>            <type>    <options>          <dump>  <pass>
    LABEL=arch-root        /                ext4      discard,noatime    0       1
    LABEL=arch-home        /home            ext4      discard,noatime    0       2
    LABEL=data             /mnt/data        ext4      defaults           0       2
    LABEL=emulation        /mnt/emulation   ext4      defaults           0       0
    Adding noatime as well will reduce the number of writes to the SSD.
    Last edited by Cheesemill; December 31st, 2012 at 10:31 PM.
    Cheesemill

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: We need an SSD maintenance utility

    Thank you

    I found the following text about discard in
    Code:
    man mount
    Code:
    discard/nodiscard
           Controls whether ext4 should issue discard/TRIM commands to  the  underlying
           block  device  when  blocks  are  freed.  This is useful for SSD devices and
           sparse/thinly-provisioned LUNs, but it is off by  default  until  sufficient
           testing has been done.

  7. #7
    Join Date
    Sep 2012
    Beans
    88
    Distro
    Kubuntu 15.10 Wily Werewolf

    Re: We need an SSD maintenance utility

    Thank you for the information sudodus.

    I think I will not use that until they have completed the testing. I do not want to damage my SSD.

  8. #8
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: We need an SSD maintenance utility

    Quote Originally Posted by sudodus View Post
    Please explain with an example!
    In addition to cheesemill ninja'in me above.

    http://apcmag.com/how-to-maximise-ss...with-linux.htm

    http://wiki.freeswitch.org/wiki/SSD_Tuning_for_Linux

    an example from my fstab
    Code:
    UUID=de961735-1d84-4c72-8abe-fefa7b03a708 /SSD2DATA       ext4    defaults,noatime,discard,errors=remount-ro
    I also place /tmp in ram
    Code:
    # Place tmp into ram
    tmpfs       /tmp        tmpfs       defaults,mode=1777      0   0
    Along with a few other options
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  9. #9
    Join Date
    Sep 2012
    Beans
    88
    Distro
    Kubuntu 15.10 Wily Werewolf

    Re: We need an SSD maintenance utility

    I have had a SSD disk for about 6 months now. I have not noticed any slow down or lack of performance. It is just as fast as when I bought it.

    My PC is on 24 hours a day, and is only restarted when a update requires it. My SSD is formated in ext4 format.

    Cheesemill, what does discard do?
    I haven't done any of this, so will my SSD have a shorter lifespan?

  10. #10
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: We need an SSD maintenance utility

    Quote Originally Posted by pompel9 View Post
    I have had a SSD disk for about 6 months now. I have not noticed any slow down or lack of performance. It is just as fast as when I bought it.

    My PC is on 24 hours a day, and is only restarted when a update requires it. My SSD is formated in ext4 format.

    Cheesemill, what does discard do?
    I haven't done any of this, so will my SSD have a shorter lifespan?
    are you using AHCI in your BIOS on your sata adapter?
    this is required for trim to work

    discard=trim
    noatime extends the life of the ssd by not writing a timestamp every-time a file is accessed
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •