5 Replies Latest reply: Dec 14, 2012 1:26 AM by muvvas RSS

    zpool has space,,zfs datset was showing 100% full

    muvvas
      Hi my zpool was free ..and mydataset was utilized 100%

      bash-3.00# cat /etc/release
      Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
      Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
      Assembled 11 August 2010

      bash-3.00# zpool list
      NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
      zone-storage   204G   163G  41.3G    79%  ONLINE  -


      this is zfs list o/p

      bash-3.00# zfs list -r zone-storage
      NAME USED AVAIL REFER MOUNTPOINT
      zone-storage 201G 0 23K /zone-storage
      zone-storage/kl-bkpserv1-dataset 60.0G 11.6M 20K /zones/zfs/kl-bkpserv1-dataset
      zone-storage/kl-bkpserv1-dataset/appl 12.5G 11.6M 12.5G /appl
      zone-storage/kl-bkpserv1-dataset/cache 20K 11.6M 20K /data/cache
      zone-storage/kl-bkpserv1-dataset/download1 20K 11.6M 20K /data/download1
      zone-storage/kl-bkpserv1-dataset/download2 20K 11.6M 20K /data/download2
      zone-storage/kl-bkpserv1-dataset/home 1.14G 11.6M 1.14G /export/home
      zone-storage/kl-bkpserv1-dataset/oradata01 3.71G 11.6M 3.71G /oradata01
      zone-storage/kl-bkpserv1-dataset/oradata02 2.50G 11.6M 2.50G /oradata02
      zone-storage/kl-bkpserv1-dataset/oradata03 20.9G 11.6M 20.9G /oradata03
      zone-storage/kl-bkpserv1-dataset/oradata04 17.7G 11.6M 17.7G /oradata04
      zone-storage/kl-bkpserv1-dataset/oradump 22K 11.6M 22K /oradump
      zone-storage/kl-bkpserv1-dataset/oralogs1 769M 11.6M 769M /oralogs1
      zone-storage/kl-bkpserv1-dataset/oralogs2 769M 11.6M 769M /oralogs2
      zone-storage/kl-bkpserv1-dataset/oratemp 20K 11.6M 20K /oratemp
      zone-storage/kl-bkpserv1-dataset/trace_archive1 5.62M 11.6M 5.62M /data/trace_archive1
      zone-storage/kl-bkpserv1-dataset/trace_log1 20K 11.6M 20K /data/trace_log1
      zone-storage/kl-bkpserv2-dataset 26.9G 38.1G 20K /zones/zfs/kl-bkpserv2-dataset
      zone-storage/kl-bkpserv2-dataset/appl 12.2G 38.1G 12.2G /appl
      zone-storage/kl-bkpserv2-dataset/cache 20K 38.1G 20K /data/cache
      zone-storage/kl-bkpserv2-dataset/download1 20K 38.1G 20K /data/download1
      zone-storage/kl-bkpserv2-dataset/download2 20K 38.1G 20K /data/download2
      zone-storage/kl-bkpserv2-dataset/home 5.03G 38.1G 5.03G /export/home
      zone-storage/kl-bkpserv2-dataset/oradata01 1.80G 38.1G 1.80G /oradata01
      zone-storage/kl-bkpserv2-dataset/oradata02 1.30G 38.1G 1.30G /oradata02
      zone-storage/kl-bkpserv2-dataset/oradata03 3.31G 38.1G 3.31G /oradata03
      zone-storage/kl-bkpserv2-dataset/oradata04 1.79G 38.1G 1.79G /oradata04
      zone-storage/kl-bkpserv2-dataset/oradump 21K 38.1G 21K /oradump
      zone-storage/kl-bkpserv2-dataset/oralogs1 769M 38.1G 769M /oralogs1
      zone-storage/kl-bkpserv2-dataset/oralogs2 769M 38.1G 769M /oralogs2
      zone-storage/kl-bkpserv2-dataset/oratemp 20K 38.1G 20K /oratemp
      zone-storage/kl-bkpserv2-dataset/trace_archive1 368K 38.1G 368K /data/trace_archive1
      zone-storage/kl-bkpserv2-dataset/trace_log1 20K 38.1G 20K /data/trace_log1
      zone-storage/z1bkp 10.4G 0 10.4G /zone-storage/z1bkp
      zone-storage/z2bkp 21K 0 21K /zone-storage/z2bkp
      zone-storage/zbkp 21.9G 0 21.9G /zone-storage/zbkp
      zone-storage/zones 43.4G 0 24K /zone-storage/zones
      zone-storage/zones/kl-bkpserv1 11.0G 0 11.0G /zone-storage/zones/kl-bkpserv1
      zone-storage/zones/kl-bkpserv1/dataset 21K 0 21K /zone-storage/zones/kl-bkpserv1/dataset
      zone-storage/zones/kl-bkpserv2 32.4G 0 32.4G /zone-storage/zones/kl-bkpserv2

      in this few are with legacy and non legacy...mounts
      no quota was configured..

      the below are showing 0 availble size..how ever my zpool was till 30% free

      bash-3.00# zfs list -r zone-storage/zones
      NAME                                     USED  AVAIL  REFER  MOUNTPOINT
      zone-storage/zones                      43.4G      0    24K  /zone-storage/zones
      zone-storage/zones/kl-redangz1          11.0G      0  11.0G  /zone-storage/zones/kl-redangz1
      zone-storage/zones/kl-redangz1/dataset    21K      0    21K  /zone-storage/zones/kl-redangz1/dataset
      zone-storage/zones/kl-redangz2          32.4G      0  32.4G  /zone-storage/zones/kl-redangz2


      some one please suggest,im a doing any thing wrong?
        • 1. Re: zpool has space,,zfs datset was showing 100% full
          Nik
          Hi.
          Check reservation and refreservation properties for other pools ( that have space).

          Regards.
          • 2. Re: zpool has space,,zfs datset was showing 100% full
            Cindys-Oracle
            Hi

            Missing space is difficult to track sometimes so rule out the easy things first.

            Is this a RAIDZ pool?

            If not, then using this command might be easier to see the file system space
            allocation in zone-storage:

            # zfs list -o space -r zone-storage

            Thanks, Cindy
            • 3. Re: zpool has space,,zfs datset was showing 100% full
              muvvas
              Hi..sorry for a bit late reply

              Its not the raidz pool
              this is the O/p

              bash-3.00# zfs get all zone-storage/zones |grep reservation
              zone-storage/zones reservation none default
              zone-storage/zones refreservation none default
              zone-storage/zones usedbyrefreservation 0 -
              bash-3.00# zfs get all zone-storage |grep reservation
              zone-storage reservation none default
              zone-storage refreservation none default
              zone-storage usedbyrefreservation 0 -
              bash-3.00# zfs get all zone-storage/z1bkp |grep reservation
              zone-storage/z1bkp reservation none default
              zone-storage/z1bkp refreservation none default
              zone-storage/z1bkp usedbyrefreservation 0 -
              bash-3.00# zfs get all zone-storage/z2bkp |grep reservation
              zone-storage/z2bkp reservation none default
              zone-storage/z2bkp refreservation none default
              zone-storage/z2bkp usedbyrefreservation 0 -
              bash-3.00# zfs get all zone-storage/zones/kl-bkpserv1 |grep reservation
              zone-storage/zones/kl-bkpserv1 reservation none default
              zone-storage/zones/kl-bkpserv1 refreservation none default
              zone-storage/zones/kl-bkpserv1 usedbyrefreservation 0 -
              bash-3.00# zfs get all zone-storage/kl-bkpserv2-dataset/appl |grep reservation
              zone-storage/kl-bkpserv2-dataset/appl reservation none default
              zone-storage/kl-bkpserv2-dataset/appl refreservation none default
              zone-storage/kl-bkpserv2-dataset/appl usedbyrefreservation 0 -

              bash-3.00# zfs list -o space -r zone-storage
              NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD
              zone-storage 0 201G 0 0 0 0
              zone-storage/bkpserv-dataset 11.6M 60.0G 0 0 0 0
              zone-storage/bkpserv-dataset/appl 11.6M 12.5G 0 0 0 0
              zone-storage/bkpserv-dataset/cache 11.6M 20K 0 0 0 0
              zone-storage/bkpserv-dataset/download1 11.6M 20K 0 0 0 0
              zone-storage/bkpserv-dataset/download2 11.6M 20K 0 0 0 0
              zone-storage/bkpserv-dataset/home 11.6M 1.14G 0 0 0 0
              zone-storage/bkpserv-dataset/oradata01 11.6M 3.71G 0 0 0 0
              zone-storage/bkpserv-dataset/oradata02 11.6M 2.50G 0 0 0 0
              zone-storage/bkpserv-dataset/oradata03 11.6M 20.9G 0 0 0 0
              zone-storage/bkpserv-dataset/oradata04 11.6M 17.7G 0 0 0 0
              zone-storage/bkpserv-dataset/oradump 11.6M 22K 0 0 0 0
              zone-storage/bkpserv-dataset/oralogs1 11.6M 769M 0 0 0 0
              zone-storage/bkpserv-dataset/oralogs2 11.6M 769M 0 0 0 0
              zone-storage/bkpserv-dataset/oratemp 11.6M 20K 0 0 0 0
              zone-storage/bkpserv-dataset/trace_archive1 11.6M 5.61M 0 0 0 0
              zone-storage/bkpserv-dataset/trace_log1 11.6M 20K 0 0 0 0
              zone-storage/kl-redangz2-dataset 38.1G 26.9G 0 0 0 0
              zone-storage/kl-redangz2-dataset/appl 38.1G 12.2G 0 0 0 0
              zone-storage/kl-redangz2-dataset/cache 38.1G 20K 0 0 0 0
              zone-storage/kl-redangz2-dataset/download1 38.1G 20K 0 0 0 0
              zone-storage/kl-redangz2-dataset/download2 38.1G 20K 0 0 0 0
              zone-storage/kl-redangz2-dataset/home 38.1G 5.03G 0 0 0 0
              zone-storage/kl-redangz2-dataset/oradata01 38.1G 1.80G 0 0 0 0
              zone-storage/kl-redangz2-dataset/oradata02 38.1G 1.30G 0 0 0 0
              zone-storage/kl-redangz2-dataset/oradata03 38.1G 3.31G 0 0 0 0
              zone-storage/kl-redangz2-dataset/oradata04 38.1G 1.79G 0 0 0 0
              zone-storage/kl-redangz2-dataset/oradump 38.1G 21K 0 0 0 0
              zone-storage/kl-redangz2-dataset/oralogs1 38.1G 769M 0 0 0 0
              zone-storage/kl-redangz2-dataset/oralogs2 38.1G 769M 0 0 0 0
              zone-storage/kl-redangz2-dataset/oratemp 38.1G 20K 0 0 0 0
              zone-storage/kl-redangz2-dataset/trace_archive1 38.1G 366K 0 0 0 0
              zone-storage/kl-redangz2-dataset/trace_log1 38.1G 20K 0 0 0 0
              zone-storage/z1bkp 0 10.4G 0 10.4G 0 0
              zone-storage/z2bkp 0 21K 0 21K 0 0
              zone-storage/zbkp 0 21.9G 0 0 0 0
              zone-storage/zones 0 43.4G 0 24K 0 43.4G
              zone-storage/zones/bkpserv 0 11.0G 0 11.0G 0 21K
              zone-storage/zones/bkpserv/dataset 0 21K 0 21K 0 0
              zone-storage/zones/kl-redangz2 0 32.4G 0 32.4G 0 0
              bash-3.00# zpool status zone-storage
              pool: zone-storage
              state: ONLINE
              scrub: none requested
              config:

              NAME STATE READ WRITE CKSUM
              zone-storage ONLINE 0 0 0
              c1t1d0 ONLINE 0 0 0
              c1t4d0 ONLINE 0 0 0
              c1t5d0 ONLINE 0 0 0

              errors: No known data errors
              bash-3.00# zpool get all zone-storage
              NAME PROPERTY VALUE SOURCE
              zone-storage size 204G -
              zone-storage capacity 79% -
              zone-storage altroot - default
              zone-storage health ONLINE -
              zone-storage guid 16885099213007772580 default
              zone-storage version 22 default
              zone-storage bootfs - default
              zone-storage delegation on default
              zone-storage autoreplace off default
              zone-storage cachefile - default
              zone-storage failmode wait default
              zone-storage listsnapshots on default
              zone-storage autoexpand off default
              zone-storage free 41.3G -
              zone-storage allocated 163G -
              • 4. Re: zpool has space,,zfs datset was showing 100% full
                Cindys-Oracle
                I wonder if this pool has ZFS volumes that are consuming space
                with refreservations.

                Can you provide this output:

                # zfs get -r refreservation zone-storage

                Thanks, Cindy
                • 5. Re: zpool has space,,zfs datset was showing 100% full
                  muvvas
                  Thanks cindy..here is the O/p
                  bash-3.00# zfs get -r refreservation zone-storage
                  NAME PROPERTY VALUE SOURCE
                  zone-storage refreservation none default
                  zone-storage/kl-bkpserv1-dataset refreservation none default
                  zone-storage/kl-bkpserv1-dataset/appl refreservation none default
                  zone-storage/kl-bkpserv1-dataset/cache refreservation none default
                  zone-storage/kl-bkpserv1-dataset/download1 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/download2 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/home refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oradata01 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oradata02 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oradata03 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oradata04 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oradump refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oralogs1 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oralogs2 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/oratemp refreservation none default
                  zone-storage/kl-bkpserv1-dataset/trace_archive1 refreservation none default
                  zone-storage/kl-bkpserv1-dataset/trace_log1 refreservation none default
                  zone-storage/kl-bkpserv2-dataset refreservation none default
                  zone-storage/kl-bkpserv2-dataset/appl refreservation none default
                  zone-storage/kl-bkpserv2-dataset/cache refreservation none default
                  zone-storage/kl-bkpserv2-dataset/download1 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/download2 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/home refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oradata01 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oradata02 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oradata03 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oradata04 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oradump refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oralogs1 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oralogs2 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/oratemp refreservation none default
                  zone-storage/kl-bkpserv2-dataset/trace_archive1 refreservation none default
                  zone-storage/kl-bkpserv2-dataset/trace_log1 refreservation none default
                  zone-storage/z1bkp refreservation none default
                  zone-storage/z2bkp refreservation none default
                  zone-storage/zbkp refreservation none default
                  zone-storage/zones refreservation none default
                  zone-storage/zones/kl-bkpserv1 refreservation none default
                  zone-storage/zones/kl-bkpserv1/dataset refreservation none default
                  zone-storage/zones/kl-bkpserv2 refreservation none default