当我尝试安装我的一个硬盘时,它无法找到带有硬盘的文件夹。
这是命令VirtualHost
的输出:
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
这是我使用cat / proc / mdstat
的输出mdadm: /dev/sdb3 is busy - skipping
我可以挂载md3,但文件夹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>
答案 0 :(得分:2)
您可以使用LiveCD来安装&amp;访问您的驱动器并将数据复制到另一个位置。
只要您确保数据安全,请使用GParted正确安装或格式化驱动器