Maintenance Tools; Filesystems; Df - Available Disk Space; Du - Used Disk Space - Alcatel-Lucent OpenTouch Troubleshooting Manual

Hide thumbs Also See for OpenTouch:
Table of Contents

Advertisement

Alcatel-Lucent OpenTouch R1.x Troubleshooting guide

20. Maintenance tools

20.1

Filesystems

20.1.1 df - Available disk space

User: htuser
Command: df -h
Sample output:
[htuser@tsse090 ~]# df -h
Filesystem
/dev/mapper/vg01-rootvol
/dev/mapper/vg01-logsvol
/dev/cciss/c0d0p1
tmpfs
/dev/mapper/vg01-_var_backupvol
/dev/mapper/vg01-_slidesvol
/dev/mapper/vg01-_var_applicative_data_vmsvol
Checks: Use% column and Avail column.
Thresholds: 90% use or more is not OK. Less than 2G of available disk space in /, /var/backup, /slides,
/var/applicative_data/vms or /logs is not OK
When a disk space problem is detected, the first question is: What takes up this disk space ? The answer
can be either large files or a large number of files.

20.1.2 du - Used disk space

User: htuser
Command: du –Lx | sort -n
Sample output (extract):
du –Lx / | sort -n
0 /dev
0 /misc
0 /net
0 /proc
0 /sys
2 /boot
4 /etc/.java/.systemPrefs
4 /etc/sysconfig/pgsql
...
4925836 /opt/Alcatel-Lucent/apache/htdocs
5593216 /opt/Alcatel-Lucent/apache
8516712 /usr
8896736 /opt/Alcatel-Lucent
10153252 /opt
20956792 /
Checks: For each subdirectory listed in the last lines of the result, check the files present in this directory with
"ls –l <subdirectory>". Look for core dumps, large files or large number of files. Find out how these files
were created / filled (owner, name and eventual naming scheme, location).
Ed.15 / June 2013
Size
Used Avail Use% Mounted on
117G
91G
21G
20G
1.4G
18G
190M
19M
162M
7.9G
4.0K
7.9G
56G
23G
30G
7.4G
3.1G
4.0G
12G
201M
11G
153/182
82% /
8% /logs
11% /boot
1% /dev/shm
44% /var/backup
44% /slides
2% /var/applicative_data/vms
TG0064

Advertisement

Table of Contents
loading

Table of Contents