ascending = false; $sortCriteria->sortColumn = 's_location'; if( $sourceGUID == "IE" ) { $slots = get_physical_mailbox( $user, $sortCriteria, 2 ); // Only get full slots. error_log("Physical Mailbox Slots = " . print_r($slots, true ) ); $bNoTape = true; if( sizeof($slots) != 0 ) { foreach( $slots as $slot ) { error_log( "Looking at location " . $slot->location ); if( $slot->location == "0,6,1" ) { error_log("We found a tape owned by the system partition in the top IE slot."); $bNoTape = false; break; } } } if( $bNoTape ) { error_back( 0x50035 ); return; } } // Now clean the drives. foreach (explode(":", $destGUID) as $theGUID) { if( $sourceGUID == "CC" ) clean_drive($user,$libraryGUID,$theGUID); else // Do the OLD way with the TOP IE Slot by default. clean_drive_manually($user,$libraryGUID,$theGUID); } print $status->out_complete(); return; } else { $cleaning_configured = get_num_cleaning_slots($user); $cleanSlots = get_cleaning_slots($user, $sortCriteria, 2); // Get the FULL mail box slots error_log("Cleaning Slots = ". print_r($cleanSlots, true) ); // Get the number of logical libraies so we know if we need to bring up the partition Slect page or not. $libs = get_logical_libraries_brief($user); $lib_count = count($libs); } ?> Clean Drive
Clean Drive - placeholder
Before continuing this operation, make sure the cleaning tape is placed in the top I/E/station slot, scanned and assigned for system use. Then select the drives you wish to clean and press apply to continue.

Select Drive to Clean
Total Drives:  0
 Location  State  Drive
Type
  Page  
  of        
Drives: 1 through  6

Clean Drive - placeholder
Please select the cleaning source you would like to use.

Select Cleaning Source
Total Cleaning Sources:  2
Cleaning Source
  Page  
  of  1      
Cleaning Sources: 1 through  2