melloa
Wizard
- Joined
- May 22, 2016
- Messages
- 1,749
So, after changing sectors and formating this NetApp SAS disk, as below, got the error in subject.
Also used all that I could find on the internet to make them work, to no avail. Tried, (to zero it and sg-format again); now camcontrol.
I see lots of people saying that it is possible to change the sector and use those drives for something else, but after all I've tried, I think that is not true 100% of the cases.
Code:
root@freenas[~]# diskinfo -v da0 da0 512 # sectorsize 900185481216 # mediasize in bytes (838G) 1758174768 # mediasize in sectors 0 # stripesize 0 # stripeoffset 109441 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. SE_HGST DKR5D-J900SS # Disk descr. KVJZYEKF # Disk ident. No # TRIM/UNMAP support 10020 # Rotation rate in RPM Not_Zoned # Zone Mode root@freenas[~]# camcontrol cmd da0 -v -c "15 10 0 0 v:i1 0" 12 -o 12 "0 0 0 8 0 0:i3 0 v:i3" 512 root@freenas[~]# camcontrol format da0 -y You are about to REMOVE ALL DATA from the following device: pass0: <SE_HGST DKR5D-J900SS BEBE> Fixed Direct Access SPC-4 SCSI device pass0: Serial Number KVJZYEKF pass0: 600.000MB/s transfers, Command Queueing Enabled Current format timeout is 10800 seconds Formatting: 98.99 % (64879/65536) done Format Complete
Also used all that I could find on the internet to make them work, to no avail. Tried
Code:
sg_format -v --format --size=512 /dev/da0
Code:
dd if=/dev/zero of=/dev/da0 bs=104857600
I see lots of people saying that it is possible to change the sector and use those drives for something else, but after all I've tried, I think that is not true 100% of the cases.