Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,172

    Default

    Yeah, but for Untangle? Larger installations have so much IO going into and out of the database that the write tolerance becomes a problem. The speed is nice for bootup, but not as useful at run-time.

    Though, an SSD enabled Untangle does let you wander around reports much more quickly. Personally, I use them strictly for the longer warranties on the drives, 5 years for an EVO and 10 for a Pro is quite nice.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  2. #12
    Master Untangler
    Join Date
    Oct 2014
    Location
    Norway
    Posts
    121

    Default

    True. But I kinda stick with the low storage versions. 60GB ssd for untangle seems to be like at least 70% more space then I need. So for the price of a 60GB ssd I think it's worth it. Ye, the EVO and PRO is most likely better and more expensive. I'm going to think about getting a pro maybe at some point for my Untangle box. But only if reliability becomes a problem.

  3. #13
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,172

    Default

    I've got a 120gb 840 EVO in my current Untangle box, it was used in my daughters Windows 7 based laptop for 1.5 years, then transferred to my Untangle where it just turned 3. At present rate of consumption, it'll last another 7 years.

    I found this script online sometime ago, I use it via terminal to monitor drive consumption. It's not the most elegant thing, but it gets the job done.

    Code:
    #!/bin/bash
    
    #######################################
    # Variables                           #
    #######################################
    
    SSD_DEVICE="/dev/sda"
    
    ON_TIME_TAG="Power_On_Hours"
    WEAR_COUNT_TAG="Wear_Leveling_Count"
    LBAS_WRITTEN_TAG="Total_LBAs_Written"
    LBA_SIZE=512 # Value in bytes
    
    BYTES_PER_MB=1048576
    BYTES_PER_GB=1073741824
    BYTES_PER_TB=1099511627776
    
    #######################################
    # Get total data written...           #
    #######################################
    
    # Get SMART attributes
    SMART_INFO=$(sudo /usr/sbin/smartctl -A "$SSD_DEVICE")
    
    # Extract required attributes
    ON_TIME=$(echo "$SMART_INFO" | grep "$ON_TIME_TAG" | awk '{print $10}')
    WEAR_COUNT=$(echo "$SMART_INFO" | grep "$WEAR_COUNT_TAG" | awk '{print $4}' | sed 's/^0*//')
    LBAS_WRITTEN=$(echo "$SMART_INFO" | grep "$LBAS_WRITTEN_TAG" | awk '{print $10}')
    
    # Convert LBAs -> bytes
    BYTES_WRITTEN=$(echo "$LBAS_WRITTEN * $LBA_SIZE" | bc)
    MB_WRITTEN=$(echo "scale=3; $BYTES_WRITTEN / $BYTES_PER_MB" | bc)
    GB_WRITTEN=$(echo "scale=3; $BYTES_WRITTEN / $BYTES_PER_GB" | bc)
    TB_WRITTEN=$(echo "scale=3; $BYTES_WRITTEN / $BYTES_PER_TB" | bc)
    
    # Output results...
    echo "------------------------------"
    echo " SSD Status:   $SSD_DEVICE"
    echo "------------------------------"
    echo " On time:      $(echo $ON_TIME | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta') hr"
    echo "------------------------------"
    echo " Data written:"
    echo "           MB: $(echo $MB_WRITTEN | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta')"
    echo "           GB: $(echo $GB_WRITTEN | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta')"
    echo "           TB: $(echo $TB_WRITTEN | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta')"
    echo "------------------------------"
    echo " Mean write rate:"
    echo "        MB/hr: $(echo "scale=3; $MB_WRITTEN / $ON_TIME" | bc | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta')"
    echo "------------------------------"
    echo " Drive health: ${WEAR_COUNT} %"
    echo "------------------------------"
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  4. #14
    Master Untangler
    Join Date
    Oct 2014
    Location
    Norway
    Posts
    121

    Default

    Nice. I have a couple of 840 EVO's myself. But they are both in use and one is 250GB and the other 500GB. I rather buy a new 850 EVO before putting one of them in there

    When it comes to Linux I'm a noob. Scripts, whatever OS you use them in I'm a noob. Sorry
    But I can kinda see what it's doing atleast.
    Last edited by elmy79; 05-28-2016 at 09:41 PM.

  5. #15
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,172

    Default

    Well, all you need to do is copy the contents into a file, convention says with a .sh extension. Make the thing executable, and run it. The output is pretty self explanatory.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #16
    Master Untangler
    Join Date
    Oct 2014
    Location
    Norway
    Posts
    121

    Default

    okey. That's nice.

    Btw. I got my new ssd today. One thing I have to say. My head is not working right all the time. lol
    I ordered a msata ssd because I thought I would install it on the motherboard. Well that was until I remembered that it's occupied by one of the wifi cards.
    Luckily I'm a bit of an ebay addict.
    So a little while ago with no bigger plans of what to use them for, I ordered 2 msata ssd adapter casings. So I guess I will be using one of them now

    All I need now is a 4G bridge modem since my 4g router is not bridgeable.

  7. #17
    Master Untangler
    Join Date
    Oct 2014
    Location
    Norway
    Posts
    121

    Default

    Installed Untangle on the new ssd. So time will show if that was the case or if I have a ram problem.

Page 2 of 2 FirstFirst 12

Posting Permissions

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

SEO by vBSEO 3.6.0 PL2