SOLVED How do I simulate deuplication?

Status
Not open for further replies.

dairyengguy

Dabbler
Joined
Jul 17, 2015
Messages
28
I know that I need to use the zdb -S command, but I am having issues with it.

When I run that and give it the name of my pool, I get an error:

zdb: can't open '<pool>': No such file or directory
I read somewhere to direct it to /data/zfs/zpool.cache using the -U switch, which will show me the info about that pool. I cannot seem to get the -S switch to work.

What am I doing wrong?

Thanks.
 

dairyengguy

Dabbler
Joined
Jul 17, 2015
Messages
28
Figured it out. I was just structuring the command incorrectly. I need to use zdb -U /data/zfs/zpool.cache -S <poolname>

I am able to use all the other options (including the Simulate option) with this command structure.
 

axadiw

Cadet
Joined
Mar 29, 2016
Messages
1
I've tried with this structure:

zdb -S -U /data/zfs/zpool.cache <pool_name> but instead of reduplication simulation, I've received these stats:

Dataset <pool_name> [ZPL], ID 2232, cr_txg 201679, 23.8G, 2352298 objects


I guess that this isn't what I would normally get from "zfs -S", right?
 
Status
Not open for further replies.
Top