Hi,
I need your help to understand how to restore my files from zfs missing device error,
I have the freenas load from USB version 9.3 with
3 SATA 4T (WD)
1 SSD 250gg
Since I got a Unretryable error on boot I try to reinstall a new version on USB, but my mistake I did it on the SSD drive.
After I did install on USB and upload my config files I got below error.
CRITICAL: The volume datastore (ZFS) state is UNKNOWN
Not sure what was my ZFS configuration and if the SSD(may be cache ) was part of the pool.
I would like to know if there is an option to restore the files from the 3 STATA disks?
See below some command I run to bring up the pool
Also, I try to import with 11.2 beta 3 version I got (cannot import 'datastore': no such pool or dataset
Destroy and re-create the pool from
a backup source.)
I need your help to understand how to restore my files from zfs missing device error,
I have the freenas load from USB version 9.3 with
3 SATA 4T (WD)
1 SSD 250gg
Since I got a Unretryable error on boot I try to reinstall a new version on USB, but my mistake I did it on the SSD drive.
After I did install on USB and upload my config files I got below error.
CRITICAL: The volume datastore (ZFS) state is UNKNOWN
Not sure what was my ZFS configuration and if the SSD(may be cache ) was part of the pool.
I would like to know if there is an option to restore the files from the 3 STATA disks?
See below some command I run to bring up the pool
Also, I try to import with 11.2 beta 3 version I got (cannot import 'datastore': no such pool or dataset
Destroy and re-create the pool from
a backup source.)
Code:
pool: datastore id: 3130324954855864268 state: UNAVAIL status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. see: http://illumos.org/msg/ZFS-8000-EY config: datastore UNAVAIL missing device raidz1-1 ONLINE gptid/54f3c43f-efd7-11e3-989a-e03f49ac0a05 ONLINE gptid/55be4974-efd7-11e3-989a-e03f49ac0a05 ONLINE gptid/568b922e-efd7-11e3-989a-e03f49ac0a05 ONLINE pool: freenas-boot id: 1736337926885161230 state: ONLINE status: The pool is formatted using a legacy on-disk version. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: freenas-boot ONLINE ada0p2 ONLINE [root@freenas] /mnt# zpool import -f datastore (also import -F -f datastore) cannot import 'datastore': one or more devices is currently unavailable [root@freenas] /mnt# glabel status Name Status Components gptid/f40c5b80-b67f-11e8-85f0-e03f49ac0a05 N/A ada0p1 gptid/f40d520f-b67f-11e8-85f0-e03f49ac0a05 N/A ada0p2 gptid/54e46e1b-efd7-11e3-989a-e03f49ac0a05 N/A ada1p1 gptid/54f3c43f-efd7-11e3-989a-e03f49ac0a05 N/A ada1p2 gptid/55af7227-efd7-11e3-989a-e03f49ac0a05 N/A ada2p1 gptid/55be4974-efd7-11e3-989a-e03f49ac0a05 N/A ada2p2 gptid/5679804c-efd7-11e3-989a-e03f49ac0a05 N/A ada3p1 gptid/568b922e-efd7-11e3-989a-e03f49ac0a05 N/A ada3p2 gptid/7988e498-b9a7-11e8-bb6c-e03f49ac0a05 N/A da0p1 [root@freenas] /mnt# gpart show => 34 468862061 ada0 GPT (223G) 34 1024 1 bios-boot (512k) 1058 6 - free - (3.0k) 1064 468861024 2 freebsd-zfs (223G) 468862088 7 - free - (3.5k) => 34 7814037101 ada1 GPT (3.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 7809842696 2 freebsd-zfs (3.7T) 7814037128 7 - free - (3.5k) => 34 7814037101 ada2 GPT (3.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 7809842696 2 freebsd-zfs (3.7T) 7814037128 7 - free - (3.5k) => 34 7814037101 ada3 GPT (3.7T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 7809842696 2 freebsd-zfs (3.7T) 7814037128 7 - free - (3.5k) => 34 61194173 da0 GPT (29G) 34 1024 1 bios-boot (512k) 1058 6 - free - (3.0k) 1064 61193136 2 freebsd-zfs (29G) 61194200 7 - free - (3.5k)
Last edited by a moderator: