我有一台服务器,我想明确地使用在Ubuntu Server 12.04下运行虚拟机。 它有大量的内存,64GB和三个大型相同的HDD。 我想通过软件冗余。
你会如何build议我设置存储?
思考过程:
请按照下列步骤操作:(在VM中testing)
FREE SPACE ,并创build一个新的主分区,占用整个磁盘减去 RAM + 1MB(这留给交换区域),用作启动标志on RAID的物理卷。 FREE SPACE ,并创build一个新的主分区,占用磁盘的剩余部分(RAM + 1MB),用作off可启动标志的RAID的物理卷。 Configure software RAID RAID1 Create an MD device作为Software RAID device type 。 将number of active devices for the RAID1 array设置为2 , number of active devices for the RAID1 array number of spare devices for the RAID1 array为1 。 在RAID1arrays中select前两个大小不相等的交换区域的大小相等的设备,最后一个(大小与前两个相同)作为备用。 RAID1 Create an MD device作为Software RAID device type 。 将number of active devices for the RAID1 array设置为2 , number of active devices for the RAID1 array number of spare devices for the RAID1 array为1 。 在RAID1arrays中select用于交换区域的前两个大小相等的设备,并将最后一个(与前两个大小相等)作为备用。 RAID1 device #0下的#1插槽(可能有一个标记为不可用的小插槽,不介意)。 用作Ext4 journaling file system ,挂载点设置为/ , typical usage设置为largefile4 。 RAID1 device #1下的#1插槽(可能有一个标记为不可用的小插槽,不介意)。 用作swap area 。 Finish partitioning and write changes to disk 。 Yes 。