Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Adding a second hdd

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 702 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dreamerman
      last edited by

      My pfsense is currently installed in a 240GB SSD and I have a spare SATA hdd I can use to bolster my box. It is easy under windows environment but not quiet under Linux. I read some guides on how to do this in particular to those with squid in mind but those guides are a few years old. Can anyone let me know if I must use command line or I could get away with using GUI?

      pfSense 2.3-RELEASE (amd64)
      DELL Optiplex GX620 Pentium D CPU 3.40GHz, 240GB SSD, 4GB RAM

      1 Reply Last reply Reply Quote 0
      • D
        dreamerman
        last edited by

        OK I just went ahead to install a second SATA hdd. Steps I took is:

        • Halt pfsense (I read somewhere this is the right way to shutdown)
        • Physically install hdd
        • Reboot machine and use gparted to format hdd with ext4 (is this the appropriate filesystem?)
        • Make sure BIOS recognise the hdd correctly
        • Reboot and enter GUI
        • I used Diagnostics SMART to retrieve below info. Looks Ok to me.
        • Does this mean my second hdd is ready for use within pfsense? I want to use it for caching.

        _smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.3-RELEASE amd64] (local build)
        Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

        === START OF INFORMATION SECTION ===
        Model Family:    SAMSUNG SpinPoint F1 DT
        Device Model:    SAMSUNG HD161GJ
        Serial Number:    S1VCJ9ASC08901
        LU WWN Device Id: 5 0024e9 201759fa4
        Firmware Version: 1AC01117
        User Capacity:    160,041,885,696 bytes [160 GB]
        Sector Size:      512 bytes logical/physical
        Device is:        In smartctl database [for details use: -P show]
        ATA Version is:  ATA/ATAPI-7, ATA8-ACS T13/1699-D revision 3b
        Local Time is:    Sat Apr 30 09:37:33 2016 AEST
        SMART support is: Available - device has SMART capability.
        SMART support is: Enabled

        === START OF READ SMART DATA SECTION ===
        SMART overall-health self-assessment test result: PASSED

        General SMART Values:
        Offline data collection status:  (0x00) Offline data collection activity
        was never started.
        Auto Offline Data Collection: Disabled.
        Self-test execution status:      (  0) The previous self-test routine completed
        without error or no self-test has ever
        been run.
        Total time to complete Offline
        data collection: ( 2017) seconds.
        Offline data collection
        capabilities: (0x7b) SMART execute Offline immediate.
        Auto Offline data collection on/off support.
        Suspend Offline collection upon new
        command.
        Offline surface scan supported.
        Self-test supported.
        Conveyance Self-test supported.
        Selective Self-test supported.
        SMART capabilities:            (0x0003) Saves SMART data before entering
        power-saving mode.
        Supports SMART auto save timer.
        Error logging capability:        (0x01) Error logging supported.
        General Purpose Logging supported.
        Short self-test routine
        recommended polling time: (  2) minutes.
        Extended self-test routine
        recommended polling time: (  34) minutes.
        Conveyance self-test routine
        recommended polling time: (  5) minutes.
        SCT capabilities:       (0x003f) SCT Status supported.
        SCT Error Recovery Control supported.
        SCT Feature Control supported.
        SCT Data Table supported.

        SMART Attributes Data Structure revision number: 16
        Vendor Specific SMART Attributes with Thresholds:
        ID# ATTRIBUTE_NAME          FLAG    VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
          1 Raw_Read_Error_Rate    0x000f  100  100  051    Pre-fail  Always      -      0
          3 Spin_Up_Time            0x0007  093  093  011    Pre-fail  Always      -      3130
          4 Start_Stop_Count        0x0032  098  098  000    Old_age  Always      -      2140
          5 Reallocated_Sector_Ct  0x0033  100  100  010    Pre-fail  Always      -      0
          7 Seek_Error_Rate        0x000e  100  100  000    Old_age  Always      -      0
          8 Seek_Time_Performance  0x0024  100  100  000    Old_age  Offline      -      12388
          9 Power_On_Hours          0x0032  095  095  000    Old_age  Always      -      24254
        10 Spin_Retry_Count        0x0032  100  100  000    Old_age  Always      -      0
        11 Calibration_Retry_Count 0x0012  100  100  000    Old_age  Always      -      0
        12 Power_Cycle_Count      0x0032  098  098  000    Old_age  Always      -      2137
        13 Read_Soft_Error_Rate    0x000e  100  100  000    Old_age  Always      -      0
        183 Runtime_Bad_Block      0x0032  100  100  000    Old_age  Always      -      0
        184 End-to-End_Error        0x0033  100  100  099    Pre-fail  Always      -      0
        187 Reported_Uncorrect      0x0032  100  100  000    Old_age  Always      -      0
        188 Command_Timeout        0x0032  100  100  000    Old_age  Always      -      0
        190 Airflow_Temperature_Cel 0x0022  076  072  000    Old_age  Always      -      24 (Min/Max 17/24)
        194 Temperature_Celsius    0x0022  071  070  000    Old_age  Always      -      29 (Min/Max 17/29)
        195 Hardware_ECC_Recovered  0x001a  100  100  000    Old_age  Always      -      16621
        196 Reallocated_Event_Count 0x0032  100  100  000    Old_age  Always      -      0
        197 Current_Pending_Sector  0x0012  100  100  000    Old_age  Always      -      0
        198 Offline_Uncorrectable  0x0030  100  100  000    Old_age  Offline      -      0
        199 UDMA_CRC_Error_Count    0x003e  100  100  000    Old_age  Always      -      2
        200 Multi_Zone_Error_Rate  0x000a  100  100  000    Old_age  Always      -      0
        201 Soft_Read_Error_Rate    0x000a  253  253  000    Old_age  Always      -      0

        SMART Error Log Version: 1
        No Errors Logged

        SMART Self-test log structure revision number 1
        Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error

        1  Short offline      Completed without error      00%    23981        -

        2  Short offline      Completed without error      00%    23956        -

        3  Short offline      Completed without error      00%        0        -

        SMART Selective self-test log data structure revision number 1
        SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
            1        0        0  Not_testing
            2        0        0  Not_testing
            3        0        0  Not_testing
            4        0        0  Not_testing
            5        0        0  Not_testing
        Selective self-test flags (0x0):
          After scanning selected spans, do NOT read-scan remainder of disk.
        If Selective self-test is pending on power-up, resume after 0 minute delay._

        pfSense 2.3-RELEASE (amd64)
        DELL Optiplex GX620 Pentium D CPU 3.40GHz, 240GB SSD, 4GB RAM

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.