<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looking at the man page, it is fairly ambiguous as to these NSD states actually being different (and if not WHY have to names for the same thing?!):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">suspend<o:p></o:p></p>
<p class="MsoNormal">or<o:p></o:p></p>
<p class="MsoNormal">empty<o:p></o:p></p>
<p class="MsoNormal">         Instructs GPFS to stop allocating space on the specified<o:p></o:p></p>
<p class="MsoNormal">         disk. Put a disk in this state when you are preparing to<o:p></o:p></p>
<p class="MsoNormal">         remove the file system data from the disk or if you want<o:p></o:p></p>
<p class="MsoNormal">         to prevent new data from being put on the disk. This is<o:p></o:p></p>
<p class="MsoNormal">         a user-initiated state that GPFS never enters without an<o:p></o:p></p>
<p class="MsoNormal">         explicit command to change the disk state. Existing data<o:p></o:p></p>
<p class="MsoNormal">         on a suspended disk may still be read or updated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">         A disk remains in a suspended or to be<o:p></o:p></p>
<p class="MsoNormal">         emptied state until it is explicitly resumed.<o:p></o:p></p>
<p class="MsoNormal">         Restarting GPFS or rebooting nodes does not restore<o:p></o:p></p>
<p class="MsoNormal">         normal access to a suspended disk.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And from the examples lower in the page:<o:p></o:p></p>
<p class="MsoNormal">   Note: In product versions earlier than V4.1.1, the<o:p></o:p></p>
<p class="MsoNormal">   mmlsdisk command lists the disk status as<o:p></o:p></p>
<p class="MsoNormal">   suspended. In product versions V4.1.1 and later, the<o:p></o:p></p>
<p class="MsoNormal">   mmlsdisk command lists the disk status as to be<o:p></o:p></p>
<p class="MsoNormal">   emptied with both mmchdisk suspend or mmchdisk<o:p></o:p></p>
<p class="MsoNormal">   empty commands.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And really what I currently want to do is suspend a set of disks, and then mark a different set of disks as “to be emptied”.  Then I will run a mmrestripefs operation to move the data off of the “to be emptied” disks, but not onto the suspended
 disks (which will also be removed from the file system in the near future).  Once the NSDs are emptied then it will be a very (relatively) fast mmdeldisk operation.  So is that possible?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As you can likely tell, I don’t have enough space to just delete both sets of disks at once during a (yay!) full file system migration to the new GPFS 5.x version.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thought this might be useful to others, so posted here.  Thanks in advance neighbors!<o:p></o:p></p>
<p class="MsoNormal">-Bryan<o:p></o:p></p>
</div>
</body>
</html>