Re: [OpenIndiana-discuss] Problems with two disks after Hypervisor switched Disk paths

2018-01-08 Thread Warren Marts
Writing 1 MB of zeros to the raw disk device has always been enough to make sure a drive is treated as new. My experience is mostly with FreeBSD, but a zpool export .. reboot .. zpool import [-f] cycle has fixed up things for me before. Or zpool clear . On Solaris based systems I understand

Re: [OpenIndiana-discuss] Duplicate devices in zpool, degraded

2018-01-08 Thread John D Groenveld
In message , David Koski writes: ># zpool replace syspool c2t0d0s0 c2t0d0s0 >invalid vdev specification >use '-f' to override the following errors: >/dev/dsk/c2t0d0s0 is part of active ZFS pool syspool. Please see zpool(1M). http://illumos.org/man/1m/zpool> zpool(1M) zpool replace [-f] pool d

[OpenIndiana-discuss] Problems with two disks after Hypervisor switched Disk paths

2018-01-08 Thread Till Wegmüller
Hello Community I am a bit stuck with two disks which don't want to attach to a zpool after being removed from the pool. Story: We have a KVM-VM running OpenIndiana on a Linux host. the Guest VM has a Zpool with about 10 disks. Passed through from the host via virtio. After a Host Reboot Linux de