Identify Data in 'ghost' vdev after removal?

seb101

Contributor
Joined
Jun 29, 2019
Messages
142
Hi,

I made a mistake in the syntax of adding a physical disk member to a pool, then (a few seconds) later removed the disk. In that time it seems approx 108KB of data was written to the that device and it now forever reports this in the Zpool status, along with the removed device mappings memory info (96 bytes). This is an annoyance!

remove: Removal of vdev 1 copied 108K in 0h0m, completed on Wed Apr 12 10:57:44 2023
96 memory used for removed device mappings

I since read up that this is due to the 'ghost vdev' that is created when a device is removed to map the blocks that were written to the removed device onto another device. I also read that it should be possible to eliminate this message if all the data (the 108KB) that was written to the removed device is deleted.

Question is... how can I identify what that data is? Is there any way?

Thanks!
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Please supply your entire hardware configuration, including how the disks are wired. And supply the output of zpool status in code tags.
 
Top