Avoid lvm tools - too slow, use stat()