1 votos

No se puede montar la unidad bajo el servidor de Ubuntu 21.04

He actualizado mi casa server de ubuntu 12.04 a 18.04. El sistema tiene 2 discos de 2.0 TB en Raid 1. Cuando trato de montar en el 18.04 me sale el siguiente error.

mount-t ntfs /dev/md126 /mnt/medios de comunicación

También he intenta mount-t ntfs-3g sin éxito.

NTFS signature is missing.
Failed to mount '/dev/md126': Invalid argument
The device '/dev/md126' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

La salida de fdisk -l /dev/md126 es

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x000136a9

Device       Boot Start        End    Sectors  Size Id Type
/dev/md126p1         63 3907023111 3907023049  1.8T  7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.

Y la salida de gdisk -l es

GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************


Warning! Secondary partition table overlaps the last partition by
297 blocks!
You will need to delete this partition or resize it in another utility.
Disk /dev/md126: 3907022848 sectors, 1.8 TiB
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): DC6C901E-C3A5-43C1-8C9E-8E6397C5F145
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3907022814
Partitions will be aligned on 8-sector boundaries
Total free space is 29 sectors (14.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              63      3907023111   1.8 TiB     0700  Microsoft basic data

Y por último, cuando reviso el mdadm --detail /dev/m126 me da el siguiente resultado

/dev/md126:
         Container : /dev/md/imsm0, member 0
        Raid Level : raid1
        Array Size : 1953511424 (1863.01 GiB 2000.40 GB)
     Used Dev Size : 1953511424 (1863.01 GiB 2000.40 GB)
      Raid Devices : 2
     Total Devices : 2

             State : clean
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : resync


              UUID : 562a1dd0:13fa432c:bec8c322:89cbd43f
    Number   Major   Minor   RaidDevice State
       1       8        0        0      active sync   /dev/sda
       0       8       16        1      active sync   /dev/sdb

Cuando me cambie de nuevo a la 12.04 (he instalado 18.04 en un disco nuevo) todo funciona bien.

¿Alguien tiene una idea de lo que va mal?

Cuando intento montar la partición me het un error similar mount /dev/md126p1 -t ntfs-3g /mnt/medios de comunicación

Failed to read last sector (3907023047): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/md126p1': Invalid argument
The device '/dev/md126p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

0voto

vidarlo Puntos 81

Intenta montar el dispositivo equivocado. Estás intentando montar /dev/mda126 , que no es la partición.

Reemplace /dev/mda126 con /dev/md126p1 .

EnMiMaquinaFunciona.com

EnMiMaquinaFunciona es una comunidad de administradores de sistemas en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros sysadmin, hacer tus propias preguntas o resolver las de los demás.

Powered by: