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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 89
User interaction with Lustre file systems6–6
b. Check the MDS service by entering the command shown in the following example on the client
node:
# cat /proc/fs/lustre/mdc/MDC_delta57_south-mds5_MNT_client_gm/filesfree
10
#
In this example, delta57 is the client node where the command is being run; south is the
name of the HP SFS system; mds5 is the name of the MDS service the client node is connected
to; and client_gm indicates that a Myrinet interconnect is being used.
If all of the inodes on the MDS service are used, no new directories or files can be created in the file system;
however, the existing files can continue to grow (as long as there is space available in the file system). In
this situation, new files can only be created if existing files are deleted. For each new file to be created, one
existing file must be deleted.
If all of the inodes on an OST service are used, no new files that would be striped over that OST service can
be created. However, you can change the striping pattern of the file so that the exhausted OST device will
be avoided; this will allow new files to be created. (See Section 6.1 of this guide for more details on file
striping.)
6.2.3 Freeing up space on OST services
To free up space on an OST service, you can migrate one or more large files from the service to another
location. Instructions on how to do this are given later in this section.
It is also possible to ensure that no new files are created on an OST service by deactivating the service;
when a service is deactivated, no new files are created on the service. However, this is not a complete
solution, because data will continue to be written to existing files on the service. The recommended solution
is to deactivate the OST service, then migrate the files to another service, and finally make a decision about
whether to reactivate the OST service. The instructions for deactivating and activating OST services are
provided in the Managing space on OST services section in Chapter 5 of the HP StorageWorks Scalable
File Share System User Guide.
To free up space on one or more OST services, you first need to determine the storage occupancy of the
services and to identify the size of the objects on the services. Section 6.1.1 describes how to use the lfs
find command to get details about a specific file, including its constituent OST services, the file stripe and
the number of stripes.
The lfs df command can be used to determine the storage occupancy of each OST service. If you find
that certain OST services are filling too rapidly and you want to manually relocate some files by copying
them, you can use the lfs find command to identify all of the files belonging to a particular OST service
in a file system.
To free up space on an OST service, perform the following steps:
1. Determine the UUID of the OST service in one of the following ways:
•Using the cat command, as follows:
# cat /proc/fs/lustre/osc/OSC_*/ost_server_uuid
south-ost49_UUID FULL
south-ost50_UUID FULL
south-ost51_UUID FULL
south-ost52_UUID FULL
The first column of the output contains the UUID of each of the OST services.
•Using the lfs df command, as follows:
# lfs df /mnt/data
UUID 1K-blocks Used Available Use% Mounted on
south-mds9_UUID 1878906672 107896252 1771010420 5 /mnt/data[MDT:0]
south-ost49_UUID 2113787820 683205232 1430582588 32 /mnt/data[OST:0]
south-ost50_UUID 2113787820 682773192 1431014628 32 /mnt/data[OST:1]
Przeglądanie stron 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 133 134

Komentarze do niniejszej Instrukcji

Brak uwag