Strange space consumption on file-system


 
Thread Tools Search this Thread
Operating Systems Solaris Strange space consumption on file-system
# 1  
Old 05-18-2017
Strange space consumption on file-system

Hello,
I have a x86 Solaris server running on VMWare. c1t0d0 is root disk of 40 GB. I am not able to find, where space is being consumed. It just available space is 2.6 GB only. There is no quota or reservation set. Can somebody give me some pointer to fix it ?
Code:
-bash-3.2# zpool list
NAME                 SIZE  ALLOC   FREE  CAP  HEALTH  ALTROOT
pbdbm-wst-adm1      19.9G  11.3G  8.56G  56%  ONLINE  -
pbdbm-wst-esrpapp1  19.9G  1.90G  18.0G   9%  ONLINE  -
pbdbm-wst-lngapp1   19.9G  1.99G  17.9G  10%  ONLINE  -
pbdbm-wst-lpgapp1   19.9G  1.57G  18.3G   7%  ONLINE  -
pbdbm-wst-lsrgapp1  19.9G  1.44G  18.4G   7%  ONLINE  -
rpool               39.8G  36.5G  3.26G  91%  ONLINE  -
-bash-3.2# zfs list | grep -i rpool
rpool                           36.5G  2.64G  42.5K  /rpool
rpool/ROOT                      12.1G  2.64G    31K  legacy
rpool/ROOT/s10x_u11wos_24a      12.1G  2.64G  6.45G  /
rpool/ROOT/s10x_u11wos_24a/var  5.63G  2.64G  5.63G  /var
rpool/dump                      2.00G  2.64G  2.00G  -
rpool/export                     184K  2.64G    32K  /export
rpool/export/home                152K  2.64G   152K  /export/home
rpool/shared                    15.9G  2.64G  15.9G  /zones/shared
rpool/swap                      6.50G  2.64G  6.50G  -
-bash-3.2#
-bash-3.2#
-bash-3.2# df -h / /var /usr /opt
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/s10x_u11wos_24a
                        39G   6.4G   2.6G    71%    /
rpool/ROOT/s10x_u11wos_24a/var
                        39G   5.6G   2.6G    69%    /var
rpool/ROOT/s10x_u11wos_24a
                        39G   6.4G   2.6G    71%    /
rpool/ROOT/s10x_u11wos_24a
                        39G   6.4G   2.6G    71%    /
-bash-3.2#
-bash-3.2# du -sh /var /usr /opt
 5.6G   /var
 5.7G   /usr
 313M   /opt
-bash-3.2# zfs get quota,reservation | grep -i rpool
rpool                           quota        none    default
rpool                           reservation  none    default
rpool/ROOT                      quota        none    default
rpool/ROOT                      reservation  none    default
rpool/ROOT/s10x_u11wos_24a      quota        none    default
rpool/ROOT/s10x_u11wos_24a      reservation  none    default
rpool/ROOT/s10x_u11wos_24a/var  quota        none    default
rpool/ROOT/s10x_u11wos_24a/var  reservation  none    default
rpool/dump                      quota        -       -
rpool/dump                      reservation  none    default
rpool/export                    quota        none    default
rpool/export                    reservation  none    default
rpool/export/home               quota        none    default
rpool/export/home               reservation  none    default
rpool/shared                    quota        none    default
rpool/shared                    reservation  none    default
rpool/swap                      quota        -       -
rpool/swap                      reservation  none    default
-bash-3.2#
-bash-3.2# zfs list -o space | grep -i rpool
rpool                           2.64G  36.5G         0   42.5K              0      36.5G
rpool/ROOT                      2.64G  12.1G         0     31K              0      12.1G
rpool/ROOT/s10x_u11wos_24a      2.64G  12.1G         0   6.45G              0      5.63G
rpool/ROOT/s10x_u11wos_24a/var  2.64G  5.63G         0   5.63G              0          0
rpool/dump                      2.64G  2.00G         0   2.00G          4.20M          0
rpool/export                    2.64G   184K         0     32K              0       152K
rpool/export/home               2.64G   152K         0    152K              0          0
rpool/shared                    2.64G  15.9G         0   15.9G              0          0
rpool/swap                      2.64G  6.50G         0   6.50G              0          0
-bash-3.2#

Thanks
# 2  
Old 05-19-2017
Do you have snapshots?
# 3  
Old 05-19-2017
No, not boot environment too.
Code:
-bash-3.2# zfs list -t snapshot
no datasets available
-bash-3.2# lustatus
ERROR: No boot environments are configured on this system
ERROR: cannot determine list of all boot environment names
-bash-3.2#

# 4  
Old 05-19-2017
What's the output from
Code:
zfs list -t all

and
Code:
zpool status -v

along with
Code:
df -h

with no arguments
# 5  
Old 05-19-2017
Here you go -
Code:
-bash-3.2# zpool list
NAME                 SIZE  ALLOC   FREE  CAP  HEALTH  ALTROOT
pbdbm-wst-adm1      19.9G  11.3G  8.55G  57%  ONLINE  -
pbdbm-wst-esrpapp1  19.9G  1.91G  18.0G   9%  ONLINE  -
pbdbm-wst-lngapp1   19.9G  2.00G  17.9G  10%  ONLINE  -
pbdbm-wst-lpgapp1   19.9G  1.58G  18.3G   7%  ONLINE  -
pbdbm-wst-lsrgapp1  19.9G  1.45G  18.4G   7%  ONLINE  -
rpool               39.8G  35.0G  4.80G  87%  ONLINE  -
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2# zfs list -t all
NAME                             USED  AVAIL  REFER  MOUNTPOINT
pbdbm-wst-adm1                  11.3G  8.24G  11.3G  /zones/pbdbm-wst-adm1
pbdbm-wst-esrpapp1              1.91G  17.7G  1.91G  /zones/pbdbm-wst-esrpapp1
pbdbm-wst-lngapp1               2.00G  17.6G  2.00G  /zones/pbdbm-wst-lngapp1
pbdbm-wst-lpgapp1               1.58G  18.0G  1.58G  /zones/pbdbm-wst-lpgapp1
pbdbm-wst-lsrgapp1              1.45G  18.1G  1.45G  /zones/pbdbm-wst-lsrgapp1
rpool                           35.0G  4.17G    42K  /rpool
rpool/ROOT                      10.5G  4.17G    31K  legacy
rpool/ROOT/s10x_u11wos_24a      10.5G  4.17G  6.10G  /
rpool/ROOT/s10x_u11wos_24a/var  4.44G  4.17G  4.44G  /var
rpool/dump                      2.00G  4.18G  2.00G  -
rpool/export                     184K  4.17G    32K  /export
rpool/export/home                152K  4.17G   152K  /export/home
rpool/shared                    15.9G  4.17G  15.9G  /zones/shared
rpool/swap                      6.50G  4.17G  6.50G  -
-bash-3.2#
-bash-3.2# zpool status -v
  pool: pbdbm-wst-adm1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pbdbm-wst-adm1  ONLINE       0     0     0
          c1t1d0    ONLINE       0     0     0

errors: No known data errors

  pool: pbdbm-wst-esrpapp1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pbdbm-wst-esrpapp1  ONLINE       0     0     0
          c1t2d0    ONLINE       0     0     0

errors: No known data errors

  pool: pbdbm-wst-lngapp1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pbdbm-wst-lngapp1  ONLINE       0     0     0
          c1t3d0    ONLINE       0     0     0

errors: No known data errors

  pool: pbdbm-wst-lpgapp1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pbdbm-wst-lpgapp1  ONLINE       0     0     0
          c1t4d0    ONLINE       0     0     0

errors: No known data errors

  pool: pbdbm-wst-lsrgapp1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pbdbm-wst-lsrgapp1  ONLINE       0     0     0
          c1t5d0    ONLINE       0     0     0

errors: No known data errors

  pool: rpool
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c1t0d0s0  ONLINE       0     0     0

errors: No known data errors
-bash-3.2#
-bash-3.2#
-bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/s10x_u11wos_24a
                        39G   6.1G   4.2G    60%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    32G   904K    32G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                        10G   6.1G   4.2G    60%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
rpool/ROOT/s10x_u11wos_24a/var
                        39G   4.4G   4.2G    52%    /var
swap                    32G     0K    32G     0%    /tmp
swap                    32G    52K    32G     1%    /var/run
rpool/export            39G    32K   4.2G     1%    /export
rpool/export/home       39G   152K   4.2G     1%    /export/home
rpool                   39G    42K   4.2G     1%    /rpool
pbdbm-wst-adm1          20G    11G   8.2G    58%    /zones/pbdbm-wst-adm1
pbdbm-wst-esrpapp1      20G   1.9G    18G    10%    /zones/pbdbm-wst-esrpapp1
pbdbm-wst-lngapp1       20G   2.0G    18G    11%    /zones/pbdbm-wst-lngapp1
pbdbm-wst-lpgapp1       20G   1.6G    18G     9%    /zones/pbdbm-wst-lpgapp1
pbdbm-wst-lsrgapp1      20G   1.5G    18G     8%    /zones/pbdbm-wst-lsrgapp1
rpool/shared            39G    16G   4.2G    80%    /zones/shared
-bash-3.2#

# 6  
Old 05-19-2017
Filesystem rpool/shared is occupying most space in rpool.
Code:
rpool/shared            39G    16G   4.2G    80%    /zones/shared

Hope that helps
Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 7  
Old 05-19-2017
Oh..I completely forgot about that. Thanks for pointing it out
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

No space in the file system

A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space? Also, can someone suggest a script to send a mail alert when a file system is reaching 90%. G (4 Replies)
Discussion started by: ggayathri
4 Replies

2. Solaris

Solaris file system space

Hi Experts, I have query regarding output of df command. $ df -k Filesystem 1024-blocks Used Available Capacity Mounted on rpool/ROOT/solaris-161 191987712 6004395 140577816 5% / /devices 0 0 0 0% /devices... (3 Replies)
Discussion started by: sai_2507
3 Replies

3. HP-UX

Increasing space in file system

Hi Friends, I want to cut space from one file system and add in another file system. For example I have 100 gb space in /oracle/TST/oraarch I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1. Please hel, How I can do it. Regards, Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies

4. Solaris

Solaris file system unable to use available space

Hi, The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB. The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space. ofcourse the software... (31 Replies)
Discussion started by: iris1
31 Replies

5. Linux

Allocating available space to file system

have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box. The linux box shows this for df -hal: Filesystem Size Used Avail Use% Mounted on -dev-mapper-VolGroup00-LogVol00 19G 5.9G 12G 34% - proc 0 0 0 - -proc sysfs 0 0 0 - -sys devpts 0 0 0 - -dev-pts -dev-sda1 99M 13M... (1 Reply)
Discussion started by: mackman
1 Replies

6. Shell Programming and Scripting

Get free space of file system

Hi guys, I'm trying to get free space in GB of file system into parameter. I have the following code: > cat get_free_space_FS.ksh #! /bin/ksh FS=/dw/mar FreeSpace=`df -h | grep $FS | awk '{print $4}'` echo $FreeSpace > ./get_free_space_FS.ksh 362G My question is ,how can I cut in... (4 Replies)
Discussion started by: nir_s
4 Replies

7. UNIX for Dummies Questions & Answers

How to find a file whick is consuming larger disk space in file system

Hello, Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it please help me out any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies

8. UNIX for Dummies Questions & Answers

free some space in file system

dear all, I have some problem in my file system : df -k result : ... /dev/md/dsk/d3 3101839 2736380 303423 91% /var ... it occupied around 2.7 gb but when I tried command du -sk /var 813991 /var so /var only have around 800Mb , Do you know why there is many difference... (6 Replies)
Discussion started by: fu4d
6 Replies

9. Solaris

Lost space on file system

Hi everybody, I got a problem on my SUN server in Solaris 9. I'll try to explain, if somebody could help me. I have mounted some volumes in RAID 0+1, that is stripped slices and then mirror. To be clear the result of metastat d80 is as follow : d80: Mirror Submirror 0: d81 State:... (2 Replies)
Discussion started by: aribault
2 Replies

10. HP-UX

Root File system Space

Hi I'm using HP-UX 11.00, the root file system is as shown below. Several time it reach 100% used, to free some space I use to reboot the system. What can I do to free some space without rebooting the machine? Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 ... (2 Replies)
Discussion started by: cgege
2 Replies
Login or Register to Ask a Question