On Thu, 06 May 2010 04:34:56 PDT
tomwaters <tomwat...@chadmail.com> wrote:

> Hi Guys, I am unable to understand what is using all the space in my rpool. 
> Can anyone help?

Please don't post twice...

> I have ~55GB used by some VM's...but how do I find out what's taking the rest 
> of the 171G that's shown as used. df and du and the Application>System 
> Tools>Disk Usage Analyser all show <100G ...so why does zpool list show usage 
> of 171G?
> I was getting disk 80% full warnings (have feed some space, now at 73%), but 
> I need to know where all the apace is. Help.
> 
> zpool list
> NAME SIZE USED AVAIL CAP HEALTH ALTROOT
> cloud 10.9T 6.70T 4.18T 61% ONLINE -
> dvr 928G 39.9G 888G 4% ONLINE -
> rpool 232G 171G 61.0G 73% DEGRADED -
> n...@nas:~/.

You should restrict the output to the pool in question with "zpool list rpool".

>  df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> rpool/ROOT/opensolaris-1
>                       90234760  34444026  55790734  39% /
> rpool/export          55790755        21  55790734   1% /export
> rpool/export/home     55790771        37  55790734   1% /export/home
> rpool/export/home/nas
>                      109116128  53325394  55790734  49% /export/home/nas
> rpool                 55790817        83  55790734   1% /rpool
> n...@nas:~/.VirtualBox# ls -l /usr/lib/libc/libc_hwcap1.so.1
> -rwxr-xr-x 1 root bin 1704024 2009-05-15 01:48 /usr/lib/libc/libc_hwcap1.so.1

The problem here is that df when file systems had a flat namespace,
and overlapping active file systems was a good way to create test
cases for your file system repair tool. Neither of those is true with
zfs, so df doesn't really tell you what's going on.

Try doing:

zfs list -r -t all rpool

to get a list of all the file systems on rpool. Check the
documentation on zfs for details on what the output means.

              <mike

-- 
Mike Meyer <m...@mired.org>             http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to