[OpenIndiana-discuss] measuring fragmentation on ZFS?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Mon Mar 14 20:23:07 UTC 2011

> Is there a way to query how much fragmentation there is in a
> filesystem?
> We've got a large filesystem which was allowed to get really full
> before it was expanded considerably, and we also had deduplication
> turned on briefly, which caused the dedupe table to get very, very
> big. While the application that stores data rewrites a lot of it, the
> dedupe table still has a lot of entries in it, etc.

If the filesystem was filled up, and you added another VDEV, the initial VDEV(s) will stay full until you either destroy the pool, replace the drives with larger ones (given autoexpand=on) or wait for block pointer rewrite, which may take a while....

I'm replacing 2TB drives with 3TB ones atm for the same reason - the initial 30TB pool got filled up and we attached another disk chassis - this didn't help much, performance-wise, so we ended up getting 22 3TB drives to fix it the hard way - backing up and restoring what now is 35TB is not very amusing...

Vennlige hilsener / Best regards

Roy Sigurd Karlsbakk
(+47) 97542685
roy at karlsbakk.net
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.

More information about the OpenIndiana-discuss mailing list