short-stack
Explorer
- Joined
- Feb 28, 2017
- Messages
- 80
I was playing around last night, and was going to add a USB drive as a cache disk on my zpool volume, and was more sleepy than I should have been. I ended up dropping the USB disk in the main Volume instead of the cache, and clicked save without double checking.
Is the only way to remove this disk from the pool to copy the data to a different volume, and blow the zpool away and create a new one?
Is the only way to remove this disk from the pool to copy the data to a different volume, and blow the zpool away and create a new one?
Code:
NAME STATE READ WRITE CKSUM Volume1 ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/e335cafb-cc2d-11e5-afad-2c56dcd595a6 ONLINE 0 0 0 gptid/e42e9e77-cc2d-11e5-afad-2c56dcd595a6 ONLINE 0 0 0 gptid/e522612f-cc2d-11e5-afad-2c56dcd595a6 ONLINE 0 0 0 gptid/e614e0c9-cc2d-11e5-afad-2c56dcd595a6 ONLINE 0 0 0 gptid/57582216-1572-11e7-87c2-001517d6681e ONLINE 0 0 0
Code:
root@nas] ~# zpool remove Volume1 gptid/57582216-1572-11e7-87c2-001517d6681e cannot remove gptid/57582216-1572-11e7-87c2-001517d6681e: only inactive hot spares, cache, top-level, or log devices can be removed [root@nas] ~# zpool detach Volume1 gptid/57582216-1572-11e7-87c2-001517d6681e cannot detach gptid/57582216-1572-11e7-87c2-001517d6681e: only applicable to mirror and replacing vdevs
Last edited: