use logicalused instead of written to get the used space of a volume