I had a drive fail in a storage pool. The storage pool is 3x 1.5 TB drives in the motherboard SATA ports. I replaced the drive, resilvered the new drive, then performed the scrub. All was well, until I rebooted. Upon reboot, i ran a zpool status -v oneterrorbyte. It showed the old drive listed as unavailable ratherthan the new drive, which has already been resilvered and scrubbed as a member of the pool.
I have tried a zfs attach oneterrorbyte 4548809083459598154 ada1. However, it says that new drive is part of the pool already?
Two questions:
1. Why isn't freenas remembering my new pool and how do I get it to remember in the future?
2. How do I re-attach the new drive which is plugged in and has been resilvered.?
Code:
[root@FreeNAS] ~# zpool status -v oneterrorbyte pool: oneterrorbyte state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: scrub repaired 24K in 7h6m with 0 errors on Sat Aug 17 15:10:26 2013 config: NAME STATE READ WRITE CKSUM oneterrorbyte DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 4548809083459598154 UNAVAIL 0 0 0 was /dev/ada1 gpt/da2 ONLINE 0 0 0 gpt/da3 ONLINE 0 0 0
I have tried a zfs attach oneterrorbyte 4548809083459598154 ada1. However, it says that new drive is part of the pool already?
Code:
[root@FreeNAS] ~# zpool attach -f oneterrorbyte 4548809083459598154 ada1 invalid vdev specification the following errors must be manually repaired: /dev/ada1 is part of active pool 'oneterrorbyte'
Two questions:
1. Why isn't freenas remembering my new pool and how do I get it to remember in the future?
2. How do I re-attach the new drive which is plugged in and has been resilvered.?