This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS Pool degraded - HHD disappeared

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

ZFS Pool degraded - HHD disappeared

Post by drnicolas »

My ZFS pool is complainig about a missing HDD and is therefore degraded.

In fact, the HDD typically connected to AHCI Port 0 is currently not recognized in my NAS4Free box. I get a Long boot-delay and the HDD does not appear in the /dev/-directory

But, i can plug it in my Windows Computer, the drive spins up and is being recognized in Windows 10 (device Manager).
Therefore, I think it is not compeltely dead.

My HP N54L has 4 Slots for fast-Change of the HDDs, maybe the Slot for Port0 is damaged. So, I would like to try another Port.


Suppose, I can plug the HDD in question into another SATA-cable on my NAS4Free box - what happens? Okay one Option is - the HDD is dead and not recognized.
But what if the HDD works on this Port? Is the HDD automatically recognized and the ZPool is online again? Do I have something to do bring the HDD intoo the Zpool again ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by crowi »

First of all check the SMART values of the drive!
But what if the HDD works on this Port? Is the HDD automatically recognized and the ZPool is online again? Do I have something to do bring the HDD intoo the Zpool again ?
If the drive is okay, it will be automatically identified as member of your ZPool, maybe you should synchronize it at
Disks|ZFS|Configuration|Synchronize

Also check Disks|Management|HDD Management
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by drnicolas »

I am not sure that I understand you right.
For me the last SMART-check looks good. it is from July 1st.

Code: Select all

ZFS pool list:
--------------
NAME       SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
vStorage  8.18T  3.80T  4.38T         -    25%    46%  1.00x  ONLINE  -

ZFS pool status:
----------------
  pool: vStorage
 state: ONLINE
  scan: scrub repaired 0 in 7h51m with 0 errors on Tue Jun 14 08:51:53 2016
config:

	NAME          STATE     READ WRITE CKSUM
	vStorage      ONLINE       0     0     0
	  raidz1-0    ONLINE       0     0     0
	    ada0      ONLINE       0     0     0
	    ada1.nop  ONLINE       0     0     0
	    ada2      ONLINE       0     0     0

errors: No known data errors

SCSI disk:
----------
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus1 target 0 lun 0 (ada1,pass1)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus2 target 0 lun 0 (ada2,pass2)
<WDC WD15EARX-00PASB0 51.0AB51>    at scbus3 target 0 lun 0 (ada3,pass3)
<Intenso Micro Line 1.00>          at scbus6 target 0 lun 0 (pass4,da0)

S.M.A.R.T. [/dev/ada0]:
-----------------------
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p14 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD30EFRX-68EUZN0
Serial Number:    WD-WMC4N0589758
LU WWN Device Id: 5 0014ee 6ae81a90b
Firmware Version: 80.00A80
User Capacity:    3,000,592,982,016 bytes [3.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: 3.0 Gb/s)
Local Time is:    Fri Jul  1 07:00:00 2016 CEST
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: 		(39600) 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: 	 ( 398) 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   176   021    Pre-fail  Always       -       6141
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       80
  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   071   071   000    Old_age   Always       -       21882
 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       -       78
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       57
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       22
194 Temperature_Celsius     0x0022   120   111   000    Old_age   Always       -       30
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       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       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  Extended offline    Completed without error       00%     20068         -
# 2  Extended offline    Completed without error       00%     20022         -
# 3  Extended offline    Completed without error       00%     19998         -
# 4  Extended offline    Completed without error       00%     19974         -
# 5  Extended offline    Completed without error       00%     19949         -
# 6  Extended offline    Completed without error       00%     19925         -
# 7  Extended offline    Completed without error       00%     19902         -
# 8  Extended offline    Completed without error       00%     19877         -
# 9  Extended offline    Completed without error       00%     19853         -
#10  Extended offline    Completed without error       00%     19829         -
#11  Extended offline    Completed without error       00%     19805         -
#12  Extended offline    Completed without error       00%     19781         -
#13  Extended offline    Completed without error       00%     19757         -
#14  Extended offline    Completed without error       00%     19733         -
#15  Extended offline    Completed without error       00%     19709         -
#16  Extended offline    Completed without error       00%     19685         -
#17  Extended offline    Completed without error       00%     19661         -
#18  Extended offline    Completed without error       00%     19613         -
#19  Extended offline    Interrupted (host reset)      10%     19591         -
#20  Extended offline    Interrupted (host reset)      10%     19564         -
#21  Extended offline    Completed without error       00%     19541         -

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.



Can I simply plug the HDD in another SATA-port?

BTW: Today the Zpool comes as degraded!
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by Parkcomm »

If you plug your drive into another port (e.g. the ODD port or the esata port on there rear it will be given a different device number if you zpool export and zpool import it should recognise the new slot number.

However zpool status above shows the pool to be healthy are you sure you still have a problem?
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by drnicolas »

Yes, the SMART-report is from an earlier date at end of june.

Today a new HDD was delivered.

After reboot and "clear config and read back from ZFS pool" the new HDD is visible, but stamped as not formatted.
Under HDD format that new HDD is not listed as formattable.

Also with the ZFS tools, I dont find that new HDD for import/attach/replace or something like that.
What is else do I need to do?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by crowi »

NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by drnicolas »

This morning the Problem is gone.

- the new HDD is online
- it is resilvered
- the old HDD disappeared

Just a question: Is there a field for each HDD where I can write some notices, e.g. "in Service since 20.7.2016" ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by raulfg3 »

Yu can use field "description" to this pourpouse:

http://wiki.nas4free.org/doku.php?id=do ... management
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by drnicolas »

Funny!
I have the latestnas4free-version.

- I can write to the description-field of each HDD
- I do NOT have a row "description" in the HDD - Managemanet - HDD Management view (my NAS4Free is in german)
- Instead, I have a row "Controller-Modell"

I do not find a Feature to configure the displayed rows!
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
lux
Advanced User
Advanced User
Posts: 193
Joined: 23 Jun 2012 11:37
Location: Bielefeld, Germany
Contact:
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by lux »

then you should Update to lastest Version!

v2870 - Pic attached with "Description" / can't see any "Controller-Modell"
hdd_managment_description.jpg
btw. use the english Language pls - german Translation is terrible! :evil: - e.g. "Syncthing" translated with "Synchronisation", wtf?? Syncthing is the Name - why it must be translated?
You do not have the required permissions to view the files attached to this post.
Home:11.3.x.7538/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only

User avatar
mooblie
experienced User
experienced User
Posts: 85
Joined: 23 Jun 2012 13:31
Location: The Highlands, Scotland
Contact:
Status: Offline

Re: ZFS Pool degraded - HHD disappeared

Post by mooblie »

Try looking at Diagnostics:Information:Disks - that gives you both Description and Controller Model (etc.,etc.) ?
Martin

Post Reply

Return to “ZFS (only!)”