0

当我尝试安装我的一个硬盘驱动器时,它无法找到该硬盘驱动器所在的文件夹。

这是命令的输出df

Filesystem                       1K-blocks      Used Available Use% Mounted on
rootfs                            33000428    119124  32881304   1% /
none                              33000428    119124  32881304   1% /
198.27.85.63:/home/pub/rescue.v7 886788312 250295096 591423904  30% /nfs
198.27.85.63:/home/pub/pro-power 886788312 250295096 591423904  30% /power
198.27.85.63:/home/pub/commonnfs 886788312 250295096 591423904  30% /common
tmpfs                                10240       204     10036   2% /dev
tmpfs                              6600088        72   6600016   1% /run
tmpfs                                 5120         0      5120   0% /run/lock
tmpfs                             13200160         0  13200160   0% /run/shm

这在我运行命令时出现fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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/sdb1               1  3907029167  1953514583+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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/sda1               1  3907029167  1953514583+  ee  GPT

Disk /dev/md3: 1978.9 GB, 1978886193152 bytes
2 heads, 4 sectors/track, 483126512 cylinders, total 3865012096 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

Disk /dev/md3 doesn't contain a valid partition table

Disk /dev/md2: 21.0 GB, 20970405888 bytes
2 heads, 4 sectors/track, 5119728 cylinders, total 40957824 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

Disk /dev/md2 doesn't contain a valid partition table

当我尝试/dev/sda1使用命令安装硬盘驱动器时,mount -o barrier=0 /dev/sda1它会给我以下消息:

mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab

我该如何解决这个问题,所以我可以备份我所有的东西?

当我尝试安装时出现这种情况/dev/sdb3

mount: unknown filesystem type 'linux_raid_member'

然后我尝试使用该命令mdadm --assemble --run /mnt /dev/sdb3,但它只是给了我这个:

mdadm: /dev/sdb3 is busy - skipping

这是我使用 cat /proc/mdstat 的输出

md2 : active raid1 sda2[0] sdb2[1]
      20478912 blocks [2/2] [UU]

md3 : active raid1 sda3[0] sdb3[1]
      1932506048 blocks [2/2] [UU]

unused devices: <none>

我可以挂载 md3,但文件夹中没有文件出现/mnt

4

1 回答 1

2

您可以使用 LiveCD 安装和访问您的驱动器并将数据复制到另一个位置。

确保数据安全后,立即使用 GParted 正确挂载或格式化驱动器

于 2015-06-29T12:35:10.043 回答