Several Questions

Status
Not open for further replies.

Charles Elliott

Dabbler
Joined
Oct 13, 2013
Messages
37
I have been using FreeNAS 9.1.1 since 11/30/13 without major problems and am generally happy with it. Thanks, all.

I can use FreeNAS from my main computer, the one with which I set up myself as a group and user on FreeNAS. And one time I was able to use FreeNAS from another computer on the LAN. I know that is true because there are many weeks of Windows Image Backups of that computer on FreeNAS, either in the .recycle bin or where they should be. But I cannot access FreeNAS from any other computer on the LAN. It is possible I forgot my password, but I don't think so because I always use the same one. Windows 7 posts a message box giving computerName\myName as the user and saying "Access is denied." On FreeNAS, I have group myName and user myName assigned every conceivable permission; that was the only way I could get it to work at all. How can I use FreeNAS from another computer?

How does one tell if data scrubbing is actually occurring?

When FreeNAS boots, it says there is a small amount of fragmentation on the ZFS drives. Will this fragmentation ever be removed?

Other than by writing a program to sum the lengths of the files and comparing the sum with FreeNAS's report of the amount of data on the system, how does one tell if file compression is working? Is there a way to tell what method of compression was chosen at installation?

How can one tell if the SMART tests are actually occurring? If they are happening, is there some way to tell what the results were?

The .recycle bin is full of file names; most of the associated files have zero length. I checked a few of the files that don't have zero length, and they are in their proper places on the drive, or I remember deleting them. In general, is it wise to delete files in .recycle after a decent interval?

Thank you hugely in advance for any help you provide in answering these questions.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
The recycle bins keep specific paths I believe.. and reference who deletes etc.. You would of turned it on as I'm not sure it's enabled by default..

As for your connection issues.. How is CIFS setup to authenticate? Specs on freenas box will help as-well.. I hope you have the specs / cpu etc for compression or more advanced features.. Performance may vary..

smartctl -a /dev/ada0 (or appropriate disk #..)
Will give you smart info..
Code:
=== START OF INFORMATION SECTION ===
Model Family:    Seagate Barracuda 7200.14 (AF)
Device Model:    ST2000DM001-9YN164
Serial Number:    W1E0F785
LU WWN Device Id: 5 000c50 049835d95
Firmware Version: CC4H
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:    512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:  ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Jan 25 11:23:29 2014 EST
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:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
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:                (  575) 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:        (  1) minutes.
Extended self-test routine
recommended polling time:        ( 224) minutes.
Conveyance self-test routine
recommended polling time:        (  2) minutes.
SCT capabilities:              (0x3085) SCT Status supported.
 
SMART Attributes Data Structure revision number: 10
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  115  099  006    Pre-fail  Always      -      97902680
  3 Spin_Up_Time            0x0003  094  094  000    Pre-fail  Always      -      0
  4 Start_Stop_Count        0x0032  100  100  020    Old_age  Always      -      454
  5 Reallocated_Sector_Ct  0x0033  100  100  036    Pre-fail  Always      -      0
  7 Seek_Error_Rate        0x000f  076  060  030    Pre-fail  Always      -      48019495
  9 Power_On_Hours          0x0032  089  089  000    Old_age  Always      -      10282
10 Spin_Retry_Count        0x0013  100  100  097    Pre-fail  Always      -      0
12 Power_Cycle_Count      0x0032  100  100  020    Old_age  Always      -      452
183 Runtime_Bad_Block      0x0032  100  100  000    Old_age  Always      -      0
184 End-to-End_Error        0x0032  100  100  099    Old_age  Always      -      0
187 Reported_Uncorrect      0x0032  100  100  000    Old_age  Always      -      0
188 Command_Timeout        0x0032  100  100  000    Old_age  Always      -      1 1 1
189 High_Fly_Writes        0x003a  100  100  000    Old_age  Always      -      0
190 Airflow_Temperature_Cel 0x0022  069  059  045    Old_age  Always      -      31 (Min/Max 17/31)
191 G-Sense_Error_Rate      0x0032  100  100  000    Old_age  Always      -      0
192 Power-Off_Retract_Count 0x0032  100  100  000    Old_age  Always      -      144
193 Load_Cycle_Count        0x0032  100  100  000    Old_age  Always      -      838
194 Temperature_Celsius    0x0022  031  041  000    Old_age  Always      -      31 (0 17 0 0 0)
197 Current_Pending_Sector  0x0012  100  100  000    Old_age  Always      -      0
198 Offline_Uncorrectable  0x0010  100  100  000    Old_age  Offline      -      0
199 UDMA_CRC_Error_Count    0x003e  200  200  000    Old_age  Always      -      0
240 Head_Flying_Hours      0x0000  100  253  000    Old_age  Offline      -      10215h+08m+29.598s
241 Total_LBAs_Written      0x0000  100  253  000    Old_age  Offline      -      36629443593683
242 Total_LBAs_Read        0x0000  100  253  000    Old_age  Offline      -      112122567223905
 
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%    10238        -
# 2  Extended offline    Completed without error      00%    10103        -
# 3  Short offline      Completed without error      00%      9984        -
# 4  Extended offline    Completed without error      00%      9984        -
# 5  Short offline      Completed without error      00%      9972        -
# 6  Short offline      Completed without error      00%      9960        -
# 7  Short offline      Completed without error      00%      9949        -
# 8  Short offline      Completed without error      00%      9937        -
# 9  Short offline      Completed without error      00%      9925        -
#10  Short offline      Completed without error      00%      9915        -
#11  Short offline      Completed without error      00%      9914        -
#12  Short offline      Completed without error      00%      9913        -
#13  Short offline      Completed without error      00%      9912        -
#14  Short offline      Completed without error      00%      9911        -
#15  Short offline      Completed without error      00%      9910        -
#16  Short offline      Completed without error      00%      9909        -
#17  Short offline      Completed without error      00%      9908        -
#18  Short offline      Completed without error      00%      9907        -
#19  Short offline      Completed without error      00%      9906        -
#20  Short offline      Completed without error      00%      9905        -
#21  Short offline      Completed without error      00%      9904        -
 
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.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
How does one tell if data scrubbing is actually occurring?
Run "zpool status". The scan: line tells you the result of the last scrub. Or upgrade to 9.2.1 -- it includes the information on the Volume Status screen.
When FreeNAS boots, it says there is a small amount of fragmentation on the ZFS drives. Will this fragmentation ever be removed?
There is no ZFS fragmentation report during the boot (or anywhere else). You can run "less /var/run/dmesg.boot" to review the boot messages.
Other than by writing a program to sum the lengths of the files and comparing the sum with FreeNAS's report of the amount of data on the system, how does one tell if file compression is working? Is there a way to tell what method of compression was chosen at installation?
Run "zfs get compression,used,lused,compressratio <dataset_name>". Read the description of the properties here: http://www.freebsd.org/cgi/man.cgi?query=zfs (there are also other properties you may find useful: refer, lrefer, refcompressratio, ...)
How can one tell if the SMART tests are actually occurring? If they are happening, is there some way to tell what the results were?
"smartctl -l selftest <device>" (e.g. smartctl -l selftest /dev/ada1) lists recent SMART test runs and the results. Set the email address in the SMART service settings to get immediately notified of SMART errors (http://doc.freenas.org/index.php/S.M.A.R.T.).
 
Status
Not open for further replies.
Top