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.

mmdelnsd Comm<strong>and</strong><br />

Name<br />

mmdelnsd – Deletes Network Shared Disks (NSDs) from the <strong>GPFS</strong> cluster.<br />

Synopsis<br />

mmdelnsd {″DiskName[;DiskName...]″ | -F DiskFile}<br />

Or,<br />

mmdelnsd -p NSDId [-N {Node[,Node] }]<br />

Description<br />

The mmdelnsd comm<strong>and</strong> serves two purposes:<br />

1. Delete NSDs from the <strong>GPFS</strong> cluster.<br />

2. Remove the unique NSD volume ID left on the disk after the failure of a previous invocation of the<br />

mmdelnsd comm<strong>and</strong>. The NSD had been successfully deleted from the <strong>GPFS</strong> cluster but there was a<br />

failure to clear sector 2 of the disk.<br />

The NSD being deleted cannot be part of any file system. Either the mmdeldisk or mmdelfs comm<strong>and</strong><br />

must be issued prior to deleting the NSD from the <strong>GPFS</strong> cluster.<br />

The NSD being deleted cannot be a tiebreaker disk. Use the mmchconfig comm<strong>and</strong> to assign new<br />

tiebreaker disks prior to deleting the NSD from the cluster. For information on tiebreaker disks, see quorum<br />

Results<br />

Upon successful completion of the mmdelnsd comm<strong>and</strong>, these tasks are completed:<br />

v All references to the disk are removed from the <strong>GPFS</strong> cluster data.<br />

v Sector 2 of the disk is cleared of the unique NSD volume ID.<br />

Parameters<br />

DiskName[;DiskName...]<br />

Specifies the names of the NSDs to be deleted from the <strong>GPFS</strong> cluster. Specify the names<br />

generated when the NSDs were created. Use the mmlsnsd -F comm<strong>and</strong> to display disk names. If<br />

there is more than one disk to be deleted, delimit each name with a semicolon (;) <strong>and</strong> enclose the<br />

list of disk names in quotation marks.<br />

-F DiskFile<br />

Specifies a file containing the names of the NSDs, one per line, to be deleted from the <strong>GPFS</strong><br />

cluster.<br />

-N Node[,Node]<br />

Specifies the nodes to which the disk is attached. If no nodes are listed, the disk is assumed to be<br />

directly attached to the local node. Only one or two nodes may be specified with the -N flag.<br />

For general information on how to specify node names, see “Specifying nodes as input to <strong>GPFS</strong><br />

comm<strong>and</strong>s” on page 4.<br />

-p NSDId<br />

Specifies the NSD volume ID of an NSD that needs to be cleared from the disk as indicated by<br />

the failure of a previous invocation of the mmdelnsd comm<strong>and</strong>.<br />

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

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

Saved successfully!

Ooh no, something went wrong!