LINUX.ORG.RU

История изменений

Исправление zasyadko, (текущая версия) :

Проблема решена, в выводе smartctl видим некоторое дерьмо

Formatted with type 2 protection

Смотрим дальше и видим Protection: prot_en=1, p_type=1, p_i_exponent=0 [type 2 protection]

[zasyadko@zasyadko-server-1 ~]$ sudo sg_readcap -l /dev/sdb
Read Capacity results:
   Protection: prot_en=1, p_type=1, p_i_exponent=0 [type 2 protection]
   Logical block provisioning: lbpme=0, lbprz=0
   Last LBA=5860533167 (0x15d50a3af), Number of logical blocks=5860533168
   Logical block length=512 bytes
   Logical blocks per physical block exponent=0
   Lowest aligned LBA=0
Hence:
   Device size: 3000592982016 bytes, 2861588.5 MiB, 3000.59 GB, 3.00 TB

Переформатируем (ждём 4-5 часов для 3Тб)

sg_format --format --fmtpinfo=0 /dev/sdb

Проверяем, что все ок Protection: prot_en=0, p_type=0, p_i_exponent=0

[zasyadko@zasyadko-server-1 ~]$ sudo sg_readcap -l /dev/sdb
Read Capacity results:
   Protection: prot_en=0, p_type=0, p_i_exponent=0
   Logical block provisioning: lbpme=0, lbprz=0
   Last LBA=5860533167 (0x15d50a3af), Number of logical blocks=5860533168
   Logical block length=512 bytes
   Logical blocks per physical block exponent=0
   Lowest aligned LBA=0
Hence:
   Device size: 3000592982016 bytes, 2861588.5 MiB, 3000.59 GB, 3.00 TB

А теперь и fdisk стал опознавать диск, создаем разделы, наслаждаемся.

[zasyadko@zasyadko-server-1 ~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 2,73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST33000650SS    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A2036623-E052-FE48-B070-F485EC805FED

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 5860532223 5860530176  2,7T Linux filesystem

Исходная версия zasyadko, :

Проблема решена, в выводе smartctl видим некоторое дерьмо

Formatted with type 2 protection

Смотрим дальше и видим Protection: prot_en=1, p_type=1, p_i_exponent=0 [type 2 protection]

[zasyadko@zasyadko-server-1 ~]$ sudo sg_readcap -l /dev/sdb
Read Capacity results:
   Protection: prot_en=1, p_type=1, p_i_exponent=0 [type 2 protection]
   Logical block provisioning: lbpme=0, lbprz=0
   Last LBA=5860533167 (0x15d50a3af), Number of logical blocks=5860533168
   Logical block length=512 bytes
   Logical blocks per physical block exponent=0
   Lowest aligned LBA=0
Hence:
   Device size: 3000592982016 bytes, 2861588.5 MiB, 3000.59 GB, 3.00 TB

Переформатируем

sg_format --format --fmtpinfo=0 /dev/sdb

Проверяем, что все ок Protection: prot_en=0, p_type=0, p_i_exponent=0

[zasyadko@zasyadko-server-1 ~]$ sudo sg_readcap -l /dev/sdb
Read Capacity results:
   Protection: prot_en=0, p_type=0, p_i_exponent=0
   Logical block provisioning: lbpme=0, lbprz=0
   Last LBA=5860533167 (0x15d50a3af), Number of logical blocks=5860533168
   Logical block length=512 bytes
   Logical blocks per physical block exponent=0
   Lowest aligned LBA=0
Hence:
   Device size: 3000592982016 bytes, 2861588.5 MiB, 3000.59 GB, 3.00 TB

А теперь и fdisk стал опознавать диск, создаем разделы, наслаждаемся.

[zasyadko@zasyadko-server-1 ~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 2,73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST33000650SS    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A2036623-E052-FE48-B070-F485EC805FED

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 5860532223 5860530176  2,7T Linux filesystem