ZFS and disk usage

Mark Schouten mark at tuxis.nl
Tue Apr 17 08:37:06 UTC 2012


Hi,

Op Dinsdag, 17-04-2012 om 8:32 schreef Volodymyr Kostyrko:
> > [root at storage ~]# zfs list -o name,used,referenced,usedbychildren,usedbydataset,usedbysnapshots,available,mountpoint,quota,reserv,refquota,refreserv "$@" | sed -r "s/none/   -/g"
> > NAME                                    USED  REFER  USEDCHILD  USEDDS  USEDSNAP  AVAIL  MOUNTPOINT  QUOTA  RESERV  REFQUOTA  REFRESERV
> > storage                                1.60T   431G      1.18T    431G         0   138G  /storage        -       -         -          -
> > storage/av.https-ict.nl..OS               20G    16K          0     16K         0   158G  -               -       -         -        20G
> > storage/bestandonline.https-ict.nl.OS    20G    16K          0     16K         0   158G  -               -       -         -        20G
> 
> Let's take this one for example. It's not mounted! It shouldn't be 
> listed in next command output.

They are zvols, they shouldn't be mounted. They're exported by iscsitgt as devices.

> This is not a zfs dataset. This is a file. It has no relevance to named 
> dataset. And it drains space from /storage.

That's absolutely true. There are indeed three files that could be removed.
bestandonline.https-ict.nl.DATA
documentatievm.https-ict.nl
testvm1.https-ict.nl

But still, there is only 16K referenced by the zvols...

-- 
Dit bericht is verzonden via https://www.hyperdesktop.nl/. Alles, overal!

Mark Schouten  | Tuxis Internet Engineering
KvK: 09218193  | http://www.tuxis.nl/
T: 0318 200208 | info at tuxis.nl
M: 06 53463918 | mark at tuxis.nl


More information about the freebsd-fs mailing list