当我尝试安装我的一个硬盘时,它无法找到该硬盘的文件夹。
这是该命令的输出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
我怎样才能解决这个问题?
答案1
由于 sda1 不在 fstab 中,因此必须指定挂载点,例如
mount -o barrier=0 /dev/sda1 /mnt
然后您将能够在/mnt 中找到您的文件。