Zpool import error but state is online

Status
Not open for further replies.

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
Hello, i have a hardware error in my server and its hanging, i have to reset, and when i restart my zpool can not mount, i read some posts in this forum but i can not mount my zpool, this is my system i hope you can help me.

FreeNAS-11.0-U4 (54848d13b)
Code:
root@freenas:~ # zpool status
  pool: freenas-boot
state: ONLINE
status: One or more devices has experienced an error resulting in data
  corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
  entire pool from backup.
  see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 0 in 0h6m with 0 errors on Tue Nov 14 03:51:40 2017
config:

  NAME  STATE  READ WRITE CKSUM
  freenas-boot  ONLINE  0  0  16
  da0p2  ONLINE  0  0  32

errors: 1 data errors, use '-v' for a list
root@freenas:~ # zpool import
  pool: Datos
  id: 168961235156657346
  state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

  Datos  ONLINE
  gptid/d5851699-353d-11e6-997b-000c2990a0fd  ONLINE
root@freenas:~ # zpool import -F Datos
cannot import 'Datos': I/O error
  Destroy and re-create the pool from
  a backup source.
root@freenas:~ #

Can I restore my pool or only have option to delete and create new volume?

Thanks in advance
 
Last edited by a moderator:

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
Code:
root@freenas:~ # gpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 41943006
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
  Mediasize: 524288 (512K)
  Sectorsize: 512
  Stripesize: 0
  Stripeoffset: 17408
  Mode: r0w0e0
  rawuuid: 7c49dc1d-3535-11e6-8e21-000c2990a0fd
  rawtype: 21686148-6449-6e6f-744e-656564454649
  label: (null)
  length: 524288
  offset: 17408
  type: bios-boot
  index: 1
  end: 1057
  start: 34
2. Name: da0p2
  Mediasize: 21474271232 (20G)
  Sectorsize: 512
  Stripesize: 0
  Stripeoffset: 544768
  Mode: r1w1e1
  rawuuid: 7c4bb83b-3535-11e6-8e21-000c2990a0fd
  rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
  label: (null)
  length: 21474271232
  offset: 544768
  type: freebsd-zfs
  index: 2
  end: 41942999
  start: 1064
Consumers:
1. Name: da0
  Mediasize: 21474836480 (20G)
  Sectorsize: 512
  Mode: r1w1e2

Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 12884901854
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da1p1
  Mediasize: 2147483648 (2.0G)
  Sectorsize: 512
  Stripesize: 0
  Stripeoffset: 65536
  Mode: r0w0e0
  rawuuid: d580783c-353d-11e6-997b-000c2990a0fd
  rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
  label: (null)
  length: 2147483648
  offset: 65536
  type: freebsd-swap
  index: 1
  end: 4194431
  start: 128
2. Name: da1p2
  Mediasize: 6594922196992 (6.0T)
  Sectorsize: 512
  Stripesize: 0
  Stripeoffset: 2147549184
  Mode: r0w0e0
  rawuuid: d5851699-353d-11e6-997b-000c2990a0fd
  rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
  label: (null)
  length: 6594922196992
  offset: 2147549184
  type: freebsd-zfs
  index: 2
  end: 12884901847
  start: 4194432
Consumers:
1. Name: da1
  Mediasize: 6597069766656 (6.0T)
  Sectorsize: 512
  Mode: r0w0e0

root@freenas:~ #
 
Last edited by a moderator:

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
  • Alert System
  • CRITICAL: Nov. 14, 2017, 6:12 p.m. - The boot volume state is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected.


  • CRITICAL: Nov. 14, 2017, 6:12 p.m. - The volume Datos state is UNKNOWN:
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
Have you run a memory test on the server?

You should try first zpool import -f -F Datos and if that doesn't work, then try zpool import -f -F -X Datos.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
not very complicated if you read the message it gave you, things are toast man rebuilt from backup. You also have a failing boot drive at the same time. Looks like a neglected system to me and not surprising that things are gone.
Destroy and re-create the pool from
a backup source.
 

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
Have you run a memory test on the server?

You should try first zpool import -f -F Datos and if that doesn't work, then try zpool import -f -F -X Datos.

Thank you rs225, i make an zpool import -f -F an same error, and make zpool import -f -F -X and it takes more than one hour .... What does it do ???

I not have backup because it is the backup box... :-(


not very complicated if you read the message it gave you, things are toast man rebuilt from backup. You also have a failing boot drive at the same time. Looks like a neglected system to me and not surprising that things are gone.


Yes i read but i think is better make a question in this forum that delete and create, maybe there is a hope ....
 

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
Finally zpool import -f -F -X Datos have not imported the volume, any idea more?
I can not save config from gui, if I have to install new FreeNAS and create a new volume I would like import a backup from this FreeNAS config I have create some users and configs that I want to restore.
Any idea for "save config" give me an error? maybe another option or command option to backup/import?

Thank you
 
Last edited by a moderator:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Like I already told you. You have a failing boot drive. You need to replace that then worry about your pool. You can't expect anything to work if your os is corrupted.
 
Last edited by a moderator:

virusbcn

Explorer
Joined
Apr 22, 2016
Messages
92
Thank you SweetAndLow but... how I can backup my FreeNAS config to after reinstall FreeNAS restore config?

Enviado desde mi SM-G930F mediante Tapatalk
 
Last edited by a moderator:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You download it from the gui.... Can you not do that? It's also located in the boot device and you can just copy it off.
 
Last edited by a moderator:
Status
Not open for further replies.
Top