Geometria de disco errada no gabinete USB

Geometria de disco errada no gabinete USB

Eu tenho um disco sata formatado em um NAS que o utiliza no linux raid 1.

Removi o disco do NAS e montei-o internamente em um PC com Linux.

O Linux reconhece corretamente o disco e consigo montar o raid e montar partições.

fdisk me dê corretamente:

root@ubuntu:/home/ubuntu# fdisk -l  /dev/sde

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

  Device Boot      Start         End      Blocks   Id  System

/dev/sde1            2048     4196351     2097152   fd  Linux raid autodetect

/dev/sde2         5244928  1953497087   974126080   fd  Linux raid autodetect
/dev/sde3         4196352     5244927      524288   fd  Linux raid autodetect

O problema é que preciso usá-lo dentro de um gabinete externo USB sata. Instalei o mesmo disco no gabinete externo e conectei o USB ao PC Linux. Mas agora o fdisk reporta uma geometria de disco errada:

root@ubuntu:/home/ubuntu# fdisk -l  /dev/sde

Disk /dev/sde: 33 MB, 33348608 bytes

2 heads, 32 sectors/track, 1017 cylinders, total 65134 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

  Device Boot      Start         End      Blocks   Id  System

/dev/sde1            2048     4196351     2097152   fd  Linux raid autodetect

/dev/sde2         5244928  1953497087   974126080   fd  Linux raid autodetect

/dev/sde3         4196352     5244927      524288   fd  Linux raid autodetect

Partition table entries are not in disk order

E não estou conseguindo montar o raid e montar partições.

Como posso resolver isso?

Obrigado

Responder1

Houve um problema com HPA

http://en.wikipedia.org/wiki/Host_protected_area

hdparm -N /dev/sdX

informação relacionada