freebsd zpool
Steven Hartland
killing at multiplay.co.uk
Tue Dec 6 18:12:21 UTC 2016
On 06/12/2016 17:58, Ørjan Tønder wrote:
> i think i might have done a mistake trying too fix a faulted drive, what i
> did was
>
>
> 2016-12-06.16:15:04 zpool replace zroot 14907558934551777641
> diskid/DISK-9VS5B1F8
>
> i added all partions before hand and it all looked good in gpart show
> before i resilvered, now i cant find the drive in gpart.
>
> => 34 2930277101 diskid/DISK-WD-WMAY03724540 GPT (1.4T)
> 34 6 - free - (3.0K)
> 40 1024 1 freebsd-boot (512K)
> 1064 984 - free - (492K)
> 2048 4194304 2 freebsd-swap (2.0G)
> 4196352 2926080000 3 freebsd-zfs (1.4T)
> 2930276352 783 - free - (392K)
>
> => 34 2930277101 diskid/DISK-9VS48RLH GPT (1.4T)
> 34 6 - free - (3.0K)
> 40 1024 1 freebsd-boot (512K)
> 1064 984 - free - (492K)
> 2048 4194304 2 freebsd-swap (2.0G)
> 4196352 2926080000 3 freebsd-zfs (1.4T)
> 2930276352 783 - free - (392K)
>
> root at charon:/home/muad # zpool status
> pool: zroot
> state: ONLINE
> status: Some supported features are not enabled on the pool. The pool can
> still be used, but some features are unavailable.
> action: Enable all features using 'zpool upgrade'. Once this is done,
> the pool may no longer be accessible by software that does not
> support
> the features. See zpool-features(7) for details.
> scan: resilvered 208G in 1h13m with 0 errors on Tue Dec 6 17:28:53 2016
> config:
>
> NAME STATE READ WRITE CKSUM
> zroot ONLINE 0 0 0
> raidz1-0 ONLINE 0 0 0
> diskid/DISK-9VS5B1F8 ONLINE 0 0 0
> diskid/DISK-WD-WMAY03724540p3 ONLINE 0 0 0
> diskid/DISK-9VS48RLHp3 ONLINE 0 0 0
>
> errors: No known data errors
>
> how can i correct this mistake?
You attached the direct disk and not the partition, the only way to fix
this would be to do another replace.
Regards
Steve
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
More information about the freebsd-fs
mailing list