Red Hat GLOBAL FILE SYSTEM 4.7 Podręcznik Użytkownika Strona 89

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 88
Dealing with ENOSPC or EIO errors 6–5
6.2.1 Determining the file system capacity using the lfs df command
You can use the lfs df command to determine if the file system is full, or if one or more of the OST services
in the file system are full. You can run the lfs df command as an unprivileged user on a client node (in
the same way as the df command).
The following is example shows output from the lfs df command. In this example, the output shows that
the ost6 service is more used than the other OST services:
# lfs df
UUID 1K-blocks Used Available Use% Mounted on
south-mds1_UUID 1878906672 107974228 1770932444 5 /mnt/southfive[MDT:0]
south-ost1_UUID 2113787820 126483704 1987304116 5 /mnt/southfive[OST:0]
south-ost2_UUID 2113787820 156772176 1957015644 7 /mnt/southfive[OST:1]
south-ost3_UUID 2113787820 121219808 1992568012 5 /mnt/southfive[OST:2]
south-ost4_UUID 2113787820 127460220 1986327600 6 /mnt/southfive[OST:3]
south-ost5_UUID 2113787820 124710884 1989076936 5 /mnt/southfive[OST:4]
south-ost6_UUID 2113787820 297275048 1816512772 14 /mnt/southfive[OST:5]
filesystem summary: 12682726920 953921840 11728805080 7 /mnt/southfive
UUID 1K-blocks Used Available Use% Mounted on
south-mds2_UUID 36696768 2558360 34138408 6 /mnt/southfive_home[MDT:0]
south-ost7_UUID 41284288 2814296 38469992 6 /mnt/southfive_home[OST:0]
south-ost8_UUID 41284288 2676024 38608264 6 /mnt/southfive_home[OST:1]
filesystem summary: 82568576 5490320 77078256 6 /mnt/southfive_home
6.2.2 Dealing with insufficient inodes on a file system
If all of the inodes available to the MDS service in a file system are used, an ENOSPC(28) error is returned
when an attempt is made to create a new file, even when there is space available on the file system. In
addition, if there are no inodes available on an OST service over which a file is to be striped, an attempt
to create a new file can return an EIO(5) error. You can confirm that a problem exists, as follows:
1. Determine whether there is space available on the file system, as shown in the following example for
file system data. Enter this command on the client node:
# df –h /mnt/data
Filesystem Size Used Avail Use% Mounted on
data 4.0T 2.8T 1.2T 70% /mnt/data
#
The output in this example shows that space is still available on the file system.
2. Check the free inode count on the file system, by entering the following command on the client node:
# df -hi /mnt/data
Filesystem Inodes IUsed IFree IUse% Mounted on
data 256M 256M 0 100% /mnt/data
#
3. Determine whether it is the MDS service or an OST service that has no free inodes, as follows:
a. Check the OST services by entering the command shown in the following example on the client
node:
# cat /proc/fs/lustre/osc/OSC_delta57_sfs-south-ost*_MNT_client_gm/filesfree
1310597
0
1310597
1310597
#
In this example, delta57 is the client node where the command is being run; south is the
name of the HP SFS system; and client_gm indicates that a Myrinet interconnect is being
used.
Przeglądanie stron 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 133 134

Komentarze do niniejszej Instrukcji

Brak uwag