我有一个Ubuntu服务器,我不得不在救援模式下重新启动,我正在尝试挂载一个分区来重置根密码。 我听从托pipe公司的指示,但被卡住了,听不见
当我尝试做
mount /dev/sda1 /mnt/
我得到这个错误:
mount: unknown filesystem type 'linux_raid_member'
这是fdisk -l的输出
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x0009307f Device Boot Start End Blocks Id System /dev/sda1 * 2048 20973568 10485760+ fd Linux raid autodetect /dev/sda2 20973569 1952468992 965747712 fd Linux raid autodetect /dev/sda3 1952468993 1953520064 525536 82 Linux swap / Solaris Disk /dev/md2: 988.9 GB, 988925591552 bytes 2 heads, 4 sectors/track, 241436912 cylinders, total 1931495296 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 Disk /dev/md1: 10.7 GB, 10737352704 bytes 2 heads, 4 sectors/track, 2621424 cylinders, total 20971392 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/md1 doesn't contain a valid partition table
我怎样安装磁盘?
你的RAID设备被称为/dev/md1和/dev/md2 。 这些可能包含你的文件系统。 你可以尝试:
mount /dev/md1 /mnt
要么:
mount /dev/md2 /mnt
根据您的系统configuration方式,这些设备本身也可能是大型虚拟设备的一部分。 如果您无法安装各个设备,请告诉我们,我们将从此处开始工作。
有关Linux软件RAID的更多信息,请从本文档开始。