Почему делает шоу df только половина размера массива RAID10?

Рассмотрите представление ведущих идей

Интернет-медицинский отчет
http://www.internetpulse.net/

или

Интернет-погодная карта (IWM)
http://www.internetweathermap.com/

для начальной точки.

Хотя я признаюсь, что не полностью понимаю Вашего вопроса. Конечно, необходимо сначала понять, где клиенты. Например, если Ваша игра становится популярной в Бразилии (пятая самая густо населенная страна в мире), Вы действительно собираетесь хотеть поместить сервер ближе в Бразилию, независимо от того, есть ли у Вас Колорадо с хорошими характеристиками задержки между Данией и Индией :)

9
задан 1 March 2012 в 12:20
1 ответ

Your Volume Group isn't using the entirety of the extents created for it:

VG Size               149.94 GiB
PE Size               64.00 MiB
Total PE              2399
Alloc PE / Size       1171 / 73.19 GiB
Free  PE / Size       1228 / 76.75 GiB

You can add more extents using the following command:

lvextend -l +100%FREE /dev/mongodb_vg/mongodb_lv /dev/md0

PLEASE READ THE MAN PAGE BEFORE TYPING THIS IN

This command would extend the volume group to use all the FREE extents that are left (you can also select less if you want to keep some extents free). It will utilise the extents on md0 to do this.

You then can resize the partition online using:

resize2fs  /dev/mongodb_vg/mongodb_lv

And it should say it is resizing online. I believe this will solve your issue but please read the man pages and understand what they are doing before trying. I'm not responsible for you trashing your disks.

As an aside, RAID on an EBS and then lvm on top seems like an unnecessary level of virtualising the disks. You won't enhance performance nor safety of the data by adding extra RAID in. LVM does mirroring/striping already if I remember correctly. Although you technically can run LVM on RAID on LVM on RAID ad infinitum I'm not sure you are gaining much by doing so (though I'm more than happy to be pointed out to be wrong on this).

6
ответ дан 2 December 2019 в 22:35

Теги

Похожие вопросы