prepared batching kit

This commit is contained in:
Matthew Gaughan 2025-01-29 11:38:05 -06:00
parent 723dce0cf9
commit eefc940a7c
4 changed files with 6193 additions and 87 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,243 @@
import git
from tqdm import tqdm
import csv
import os
import shutil
import time
import pandas as pd
import datetime
import argparse
'''
RUNNING INSTRUCTIONS:
[1] set up tmux environment, most likely also using venv within it
[2] edit this file where marked "FIX BELOW"
[3] install pip packages
[4] in your tmux environment, run the following three commands to handle password prompts
- export GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=no'
- export GIT_ASKPASS='false'
- export GIT_TERMINAL_PROMPT = '0'
[5] in tmux, run the script from the terminal as follows with your START and STOP values
- python3 intermediary_script.py --start_index START --stop_index STOP
[6] the password handling is imperfect, so I would appreciate if you could check on the script every so often in case anything hangs
THANK YOU VERY MUCH - matt
'''
#FIX BELOW: temp_dir is where the repositories will be temporarily cloned to, if you are worried about space management, specify here
temp_dir = "/tmp/tmp1"
cst = datetime.timezone(datetime.timedelta(hours=-6))
from_date = datetime.datetime(1970, 1, 1, 12, 00, 00, tzinfo=cst)
to_date = datetime.datetime(2024, 3, 16, 12, 00, 00, tzinfo=cst)
#FIX BELOW: this is where the commit data will be stored, the below parent directory NEEDS to contain the subdirs contributing_commit_data and readme_commit_data within them
COMMIT_SAVE_PREFIX = "/data/users/mgaughan/kkex/012825_cam_revision_main/"
def temp_clone(vcs_link, temp_location):
"""
ARGS
vcs_link : url link to upstream repo vcs
temp_location : filepath to where the repo should be cloned to
RETURNS
repo : the GitRepository object of the cloned repo
repo_path : the filepath to the cloned repository
"""
#print(temp_location)
vcs_link = vcs_link.strip()
os.makedirs(temp_location)
repo_path = temp_location
repo = git.Repo.clone_from(vcs_link, repo_path)
print(f"Successfully Cloned {vcs_link}")
return repo, repo_path
def delete_clone(temp_location):
"""
ARGS
temp_location : filepath to the cloned repository
RETURNS
whether or not the deletion was a success
"""
if os.path.exists(temp_location):
shutil.rmtree(temp_location)
print(f"{temp_location} has been deleted.")
return 0
else:
print("No clone at location")
return 1
# parses through commits in reverse chronological order, hence the flipping of the terms for the arguments
def commit_analysis(repo, cutoff_date, start_date):
print("Analyzing Commits...")
commits_info = []
for commit in repo.iter_commits():
# if too far back, break
if commit.committed_datetime > start_date:
continue
if commit.committed_datetime < cutoff_date:
break
commit_info = {
"commit_hash": commit.hexsha,
"author_name": commit.author.name,
"author_email": commit.author.email,
"authored_date": commit.authored_datetime,
"committer_name": commit.committer.name,
"committer_email": commit.committer.email,
"commit_date": commit.committed_datetime,
"message": commit.message,
"is_merge": len(commit.parents) > 1,
}
# author/committer org information
commit_info['author_org'] = commit_info["author_email"].split("@")[-1].split(".")[0]
commit_info['committer_org'] = commit_info["committer_email"].split("@")[-1].split(".")[0]
# some more effort to get this information
commit_info["branches"] = repo.git.branch(
"--contains", commit_info["commit_hash"]
)
# diff information
diffs = commit.diff(
commit.parents[0] if commit.parents else git.NULL_TREE, create_patch=True
)
commit_info["diff_info"] = diff_analysis(diffs)
# print(commit_info)
commits_info.append(commit_info)
return commits_info
def diff_analysis(diffs):
diff_objects = []
for diff in diffs:
diff_info = {
"lines_added": sum(
1
for line in diff.diff.decode("utf-8").split("\n")
if line.startswith("+") and not line.startswith("+++")
),
"lines_deleted": sum(
1
for line in diff.diff.decode("utf-8").split("\n")
if line.startswith("-") and not line.startswith("---")
),
"parent_filepath": diff.a_path,
"child_filepath": diff.b_path,
"change_type": diff.change_type,
"new_file": diff.new_file,
"deleted_file": diff.deleted_file,
"renamed_file": diff.renamed,
#'diff': diff.diff.decode('utf-8')
}
diff_objects.append(diff_info)
return diff_objects
def for_all_files(start_index, stop_index):
cwd = os.getcwd()
csv_path = "deb_full_data.csv"
index = -1
saved = []
empty_row = 0
clone_error =[]
has_readme = 0
has_contributing = 0
try:
with open(csv_path, 'r') as file:
csv_reader = csv.DictReader(file)
lines = [line for line in file]
for row in tqdm(csv.reader(lines), total=len(lines)):
index += 1
if index < start_index:
continue
time.sleep(4)
if row[0] == "":
empty_row += 1
continue
#row[5] = upstream vcs
temp_repo_path = ""
und_repo_id = ""
try:
os.environ['GIT_SSH_COMMAND'] = 'ssh -o StrictHostKeyChecking=no'
os.environ['GIT_ASKPASS'] = 'false'
os.environ['GIT_TERMINAL_PROMPT'] = '0'
ssh_url = ""
try:
if "github" in row[5]:
repo_id = row[5][len('https://github.com/'):]
ssh_url = f'git@github.com:{repo_id}.git'
if ssh_url.endswith('.git.git'):
ssh_url = ssh_url[:-4]
temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir)
else:
parts = row[5].split('/')
domain = parts[2]
repo_id = '/'.join(parts[3:])
try:
temp_repo, temp_repo_path = temp_clone(row[5], temp_dir)
except Exception as e:
print(f'non-Github cloning error, assuming HTTPS issue: {e}')
delete_clone(temp_dir)
ssh_url = f'git@{domain}:{repo_id}.git'
if ssh_url.endswith('.git.git'):
ssh_url = ssh_url[:-4]
temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir)
except Exception as e:
print(f'cloning error at {row[5]}')
print(f'inside cloning error: {e}')
raise ValueError(e)
os.chdir(temp_repo_path)
os.system(f"git checkout `git rev-list -n 1 --before='2024-03-16 12:00:00'`")
os.chdir(cwd)
has_readme_bool, has_contributing_bool = False, False
for filename in os.listdir(temp_repo_path):
if filename.startswith("README"):
has_readme_bool = True
if filename.startswith("CONTRIBUTING"):
has_contributing_bool = True
if has_readme_bool or has_contributing_bool:
commits_array = commit_analysis(temp_repo, from_date, to_date)
commits_df = pd.DataFrame.from_records(commits_array)
und_repo_id = '_'.join(repo_id.split("/"))
if has_readme_bool:
has_readme += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}readme_commit_data/{und_repo_id}_commits.csv",
index=False,
)
if has_contributing_bool:
has_contributing += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}contributing_commit_data/{und_repo_id}_commits.csv",
index=False,
)
except Exception as e:
clone_error.append([row[5], e])
print(f"outside cloning error: {e}")
finally:
und_repo_id = ""
delete_clone(temp_dir)
os.chdir(cwd)
if index == stop_index:
break
except KeyboardInterrupt:
print("KeyBoardInterrrupt")
finally:
print(clone_error)
with open(f"{stop_index}-clone-error-output.txt", "w") as txt_file:
for error in clone_error:
txt_file.write(error + "\n")
with open(f"{stop_index}-success-output.txt", "w") as txt_file:
txt_file.write(f"Number of Empty Rows: {empty_row} \n")
txt_file.write(f"Number of Cloning Errors: {len(clone_error)} \n")
txt_file.write(f"Number that has README: {has_readme} \n")
txt_file.write(f"Number that has CONTRIBUTING: {has_contributing}")
print(f"Number of Empty Rows: {empty_row}")
print(f"Number of Cloning Errors: {len(clone_error)}")
print(f"Number that has README: {has_readme}")
print(f"Number that has CONTRIBUTING: {has_contributing}")
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="chase validation")
parser.add_argument("--start_index", type=int, required=True, help="The starting index for the search")
parser.add_argument("--stop_index", type=int, required=True, help="The stopping index for the search")
args = parser.parse_args()
for_all_files(args.start_index, args.stop_index)

View File

@ -139,98 +139,101 @@ def for_all_files(start_index, stop_index):
clone_error =[] clone_error =[]
has_readme = 0 has_readme = 0
has_contributing = 0 has_contributing = 0
with open(csv_path, 'r') as file: try:
csv_reader = csv.DictReader(file) with open(csv_path, 'r') as file:
lines = [line for line in file] csv_reader = csv.DictReader(file)
for row in tqdm(csv.reader(lines), total=len(lines)): lines = [line for line in file]
index += 1 for row in tqdm(csv.reader(lines), total=len(lines)):
if index < start_index: index += 1
continue if index < start_index:
time.sleep(4) continue
if row[0] == "": time.sleep(4)
empty_row += 1 if row[0] == "":
continue empty_row += 1
#row[5] = upstream vcs continue
temp_repo_path = "" #row[5] = upstream vcs
und_repo_id = "" temp_repo_path = ""
try: und_repo_id = ""
os.environ['GIT_SSH_COMMAND'] = 'ssh -o StrictHostKeyChecking=no' try:
os.environ['GIT_ASKPASS'] = 'false' os.environ['GIT_SSH_COMMAND'] = 'ssh -o StrictHostKeyChecking=no'
os.environ['GIT_TERMINAL_PROMPT'] = '0' os.environ['GIT_ASKPASS'] = 'false'
ssh_url = "" os.environ['GIT_TERMINAL_PROMPT'] = '0'
try: ssh_url = ""
if "github" in row[5]: try:
repo_id = row[5][len('https://github.com/'):] if "github" in row[5]:
ssh_url = f'git@github.com:{repo_id}.git' repo_id = row[5][len('https://github.com/'):]
if ssh_url.endswith('.git.git'): ssh_url = f'git@github.com:{repo_id}.git'
ssh_url = ssh_url[:-4]
temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir)
else:
parts = row[5].split('/')
domain = parts[2]
repo_id = '/'.join(parts[3:])
try:
temp_repo, temp_repo_path = temp_clone(row[5], temp_dir)
except Exception as e:
print(f'non-Github cloning error, assuming HTTPS issue: {e}')
delete_clone(temp_dir)
ssh_url = f'git@{domain}:{repo_id}.git'
if ssh_url.endswith('.git.git'): if ssh_url.endswith('.git.git'):
ssh_url = ssh_url[:-4] ssh_url = ssh_url[:-4]
temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir) temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir)
else:
parts = row[5].split('/')
domain = parts[2]
repo_id = '/'.join(parts[3:])
try:
temp_repo, temp_repo_path = temp_clone(row[5], temp_dir)
except Exception as e:
print(f'non-Github cloning error, assuming HTTPS issue: {e}')
delete_clone(temp_dir)
ssh_url = f'git@{domain}:{repo_id}.git'
if ssh_url.endswith('.git.git'):
ssh_url = ssh_url[:-4]
temp_repo, temp_repo_path = temp_clone(ssh_url, temp_dir)
except Exception as e:
print(f'cloning error at {row[5]}')
print(f'inside cloning error: {e}')
raise ValueError(e)
os.chdir(temp_repo_path)
os.system(f"git checkout `git rev-list -n 1 --before='2024-03-16 12:00:00'`")
os.chdir(cwd)
has_readme_bool, has_contributing_bool = False, False
for filename in os.listdir(temp_repo_path):
if filename.startswith("README"):
has_readme_bool = True
if filename.startswith("CONTRIBUTING"):
has_contributing_bool = True
if has_readme_bool or has_contributing_bool:
commits_array = commit_analysis(temp_repo, from_date, to_date)
commits_df = pd.DataFrame.from_records(commits_array)
und_repo_id = '_'.join(repo_id.split("/"))
if has_readme_bool:
has_readme += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}readme_commit_data/{und_repo_id}_commits.csv",
index=False,
)
if has_contributing_bool:
has_contributing += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}contributing_commit_data/{und_repo_id}_commits.csv",
index=False,
)
except Exception as e: except Exception as e:
print(f'cloning error at {row[5]}') clone_error.append([row[5], e])
print(f'inside cloning error: {e}') print(f"outside cloning error: {e}")
raise ValueError(e) finally:
os.chdir(temp_repo_path) und_repo_id = ""
os.system(f"git checkout `git rev-list -n 1 --before='2024-03-16 12:00:00'`") delete_clone(temp_dir)
os.chdir(cwd) os.chdir(cwd)
has_readme_bool, has_contributing_bool = False, False
for filename in os.listdir(temp_repo_path):
if filename.startswith("README"):
has_readme_bool = True
if filename.startswith("CONTRIBUTING"):
has_contributing_bool = True
if has_readme_bool or has_contributing_bool:
commits_array = commit_analysis(temp_repo, from_date, to_date)
commits_df = pd.DataFrame.from_records(commits_array)
und_repo_id = '_'.join(repo_id.split("/"))
if has_readme_bool:
has_readme += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}readme_commit_data/{und_repo_id}_commits.csv",
index=False,
)
if has_contributing_bool:
has_contributing += 1
commits_df.to_csv(
f"{COMMIT_SAVE_PREFIX}contributing_commit_data/{und_repo_id}_commits.csv",
index=False,
)
except Exception as e:
clone_error.append([row[5], e])
print(f"outside cloning error: {e}")
finally:
und_repo_id = ""
delete_clone(temp_dir)
os.chdir(cwd)
if index == stop_index: if index == stop_index:
break break
except KeyboardInterrupt:
print(clone_error) print("KeyBoardInterrrupt")
with open(f"{stop_index}-clone-error-output.txt", "w") as txt_file: finally:
for error in clone_error: print(clone_error)
txt_file.write(error + "\n") with open(f"{stop_index}-clone-error-output.txt", "w") as txt_file:
with open(f"{stop_index}-success-output.txt", "w") as txt_file: for error in clone_error:
txt_file.write(f"Number of Empty Rows: {empty_row} \n") txt_file.write(error + "\n")
txt_file.write(f"Number of Cloning Errors: {len(clone_error)} \n") with open(f"{stop_index}-success-output.txt", "w") as txt_file:
txt_file.write(f"Number that has README: {has_readme} \n") txt_file.write(f"Number of Empty Rows: {empty_row} \n")
txt_file.write(f"Number that has CONTRIBUTING: {has_contributing}") txt_file.write(f"Number of Cloning Errors: {len(clone_error)} \n")
print(f"Number of Empty Rows: {empty_row}") txt_file.write(f"Number that has README: {has_readme} \n")
print(f"Number of Cloning Errors: {len(clone_error)}") txt_file.write(f"Number that has CONTRIBUTING: {has_contributing}")
print(f"Number that has README: {has_readme}") print(f"Number of Empty Rows: {empty_row}")
print(f"Number that has CONTRIBUTING: {has_contributing}") print(f"Number of Cloning Errors: {len(clone_error)}")
print(f"Number that has README: {has_readme}")
print(f"Number that has CONTRIBUTING: {has_contributing}")
if __name__ == "__main__": if __name__ == "__main__":
parser = argparse.ArgumentParser(description="chase validation") parser = argparse.ArgumentParser(description="chase validation")

768
MegaSAS.log Normal file
View File

@ -0,0 +1,768 @@
Fatal error - Command Tool invoked with wrong parameters
Exit Code: 0x01
User specified controller is not present.
Failed to get CpController object.
Exit Code: 0x01
User specified controller is not present.
Failed to get CpController object.
Exit Code: 0x01
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 372.0 GB
Mirror Data : 372.0 GB
State : Optimal
Strip Size : 256 KB
Number Of Drives : 2
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: No
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No
Virtual Drive: 1 (Target Id: 1)
Name :
RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3
Size : 21.826 TB
Parity Size : 4.365 TB
State : Partially Degraded
Strip Size : 256 KB
Number Of Drives : 12
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No
Exit Code: 0x00
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 372.0 GB
Mirror Data : 372.0 GB
State : Optimal
Strip Size : 256 KB
Number Of Drives : 2
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: No
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No
Virtual Drive: 1 (Target Id: 1)
Name :
RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3
Size : 21.826 TB
Parity Size : 4.365 TB
State : Partially Degraded
Strip Size : 256 KB
Number Of Drives : 12
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Bad Blocks Exist: No
Is VD Cached: No
Exit Code: 0x00
Adapter #0
Enclosure Device ID: 64
Slot Number: 0
Drive's postion: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: 1
Device Id: 0
WWN: 500080d910ffaffe
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA
Raw Size: 372.611 GB [0x2e9390b0 Sectors]
Non Coerced Size: 372.111 GB [0x2e8390b0 Sectors]
Coerced Size: 372.0 GB [0x2e800000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: DAC9
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x500056b3b7e3b5c0
Connected Port Number: 0(path0)
Inquiry Data: 38MS10GNTBSTTHNSF8400CCSE DAC9
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 1
Drive's postion: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: 1
Device Id: 1
WWN: 500080d910ffb073
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA
Raw Size: 372.611 GB [0x2e9390b0 Sectors]
Non Coerced Size: 372.111 GB [0x2e8390b0 Sectors]
Coerced Size: 372.0 GB [0x2e800000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: DAC9
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x500056b3b7e3b5c1
Connected Port Number: 0(path0)
Inquiry Data: 38MS10HITBSTTHNSF8400CCSE DAC9
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :19C (66.20 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 2
Drive's postion: DiskGroup: 1, Span: 0, Arm: 0
Enclosure position: 1
Device Id: 2
WWN: 5000C500B802C338
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b802c339
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM06XH8
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :22C (71.60 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 3
Drive's postion: DiskGroup: 1, Span: 0, Arm: 1
Enclosure position: 1
Device Id: 3
WWN: 5000C500B8132488
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b8132489
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM082XN
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 4
Drive's postion: DiskGroup: 1, Span: 0, Arm: 2
Enclosure position: 1
Device Id: 4
WWN: 5000C500B811C3EC
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Failed
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b811c3ed
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM087D7
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 5
Drive's postion: DiskGroup: 1, Span: 0, Arm: 3
Enclosure position: 1
Device Id: 5
WWN: 5000C500B80F6AC8
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b80f6ac9
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM08QN5
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 6
Drive's postion: DiskGroup: 1, Span: 0, Arm: 4
Enclosure position: 1
Device Id: 6
WWN: 5000C500B8110A64
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b8110a65
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM08A8N
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 7
Drive's postion: DiskGroup: 1, Span: 0, Arm: 5
Enclosure position: 1
Device Id: 7
WWN: 5000C500B81215CC
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b81215cd
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM086E3
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :22C (71.60 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 8
Drive's postion: DiskGroup: 1, Span: 0, Arm: 6
Enclosure position: 1
Device Id: 8
WWN: 5000C500B811B160
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b811b161
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM087KM
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 9
Drive's postion: DiskGroup: 1, Span: 0, Arm: 7
Enclosure position: 1
Device Id: 9
WWN: 5000C500B81E3D2C
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b81e3d2d
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM08FFH
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 10
Drive's postion: DiskGroup: 1, Span: 0, Arm: 8
Enclosure position: 1
Device Id: 10
WWN: 5000C500B8112188
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b8112189
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM089KH
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 11
Drive's postion: DiskGroup: 1, Span: 0, Arm: 9
Enclosure position: 1
Device Id: 11
WWN: 5000C500B805B2D4
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b805b2d5
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM075T3
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 12
Drive's postion: DiskGroup: 1, Span: 0, Arm: 10
Enclosure position: 1
Device Id: 12
WWN: 5000C500B812C710
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b812c711
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM0846F
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Enclosure Device ID: 64
Slot Number: 13
Drive's postion: DiskGroup: 1, Span: 0, Arm: 11
Enclosure position: 1
Device Id: 13
WWN: 5000C500B8221E58
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 2.182 TB [0x11773c6b0 Sectors]
Non Coerced Size: 2.182 TB [0x11763c6b0 Sectors]
Coerced Size: 2.182 TB [0x117600000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: ST51
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c500b8221e59
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE DL2400MM0159 ST51WBM09HEW
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 12.0Gb/s
Link Speed: 12.0Gb/s
Media Type: Hard Disk Device
Drive Temperature :21C (69.80 F)
PI Eligibility: No
Drive is formatted for PI information: Yes
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
Exit Code: 0x00