new Freenas user here..
I hope to get some advice to this problem i'm having with the zfs pool.
One of the disks failed and the pool was degraded.
I think i had problems with sata cables because sometimes different disks would show as degraded.
So i replaced all sata cables for disks.
I did:
made faulty disk offline trough GUI and power off server,
then replacing faulty disk with new one,
and powering on the server
I would be getting errors when trying "replace" on the new drive, also from GUI.
Is there a way to add the missing disks into the pool and make it work again.
I've been reading forums but, could not find similar situation as mine.
Kinda stuck now.
Thanks for help
setup is:
freenas111-U1 running on a Intel MB DH61BE with 4Gb RAM
5 SATA disks
one of which is freenas-boot (250 Gb) , dmesg see it as ada0
four 1TB WD black, dmesg see them as ada1, ada2, ada3, ada4
this is the current pool status
zpool history for boot disk
I hope to get some advice to this problem i'm having with the zfs pool.
One of the disks failed and the pool was degraded.
I think i had problems with sata cables because sometimes different disks would show as degraded.
So i replaced all sata cables for disks.
I did:
made faulty disk offline trough GUI and power off server,
then replacing faulty disk with new one,
and powering on the server
I would be getting errors when trying "replace" on the new drive, also from GUI.
Is there a way to add the missing disks into the pool and make it work again.
I've been reading forums but, could not find similar situation as mine.
Kinda stuck now.
Thanks for help
setup is:
freenas111-U1 running on a Intel MB DH61BE with 4Gb RAM
5 SATA disks
one of which is freenas-boot (250 Gb) , dmesg see it as ada0
four 1TB WD black, dmesg see them as ada1, ada2, ada3, ada4
this is the current pool status
Code:
zpool status --------------------------- pool: freenas-boot state: ONLINE scan: scrub repaired 0 in 0 days 00:00:25 with 0 errors on Tue May 29 03:45:25 2018 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 ada0p2 ONLINE 0 0 0 errors: No known data errors ----------------------------- zpool import ---------------------------------------- pool: diska4 id: 5567117220389899294 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://illumos.org/msg/ZFS-8000-6X config: diska4 UNAVAIL missing device mirror-0 ONLINE gptid/8cb80fb9-0b4c-11e8-963b-e06995f44d26 ONLINE gptid/8dfde512-0b4c-11e8-963b-e06995f44d26 ONLINE Additional devices are known to be part of this pool, though their exact configuration cannot be determined. ----------------------------------------
Code:
glabel status Name Status Components Serial gptid/70cc7a48-0b45-11e8-b272-e06995f44d26 N/A ada0p1 K94PT972D6JV gptid/8cb80fb9-0b4c-11e8-963b-e06995f44d26 N/A ada1p2 WD-WCC6Y6XTFC9C gptid/8dfde512-0b4c-11e8-963b-e06995f44d26 N/A ada2p2 WD-WCC0S0521816 gptid/367c78be-68cd-11e8-98a3-e06995f44d26 N/A ada3p2 WD-WCC6Y3HSFCN0 gptid/49f4da5f-68cd-11e8-98a3-e06995f44d26 N/A ada4p2 WD-WCC6Y4AFJHUY
Code:
gpart show => 40 488397088 ada0 GPT (233G) 40 1024 1 bios-boot (512K) 1064 488396056 2 freebsd-zfs (233G) 488397120 8 - free - (4.0K) => 40 1953525088 ada1 GPT (932G) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330688 2 freebsd-zfs (930G) 1953525120 8 - free - (4.0K) => 40 1953525088 ada2 GPT (932G) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330688 2 freebsd-zfs (930G) 1953525120 8 - free - (4.0K) => 40 1953525088 ada3 GPT (932G) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330688 2 freebsd-zfs (930G) 1953525120 8 - free - (4.0K) => 40 1953525088 ada4 GPT (932G) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 1949330688 2 freebsd-zfs (930G) 1953525120 8 - free - (4.0K)
zpool history for boot disk
Code:
History for 'freenas-boot': 2018-02-06.14:55:51 zpool create -f -o cachefile=/tmp/zpool.cache -o version=28 -O mountpoint=none -O atime=off -O canmount=off freenas-boot ada2p2 2018-02-06.14:55:52 zpool set feature@async_destroy=enabled freenas-boot 2018-02-06.14:55:52 zpool set feature@empty_bpobj=enabled freenas-boot 2018-02-06.14:55:52 zpool set feature@lz4_compress=enabled freenas-boot 2018-02-06.14:55:52 zfs set compress=lz4 freenas-boot 2018-02-06.14:55:52 zfs create -o canmount=off freenas-boot/ROOT 2018-02-06.14:55:53 zfs create -o mountpoint=legacy freenas-boot/ROOT/default 2018-02-06.14:55:58 zfs create -o mountpoint=legacy freenas-boot/grub 2018-02-06.14:58:53 zpool set bootfs=freenas-boot/ROOT/default freenas-boot 2018-02-06.14:58:53 zpool set cachefile=/boot/zfs/rpool.cache freenas-boot 2018-02-06.14:59:04 zfs set beadm:nickname=default freenas-boot/ROOT/default 2018-02-06.15:08:43 zfs snapshot -r freenas-boot/ROOT/default@2018-02-06-14:08:43 2018-02-06.15:08:44 zfs clone -o canmount=off -o mountpoint=legacy freenas-boot/ROOT/default@2018-02-06-14:08:43 freenas-boot/ROOT/Initial-Install 2018-02-06.15:08:49 zfs set beadm:nickname=Initial-Install freenas-boot/ROOT/Initial-Install 2018-02-06.15:47:13 zfs snapshot -r freenas-boot/ROOT/default@2018-02-06-15:47:13 2018-02-06.15:47:15 zfs clone -o canmount=off -o mountpoint=legacy freenas-boot/ROOT/default@2018-02-06-15:47:13 freenas-boot/ROOT/Wizard-2018-02-06_06:47:13 2018-02-06.15:47:20 zfs set beadm:nickname=Wizard-2018-02-06_06:47:13 freenas-boot/ROOT/Wizard-2018-02-06_06:47:13 2018-02-14.03:45:07 zpool scrub freenas-boot 2018-02-22.03:45:07 zpool scrub freenas-boot 2018-03-02.03:45:07 zpool scrub freenas-boot 2018-03-10.03:45:06 zpool scrub freenas-boot 2018-03-18.03:45:06 zpool scrub freenas-boot 2018-03-26.03:45:06 zpool scrub freenas-boot 2018-04-03.03:45:07 zpool scrub freenas-boot 2018-04-11.03:45:06 zpool scrub freenas-boot 2018-04-19.03:45:07 zpool scrub freenas-boot 2018-04-27.03:45:06 zpool scrub freenas-boot 2018-05-05.03:45:06 zpool scrub freenas-boot 2018-05-13.03:45:05 zpool scrub freenas-boot 2018-05-21.03:45:07 zpool scrub freenas-boot 2018-05-29.03:45:10 zpool scrub freenas-boot