zvols 60% (!!) larger than expected?

Status
Not open for further replies.

divB

Dabbler
Joined
Aug 20, 2012
Messages
41
Yesterday I created a 500G, 150G and 50G zvol. All of them are exported via iSCSI to a linux server and far from all space is used inside the zvols (350G, 100G and 45G).

Now zfs says that all these volumes are 60% larger than expected! This would mean that I have planned too few space in the NAS :-(

Code:
# zfs get volsize,used plvl5i0/zvdata0ecsd plvl5i0/zvhome0ecsd plvl5i0/zvsys1ecsd
NAME                 PROPERTY  VALUE    SOURCE
plvl5i0/zvdata0ecsd  volsize   500G     -
plvl5i0/zvdata0ecsd  used      828G     -
plvl5i0/zvhome0ecsd  volsize   150G     -
plvl5i0/zvhome0ecsd  used      222G     -
plvl5i0/zvsys1ecsd   volsize   50G      -
plvl5i0/zvsys1ecsd   used      81.1G    -


What's going on here?
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
What's going on here?
See [thread=7498]Metadata -- what is it, and what does it do?[/thread]. It sounds like you might have the same or similar issue. I wasn't able to reproduce the problem. In the end Hexland just went with file based extents as they were nearly the same speed and worked properly.

Are you using snapshots or anything?
 

divB

Dabbler
Joined
Aug 20, 2012
Messages
41
I was afraid that someone will talk about meta data.
But please think again: 60%?? That is too unrealistic for 'meta' data...
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
I was afraid that someone will talk about meta data.
But please think again: 60%??you can get a raise for that price.
Did you bother to read through the thread? The problem wasn't metadata. Even worst case 512b record size doesn't use that much space.
 
Status
Not open for further replies.
Top