I have 20 SAS drives but cannot use them in my home lab. They are formtaed I followed 'https://forums.servethehome.com/index.php?threads/how-to-reformat-hdd-ssd-to-512b-sector-size.4968/' and 'How to reformat 520 byte drives to 512 bytes (usually)' because they are in 520b format. I could not reformat to 512 because there is an error. I thought it was a SED drive but sedutil-cli says it is invalid.
I tried the stuff from the post 'Netapp SSD 520 -> 512 fail. Possible firmware issue? (Solved)' which led to 'Home' which was promising but still failed.
seatools, ultimatebootcd, parted magic - non worked
I searched for my drive part number X417A-R6 which lead to a sale posting for the drives but it has the title 'NetApp X417A-R6 nse self encrypting 900gb 10000 rpm 25inch sas 6gbps hard drive for fas2240-2 storageshelf ds2246'...SO these drives all appear to be NetApp NSE (NetApp Self Encrypted) SAS Drives.
This lead me to 'storage encryption disk revert-to-original-state' but now I am to a point that I cannot obtain the Ontap software to revert the drives to the original state.
I found a 'Netapp DS2246 Storage Expansion Array' on ebay thinking I could try to use it or at least revert the drives.
Anyone get to this point? Am I SOL? Is there any resources for reverting the NSE with out NetApp Ontap software? Opensource?
I may have missed trying something so any suggestions are appreciated.
Basic specs:
Dell R710
Dell H310 in IT mode
openSUSE Leaf installed on a non NSE/SED drive - it has sg-utils and sedutil-cli already installed or part of its current repos
Thanks,
"A guy who wants to use the hardware he bought for cheap"
Some command outputs:
After compiling the setblocksize tool:
I tried the stuff from the post 'Netapp SSD 520 -> 512 fail. Possible firmware issue? (Solved)' which led to 'Home' which was promising but still failed.
seatools, ultimatebootcd, parted magic - non worked
I searched for my drive part number X417A-R6 which lead to a sale posting for the drives but it has the title 'NetApp X417A-R6 nse self encrypting 900gb 10000 rpm 25inch sas 6gbps hard drive for fas2240-2 storageshelf ds2246'...SO these drives all appear to be NetApp NSE (NetApp Self Encrypted) SAS Drives.
This lead me to 'storage encryption disk revert-to-original-state' but now I am to a point that I cannot obtain the Ontap software to revert the drives to the original state.
I found a 'Netapp DS2246 Storage Expansion Array' on ebay thinking I could try to use it or at least revert the drives.
Anyone get to this point? Am I SOL? Is there any resources for reverting the NSE with out NetApp Ontap software? Opensource?
I may have missed trying something so any suggestions are appreciated.
Basic specs:
Dell R710
Dell H310 in IT mode
openSUSE Leaf installed on a non NSE/SED drive - it has sg-utils and sedutil-cli already installed or part of its current repos
Thanks,
"A guy who wants to use the hardware he bought for cheap"
Some command outputs:
Code:
# sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0
ATA INTEL SSDSC2BB12 DL2D [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg1: scsi0 channel=0 id=1 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg2: scsi0 channel=0 id=2 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg3: scsi0 channel=0 id=3 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg4: scsi0 channel=0 id=4 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg5: scsi0 channel=0 id=5 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg6: scsi0 channel=0 id=6 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg7: scsi0 channel=0 id=7 lun=0
NETAPP X417_HCBFE900A10 NA02 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg8: scsi1 channel=0 id=0 lun=0 [em]
TEAC DVD-ROM DV-28SW R.2A [rmb=1 cmdq=0 pqual=0 pdev=0x5]
Code:
# smartctl --all /dev/sg1
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150400.24.60-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: NETAPP
Product: X417_HCBFE900A10
Revision: NA02
Compliance: SPC-4
User Capacity: 914,250,879,360 bytes [914 GB]
Logical block size: 520 bytes
Physical block size: 4160 bytes
LU is fully provisioned
Rotation Rate: 10520 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000cca02e167ddc
Serial number: 04GDBG6A
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Fri May 5 20:59:20 2023 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature: 28 C
Drive Trip Temperature: 85 C
Accumulated power on time, hours:minutes 42:51
Manufactured in week 21 of year 2018
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 27
Specified load-unload count over device lifetime: 600000
Accumulated load-unload cycles: 28
Elements in grown defect list: 0
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 0 19 0 3647 67.835 0
write: 0 0 0 0 1841 1875.030 0
verify: 0 0 0 0 784 5.047 0
Non-medium error count: 160
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background long Aborted (by user command) - 41 - [- - -]
Long (extended) Self-test duration: 6004 seconds [100.1 minutes]
Code:
# hdparm -C /dev/sg1
/dev/sg1:
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 18 00 00 00 00 20 00 21 c0 00 00 00 00 f8 21 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 18 00 00 00 00 20 00 21 c0 00 00 00 00 f8 21 00 00 00 00 00 00 00 00 00 00
drive state is: unknown
# sg_decode_sense 70 00 05 00 00 00 00 18 00 00 00 00 20 00 21 c0 00 00 00 00 f8 21 00 00 00 00 00 00 00 00 00 00
Fixed format, current; Sense key: Illegal Request
Additional sense: Invalid command operation code
Field replaceable unit code: 33
Sense Key Specific: Error in Command: byte 0
Code:
# time ./setblocksize -b512 -t1200 /dev/sg2
setblocksize V0.2
Checking parameters ...
Blocksize specified.
Timeout specified.
Done.
New blocksize: 512 Bytes
Format timeout: 1200 minutes
Open device file ...
Done.
Prepare command ...
Done.
Send INQUIRY command ...
Done.
Check status ...
Command successful.
Check for LUN ...
LUN present.
===============================================================================
SCSI ID : 2
LUN : 0
Connected to: Host0 / Channel0
Manufacturer: NETAPP
Model : X417_HCBFE900A10
Device type : Disk
===============================================================================
Do you really want to reformat this device [y/n]? y
Prepare command ...
Done.
Send MODE SELECT command ...
Done.
Check status ...
Command successful.
Prepare command ...
Done.
Send FORMAT UNIT command ...
*** Please wait - Do not manually interrupt or power down! ***
Done.
Check status ...
Error: Check Condition
[valid=0] Info fld=0x0, Current sense key: Data Protect
Raw sense data (in hex):
70 00 07 00 00 00 00 18 00 00 00 00 20 02 27 00
plus...: Driver_status=0x08 (DRIVER_SENSE,SUGGEST_OK)
Command NOT succesful!
real 0m4.419s
user 0m0.002s
sys 0m0.000s
Code:
# sg_decode_sense 70 00 07 00 00 00 00 18 00 00 00 00 20 02 27 00
Fixed format, current; Sense key: Data Protect
Additional sense: Access denied - no access rights
Field replaceable unit code: 39
Code:
# sg_format --format -v --size=512 -S /dev/sg1
NETAPP X417_HCBFE900A10 NA02 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: 04GDBG6A
LU name: 5000cca02e167ddc
mode sense(10) cdb: [5a 00 01 00 00 00 00 00 fc 00]
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=1758174768 [0x68cb9e30]
Block size=520 [0x208]
mode select(10) cdb: [55 11 00 00 00 00 00 00 1c 00]
A FORMAT UNIT will commence in 15 seconds
ALL data on /dev/sg1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 10 seconds
ALL data on /dev/sg1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 5 seconds
ALL data on /dev/sg1 will be DESTROYED
Press control-C to abort
Format unit cdb: [04 18 00 00 00 00]
Format unit:
Fixed format, current; Sense key: Data Protect
Additional sense: Access denied - no access rights
Field replaceable unit code: 39
Format unit command: Data protect, type: sense key; write protected media?
FORMAT UNIT failed