Проблема решена. Использовал LiveCD gparted, если кому-то пригодится
|
[QUOTE]Василий К написал:
Первоначально развернуть диск в Hyper-V. Если ВМ из образа битрих: [CODE] # fdisk -c -u -l Disk /dev/sda: 32.2 GB, 32212254720 bytes, 62914560 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 label type: dos Disk identifier: 0x0009c245 Device Boot Start End Blocks Id System /dev/sda1 * 2048 411647 204800 83 Linux /dev/sda2 411648 1460223 524288 82 Linux swap / Solaris /dev/sda3 1460224 41058303 19799040 83 Linux [/CODE] То, например: [CODE] # fdisk -u /dev/sda Command (m for help): d Partition number (1-3, default 3): 3 Partition 3 is deleted Command (m for help): n Partition type: p primary (2 primary, 0 extended, 2 free) e extended Select ( default p): p Partition number ( 3 , 4 , default 3 ): 3 First sector ( 1460224 - 62914559 , default 1460224 ): Using default value 1460224 Last sector, +sectors or + size {K,M,G} ( 1460224 - 62914559 , default 62914559 ): Using default value 62914559 Partition 3 of type Linux and of size 29.3 GiB is set Command (m for help): w The partition table has been altered! Calling ioctl() to re- read partition table . WARNING: Re-reading the partition table failed with error 16 : Device or resource busy. The kernel still uses the old table . The new table will be used at the next reboot or after you run partprobe( 8 ) or kpartx( 8 ) Syncing disks. # partx -u /dev/sda3 # shutdown -r now # resize2fs /dev/sda3 [/CODE][/QUOTE] Пишет тоже самое, что и при использовании руководства от битрикс. Диск я увеличил |
|
|
|
|
|
[QUOTE]arnly написал:
Возможно вам стоит гугл почитать, например [URL=https://www.ucartz.com/clients/index.php?rp=/knowledgebase/1216/resize2fs-Permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem.html]https://www.ucartz.com/clients/index.php?rp=/knowledgebase/1216/resize2fs-Permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem.html[/URL] [/QUOTE] Это я тоже пробовал. Вот что мне пишет на команду dumpe2fs /dev/sda3 На команду umount /bxRoot отвечает mountpoint not found. На попытку исполнить umount / - |
|
|
|
|
|
[QUOTE]arnly написал:
[QUOTE] Валерий Куликов написал: Здравствуйте. Столкнулся с такой проблемой, что 20Гб виртуальной машины Битрикс не хватает. Место закончилось и не стартует MySQL. Машинка крутится на Hyper-V. Выделил 100Гб, но centOS их не видит грубо говоря. Что было сделано: 1) Выделил место в гипервизоре 2) По мануалу от 1С увеличивал раздел системы (при использовании команды "resize2fs /dev/sda3" выдает ошибку Permission denied to resize filesystem) 3) По другим советам пытался сделать с помощью LVM - не получилось Прошу помощи! [/QUOTE] [URL=https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=37&LESSON_ID=6928]https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=37&LESSON_ID=6928[/URL] из под рута[/QUOTE] Это я пробовал. Из под рута. Пишет также permission denied |
|
|
|
|