<div dir="ltr">There are no nestes zfs sub volumes. Below are the snapshots used.  Should i try deleting snaps ?<br><br>-bash-4.2#  zfs list  -o name,used,usedbychildren,usedbysnapshots,available,compressratio,mountpoint rpool<br>
NAME    USED  USEDCHILD  USEDSNAP  AVAIL  RATIO  MOUNTPOINT<br>rpool   505G       505G         0  42.5G  1.00x  /rpool<br><br>-bash-4.2#  zfs list -r -t snapshot <br>NAME                                    USED  AVAIL  REFER  MOUNTPOINT<br>
rpool/ROOT/omnios@install               277M      -  1.52G  -<br>rpool/ROOT/omnios@2012-11-22-02:03:18   274K      -  35.6G  -<br>rpool/ROOT/omnios@2012-11-22-02:04:02   406K      -  35.6G  -<br>rpool/ROOT/omnios@2012-12-19-04:54:57   317G      -   318G  -</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 5:35 PM, sergey ivanov <span dir="ltr"><<a href="mailto:sergey57@gmail.com" target="_blank">sergey57@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Ram Chandler,<div>I guess this space is used by snapshots. Also there is possibility it is used by children (nested zfs filesystems) but then they must be unmounted so that they are not reported in your du results. Or they are subvolumes? </div>

<div>If you are using zfs, then I would suggest using zfs tools to monitor it's status. Like "zfs list" and "zfs get". You see, zfs is not just a filesystem, - it combines in one things like filesytem, volume manager, raid and may be others. And to find out what is using the space, I usually do something like "zfs get all | grep used" Or, for example, on one of our systems:</div>

<div>---</div><div><span style>root@megaera:~# df -h /raid/data{,/subversion}</span></div><div><pre style>Filesystem            Size  Used Avail Use% Mounted on
raid/data             5.7T   88K  5.7T   1% /raid/data
raid/data/subversion  5.8T   39G  5.7T   1% /raid/data/subversion
root@megaera:~# zfs list  -o name,used,usedbychildren,usedbysnapshots,available,compressratio,mountpoint \</pre><pre style>    raid/data{,/subversion}</pre><pre style>NAME                   USED  USEDCHILD  USEDSNAP  AVAIL  RATIO  MOUNTPOINT
raid/data              222G       222G         0  5.70T  1.30x  /raid/data
raid/data/subversion   151G          0      113G  5.70T  1.09x  /raid/data/subversion</pre><pre style>--- </pre><pre style>-- </pre><pre style>  Regards,</pre><pre style>  Sergey Ivanov.</pre></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Feb 26, 2013 at 6:30 AM, Ram Chander <span dir="ltr"><<a href="mailto:ramquick@gmail.com" target="_blank">ramquick@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi,<br><br><br></div><div>I have 547G parition and df  shows  only 97G used and 31G  available .  When checked with "du" it  also reports only 97G used. Where are the rest of space ? And why is "df" reporting wrong available space. <br>


</div><div>There are no process holding deleted files. <br></div><div><b><br>-bash-4.2# df -h</b><br>Filesystem             size   used  avail capacity  Mounted on<br>rpool/ROOT/omnios      547G    97G    31G    76%    /<br>


/devices                 0K     0K     0K     0%    /devices<br>/dev                     0K     0K     0K     0%    /dev<br>ctfs                     0K     0K     0K     0%    /system/contract<br>proc                     0K     0K     0K     0%    /proc<br>


mnttab                   0K     0K     0K     0%    /etc/mnttab<br>swap                  10.0G   300K  10.0G     1%    /etc/svc/volatile<br>objfs                    0K     0K     0K     0%    /system/object<br>sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab<br>


/usr/lib/libc/libc_hwcap1.so.1<br>                       128G    97G    31G    76%    /lib/libc.so.1<br>fd                       0K     0K     0K     0%    /dev/fd<br>swap                  10.0G     4K  10.0G     1%    /tmp<br>


swap                  10.0G    40K  10.0G     1%    /var/run<br>rpool/export           547G    32K    31G     1%    /export<br>rpool/export/home      547G    31K    31G     1%    /export/home<br>rpool                  547G    36K    31G     1%    /rpool<br>


<br><b>-bash-4.2# du -sch /*</b><br>512     bin<br>74M     boot<br>707K    dev<br>322K    devices<br>38M     etc<br>3.0K    export<br>512     home<br>112M    kernel<br>49M     lib<br>2.0K    media<br>1.5K    mnt<br>512     net<br>


439M    opt<br>341M    platform<br>du: cannot access `proc/23443/fd/3': No such file or directory<br>du: cannot access `proc/23443/path/3': No such file or directory<br>4.0G    proc<br>5.7M    root<br>7.5K    rpool<br>


1.8M    sbin<br>3.7M    system<br>1.5K    test<br>8.0K    tmp<br>906M    usr<br>91G     var<br><b>97G     total</b><br></div></div>
<br></div></div>_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Regards,<br>Sergey Ivanov | 443-844-6318 | <a href="mailto:sergey57@gmail.com" target="_blank">sergey57@gmail.com</a><br>
<a href="http://www.linkedin.com/pub/sergey-ivanov/8/270/a09" target="_blank">http://www.linkedin.com/pub/sergey-ivanov/8/270/a09</a>
</font></span></div>
<br>_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
<br></blockquote></div><br></div>