Nothing to Lose But I Lost All

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
I was willing to test FreeNas and bought a NAS Hardware with 1 ssd for OS 2 x2tb Western with Raid Card installed on it.
I also installed FreeNas v10 and started to use a year ago. I used it for unimportant applications and files archiving.
After the conditions gone worse for my FreeNas I found the opportunity to reinstall and recover my files in it.
Cause at videos and artciles it was telling everything will be ok !

I tried some commands from ssh to recover old pool or disks and configuration to reach the files.

OK I have not much things to lose inside but I want to recover and feel the taste of FreeNas power.

Any Suggestions cause I searched forums(here) and google and could not succeded to recover anything yet.
I do not want to format wipe anyhting and create new config.

Code:
Here is some information from my device:
root@Ezio[~]# zpool status
  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    freenas-boot  ONLINE       0     0     0
      ada2p2    ONLINE       0     0     0

errors: No known data errors


root@Ezio[~]# glabel status    
                                      Name  Status  Components
              gpt/Basic%20data%20partition     N/A  ada0p1
gptid/4c00185f-9e0b-4f7d-9535-a950a3e293ad     N/A  ada0p1
              gpt/EFI%20system%20partition     N/A  ada0p2
gptid/a0b25b83-2b54-4b24-a0f8-84be01c12df6     N/A  ada0p2
      gpt/Microsoft%20reserved%20partition     N/A  ada0p3
gptid/9b9febba-d759-4521-b2a0-1043f0ada325     N/A  ada0p3
gptid/4bb75676-0c4a-11ea-8743-7085c20ae8c6     N/A  ada2p1


root@Ezio[~]# smartctl -a /dev/ada1              
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Purple
Device Model:     WDC WD20PURX-64P6ZY0
Serial Number:    WD-WCC4M4JERTZ2
LU WWN Device Id: 5 0014ee 2b85f1fa1
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Nov 21 17:12:04 2019 +03
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:         (26580) 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:      ( 268) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:            (0x703d)    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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   177   173   021    Pre-fail  Always       -       4133
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       56
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   078   078   000    Old_age   Always       -       16530
10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       56
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       47
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       86
194 Temperature_Celsius     0x0022   111   106   000    Old_age   Always       -       36
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       2
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.


root@Ezio[~]# smartctl -a /dev/ada0              
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Purple
Device Model:     WDC WD20PURX-64P6ZY0
Serial Number:    WD-WCC4M2ANLJA1
LU WWN Device Id: 5 0014ee 262e321fb
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Nov 21 17:13:12 2019 +03
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:         (25440) 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:      ( 257) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:            (0x703d)    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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   177   174   021    Pre-fail  Always       -       4150
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       54
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   082   082   000    Old_age   Always       -       13328
10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       54
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       45
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       60
194 Temperature_Celsius     0x0022   113   107   000    Old_age   Always       -       34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   165   000    Old_age   Always       -       226
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
Can't offer a real solution, but perhaps some remarks:
  • The debug output is hard to read, please put it in [code][/code] tags.
  • Please add a detailed description of your hardware.
  • You mention a raid card. This is not good, FreeNAS does not like to run on RAID cards.
  • Your glabel output is strange "gpt/Microsoft%20reserved%20partition N/A ada0p3 ", really?
  • Looks like there was never run a smart test on your discs, not good.
  • Your old version was really FreeNAS 10 (aka Corral)? See here
  • You did try a zpool import?
 
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
I put those code tags in for you. Makes it much easier to read.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
ny Suggestions
These partitions make me wonder what it is we are looking at. A description of the hardware is really useful here.
Code:
root@Ezio[~]# glabel status    
                                      Name  Status  Components
              gpt/Basic%20data%20partition     N/A  ada0p1
gptid/4c00185f-9e0b-4f7d-9535-a950a3e293ad     N/A  ada0p1
              gpt/EFI%20system%20partition     N/A  ada0p2
gptid/a0b25b83-2b54-4b24-a0f8-84be01c12df6     N/A  ada0p2
      gpt/Microsoft%20reserved%20partition     N/A  ada0p3
gptid/9b9febba-d759-4521-b2a0-1043f0ada325     N/A  ada0p3
gptid/4bb75676-0c4a-11ea-8743-7085c20ae8c6     N/A  ada2p1
 

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
Can't offer a real solution, but perhaps some remarks:
  • The debug output is hard to read, please put it in [code][/code] tags.
  • Please add a detailed description of your hardware.
  • You mention a raid card. This is not good, FreeNAS does not like to run on RAID cards.
  • Your glabel output is strange "gpt/Microsoft%20reserved%20partition N/A ada0p3 ", really?
  • Looks like there was never run a smart test on your discs, not good.
  • Your old version was really FreeNAS 10 (aka Corral)? See here
  • You did try a zpool import?

-Chris helped me for code tag (thanks)
-Hardware is : Intel Pentium G3250 3.2Ghz 8GB Ram (DDR3) H81M-ITX ASROCK + RocketRaId 640L + Intel HD Graphics Card
-Ada0p3 : Probably Samba Share created this
- This is new installation can it be the reason ?
- yes It was v10 Corral
-I tried Zpool import nothing happened , did I missing something ?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
The way that partition list looks, we must be missing some drives. Did you have a drive failure?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Did you try to do some troubleshooting using Windows? ADA1 is not appearing in the glabel status, and that is bad because it means there is no partition and ADA0 is showing with a partition scheme that makes it look as if Windows was installed on it. These are supposed to be your data drives and one is missing and the other has Windows. Doesn't look good.
 

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
Did you try to do some troubleshooting using Windows? ADA1 is not appearing in the glabel status, and that is bad because it means there is no partition and ADA0 is showing with a partition scheme that makes it look as if Windows was installed on it. These are supposed to be your data drives and one is missing and the other has Windows. Doesn't look good.
Nope I never used windows or tried to make recover. There are 3 disks 1 is SSD which FreeNas installed on it
the others never attached at any device except this machine. The only thing we made while making new installation we did not attached disks to device ; after installation complete we attached disk and nothinh happened

ah also one more issue there is no VOLUME tab in WEB GUI is it normal ?
 

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
So do you suggest me to wipe all disks and lose anything on it or is there any newbie walkthrough way to recover old raids ?
 

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
Can't offer a real solution, but perhaps some remarks:
  • The debug output is hard to read, please put it in [code][/code] tags.
  • Please add a detailed description of your hardware.
  • You mention a raid card. This is not good, FreeNAS does not like to run on RAID cards.
  • Your glabel output is strange "gpt/Microsoft%20reserved%20partition N/A ada0p3 ", really?
  • Looks like there was never run a smart test on your discs, not good.
  • Your old version was really FreeNAS 10 (aka Corral)? See here
  • You did try a zpool import?
Well @Fredda as far as I could understand from the link you sent me about Corral ; I was using the most and unwanted version ever created by FreeNas and the problem was itself so it best to lose eveyrthing at all will be much safer for further operations over Freenas. Clean install and clean disks with new config , am I right ?
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
Yes, you are right. Shortly after Corral was released they pulled the plug on that.
So if there is nothing important on that discs I would simply start over.
Get rid of the RAID, if it is not integrated in the mainboard simply use the mainboard connectors instead of the RAID card.
 

themelic

Cadet
Joined
Nov 21, 2019
Messages
7
Yes, you are right. Shortly after Corral was released they pulled the plug on that.
So if there is nothing important on that discs I would simply start over.
Get rid of the RAID, if it is not integrated in the mainboard simply use the mainboard connectors instead of the RAID card.
I did as you said ;I wiped the disks and now this time I am RTFM and redoing everything from a scratch.
I am planning to use this device for our archives or lets say disaster recovery solution for my department.

any suggestion ? this device worked 3 years with Corral :D

Code:
root@ezio[~]# uname -mrs
FreeBSD 11.2-STABLE amd64

root@ezio[~]# dmesg | grep CPU 
CPU: Intel(R) Pentium(R) CPU G3250 @ 3.20GHz (3199.14-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
SMP: AP CPU #1 Launched!
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1

root@ezio[~]#  dmesg | grep memory
real memory  = 8589934592 (8192 MB)
avail memory = 7922982912 (7555 MB)



Code:
root@ezio[~]# pciconf -lv
hostb0@pci0:0:0:0:    class=0x060000 card=0x0c001849 chip=0x0c008086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '4th Gen Core Processor DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:    class=0x060400 card=0x0c011849 chip=0x0c018086 rev=0x06 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller'
    class      = bridge
    subclass   = PCI-PCI
vgapci0@pci0:0:2:0:    class=0x030000 card=0x04021849 chip=0x04028086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller'
    class      = display
    subclass   = VGA
none0@pci0:0:3:0:    class=0x040300 card=0x0c0c1849 chip=0x0c0c8086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller'
    class      = multimedia
    subclass   = HDA
xhci0@pci0:0:20:0:    class=0x0c0330 card=0x8c311849 chip=0x8c318086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family USB xHCI'
    class      = serial bus
    subclass   = USB
none1@pci0:0:22:0:    class=0x078000 card=0x8c3a1849 chip=0x8c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family MEI Controller'
    class      = simple comms
ehci0@pci0:0:26:0:    class=0x0c0320 card=0x8c2d1849 chip=0x8c2d8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family USB EHCI'
    class      = serial bus
    subclass   = USB
none2@pci0:0:27:0:    class=0x040300 card=0xc8921849 chip=0x8c208086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib2@pci0:0:28:0:    class=0x060400 card=0x8c101849 chip=0x8c108086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:2:    class=0x060400 card=0x8c141849 chip=0x8c148086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
ehci1@pci0:0:29:0:    class=0x0c0320 card=0x8c261849 chip=0x8c268086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family USB EHCI'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:    class=0x060100 card=0x8c5c1849 chip=0x8c5c8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'C220 Series Chipset Family H81 Express LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci1@pci0:0:31:2:    class=0x010601 card=0x8c021849 chip=0x8c028086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]'
    class      = mass storage
    subclass   = SATA
none3@pci0:0:31:3:    class=0x0c0500 card=0x8c221849 chip=0x8c228086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '8 Series/C220 Series Chipset Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
ahci0@pci0:1:0:0:    class=0x010400 card=0x06411103 chip=0x06411103 rev=0x01 hdr=0x00
    vendor     = 'HighPoint Technologies, Inc.'
    device     = 'RocketRAID 640L 4 Port SATA-III Controller'
    class      = mass storage
    subclass   = RAID
alc0@pci0:3:0:0:    class=0x020000 card=0x10a11849 chip=0x10a11969 rev=0x10 hdr=0x00
    vendor     = 'Qualcomm Atheros'
    device     = 'QCA8171 Gigabit Ethernet'
    class      = network
    subclass   = ethernet
 
Top