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
當我嘗試用命令mount -o barrier=0 /dev/sda1
它掛載/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
這是用貓我的輸出/ 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,但沒有文件s出現在文件夾中/mnt
對於未在'/ etc/fstab'你需要同時提供設備*和在定位裝置用於安裝設備「。這正是第一個錯誤告訴你的。你的'mount'命令沒有指定一個位置。 – larsks