29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reducing file system fragmentation<br />

You can reduce the amount of fragmentation for a file system by issuing the mmdefragfs comm<strong>and</strong>, with<br />

or without a desired block utilization goal. For example, to reduce the amount of fragmentation for file<br />

system fs0 with a goal of 99% utilization, enter:<br />

mmdefragfs fs0 -u 99<br />

The system displays information similar to:<br />

WARNING: "fs0" is mounted on 1 node(s) <strong>and</strong> in use on 1 node(s)<br />

Start processing: iteration 1<br />

Processing Pass 1 of 1<br />

Disk Name gpfs68nsd gpfs69nsd<br />

6 % complete<br />

12 % complete<br />

27 % complete<br />

32 % complete<br />

38 % complete<br />

56 % complete<br />

63 % complete<br />

81 % complete<br />

98 % complete<br />

free subblk free<br />

disk in full subblk in % %<br />

name blocks blk fragments free blk blk util<br />

before after freed before after before after before after<br />

--------------- ---------------- ------- ---------------- ------------ ------------<br />

gpfs68nsd 39424 40064 20 1347 589 68.75 69.87 92.48 96.59<br />

gpfs69nsd 50688 51456 24 1555 593 72.26 73.36 92.01 96.83<br />

--------------------- ---------------- ------------<br />

(total) 90112 91520 44 2902 1182 93.63 98.84<br />

See the “mmdefragfs Comm<strong>and</strong>” on page 146 for complete usage information.<br />

Backing up a file system<br />

The mmbackup comm<strong>and</strong> enables root users to backup the files of a <strong>GPFS</strong> file system to storage using a<br />

Tivoli ®<br />

Storage Manager (TSM) server. Once a file system has been backed up, the user can restore files<br />

using the interfaces provided by TSM.<br />

The mmbackup comm<strong>and</strong> provides either:<br />

v A full backup of all files in the file system.<br />

v An incremental backup of only those files which have changed or been deleted since the last backup.<br />

Files that have changed since the last backup are updated in the backup, <strong>and</strong> files that have been<br />

deleted since the last backup are expired from the backup.<br />

Required level of Tivoli Storage Manager<br />

When using the <strong>GPFS</strong> mmbackup comm<strong>and</strong>, Tivoli Storage Manager must be at Version 4 Release 2<br />

(4.2) or later.<br />

Setting up TSM for use by <strong>GPFS</strong><br />

The mmbackup comm<strong>and</strong> requires a working TSM environment:<br />

1. The TSM server code must be installed on the TSM server node specified in the file on the -n<br />

ControlFile option.<br />

Chapter 3. Managing file systems 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!