CentOS7 mount: dispositivo especial / dev / sdb1 não existe, mas eu posso vê-lo com fdisk

0

Eu tinha o centos7 rodando em uma máquina. Anexado a ele via usb3 eu tinha um caddy de disco segurando um WD 4 TB verde HD. Isso funcionou perfeito para mim. E até funcionou na máquina centos7 anterior.

Eu tenho um novo computador instalado centos 7 nele. Conectado no disco.
faça um fdisk -l e obtenha:

Disk /dev/sdb: 1801.8 GB, 1801763774464 bytes, 3519069872 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 label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT

Mas quando eu vou montá-lo, eu recebo:

mount: special device /dev/sdb1 does not exist

Monte a partir do fstab:

/dev/sdb1 /mnt/mediastorage ext4 defaults,noauto 0 2

Alguma sugestão sobre como fazer isso funcionar?

Obrigado ATUALIZAR EDIT: Depois de alguma pesquisa e sugestão em comentário.

Eu acho que minha tabela GPT é apenas hosed. Não sei como funcionou em dois sistemas operacionais anteriores. Difícil de acreditar que correu mal quando eu mudei para um novo computador. mas aqui está um pouco mais de saída.

[root@vhost ~]# hdparm -N /dev/sdb

/dev/sdb:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 max sectors   = 0/1, HPA is enabled
[root@vhost ~]# partprobe 
Error: Invalid argument during seek for read on /dev/sdb
[root@vhost ~]# partprobe /dev/sdb
Error: Invalid argument during seek for read on /dev/sdb
[root@vhost ~]# partprobe /dev/sdb1
Error: Could not stat device /dev/sdb1 - No such file or directory.
[root@vhost ~]# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.6

Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): r

Recovery/transformation command (? for help): x

Expert command (? for help): e
Relocating backup data structures to the end of the disk

Expert command (? for help): w

Warning! Secondary partition table overlaps the last partition by
4294965617 blocks!
You will need to delete this partition or resize it in another utility.

Problem: partition 1 is too big for the disk.
Aborting write operation!
Aborting write of new partition table.


parted /dev/sdb
p
Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? Ignore                                               
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
OK/Cancel? OK                                                             
Model: WDC WD40 EZRX-00SPEB0 (scsi)
Disk /dev/sdb: 1802GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 
(parted)  
    
por Robin Masters 01.07.2016 / 21:25

0 respostas

Tags