我最近购买了一台广告上说是 2TB(2 个 1TB 驱动器)大小的服务器,当我使用它时,它只报告其中一个驱动器,我希望能够将两个驱动器都当作一个驱动器来使用。这是规格...
sudo lshw -C disk
*-disk
description: ATA Disk
product: TOSHIBA DT01ACA1
vendor: Toshiba
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: MS2O
serial: 13EJ81XPS
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=0005b3dd
*-disk
description: ATA Disk
product: TOSHIBA DT01ACA1
vendor: Toshiba
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/sdb
version: MS2O
serial: 13OX3TKPS
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=00030e86
和
fdisk -l
Disk /dev/sdb: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00030e86
Device Boot Start End Blocks Id System
/dev/sdb1 * 4096 41947135 20971520 fd Linux raid autodetect
/dev/sdb2 41947136 1952468991 955260928 fd Linux raid autodetect
/dev/sdb3 1952468992 1953519615 525312 82 Linux swap / Solaris
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0005b3dd
Device Boot Start End Blocks Id System
/dev/sda1 * 4096 41947135 20971520 fd Linux raid autodetect
/dev/sda2 41947136 1952468991 955260928 fd Linux raid autodetect
/dev/sda3 1952468992 1953519615 525312 82 Linux swap / Solaris
Disk /dev/md2: 978.2 GB, 978187124736 bytes
2 heads, 4 sectors/track, 238815216 cylinders, total 1910521728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1: 21.5 GB, 21474770944 bytes
2 heads, 4 sectors/track, 5242864 cylinders, total 41942912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
是否可以将两个驱动器都安装到 /Home/ 这样我就会有 2TB 的可用空间?
答案1
不。/home 上有 2TB 空间,你会充分利用所有可能的空间。你会在哪里安装操作系统?
不可以,你不能在一个挂载点上挂载两个设备
但认真地讲,只有当两个非常大的分区共同构成一个 RAID 0 设备时,才有可能将它们一起安装在 /home 上。