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.

mmrpldisk Comm<strong>and</strong><br />

Name<br />

mmrpldisk – Replaces the specified disk.<br />

Synopsis<br />

mmrpldisk Device DiskName {DiskDesc | -F DescFile} [-v yes | no] [-N {Node[,Node...] | NodeFile |<br />

NodeClass}]<br />

Description<br />

Use the mmrpldisk comm<strong>and</strong> to replace an existing disk in the <strong>GPFS</strong> file system with a new one. All data<br />

on the old disk is migrated to the new one.<br />

To replace disks in a <strong>GPFS</strong> file system, you must first decide if you will:<br />

1. Create new disks using the mmcrnsd comm<strong>and</strong>.<br />

Use the rewritten disk descriptor file produced by the mmcrnsd comm<strong>and</strong> or create a new disk<br />

descriptor. When using the rewritten file, the Disk Usage <strong>and</strong> Failure Group specifications remain the<br />

same as specified on the mmcrnsd comm<strong>and</strong>.<br />

2. Select disks no longer in use in any file system. Issue the mmlsnsd -F comm<strong>and</strong> to display the<br />

available disks.<br />

The disk may then be used to replace a disk in the file system using the mmrpldisk comm<strong>and</strong>.<br />

Notes:<br />

1. You cannot replace a disk when it is the only remaining disk in the file system.<br />

2. Under no circumstances should you replace a stopped disk. You need to start a stopped disk before<br />

replacing it. If a disk cannot be started, you must delete it using the mmdeldisk comm<strong>and</strong>. See the<br />

General Parallel File System: Problem Determination Guide <strong>and</strong> search for Disk media failure.<br />

3. The file system need not be unmounted before the mmrpldisk comm<strong>and</strong> can be run.<br />

4. I/O operations from SANergy clients must terminate before using the mmrpldisk comm<strong>and</strong>. If not, the<br />

client applications receive an error.<br />

Results<br />

Upon successful completion of the mmrpldisk comm<strong>and</strong>, the disk is replaced in the file system <strong>and</strong> data<br />

is copied to the new disk without restriping.<br />

Parameters<br />

Device<br />

The device name of the file system where the disk is to be replaced. File system names need not<br />

be fully-qualified. fs0 is as acceptable as /dev/fs0.<br />

This must be the first parameter.<br />

Disk Name<br />

The name of the disk to be replaced, which was previously passed to the mmcrfs, mmadddisk,<br />

or mmrpldisk comm<strong>and</strong>s. You can display the entire list of disk names by issuing the mmlsdisk<br />

comm<strong>and</strong>.<br />

DiskDesc<br />

A descriptor for the replacement disk.<br />

-F DescFile<br />

Specifies a file containing the disk descriptor for the replacement disk.<br />

Chapter 8. <strong>GPFS</strong> comm<strong>and</strong>s 259

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

Saved successfully!

Ooh no, something went wrong!