LINUX.ORG.RU
ФорумAdmin

Расширение диска

 , ,


0

1

не могу расширить раздел диска /dev/mapper/SangomaVG-root через виртуалку увеличил объем, командой #fdisk -l выдаёт:

Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 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 label type: dos
Disk identifier: 0x00056957


Device Boot Start End Blocks Id System
/dev/sda1 2048 4098047 2048000 83 Linux
/dev/sda2 4098048 41942939 18922446 83 Linux

Disk /dev/mapper/SangomaVG-root: 7180 MB, 7180648448 bytes, 14024704 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 /dev/mapper/SangomaVG-swaplv1: 1073 MB, 1073741824 bytes, 2097152 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 label type: dos
Disk identifier: 0x2e4fdb4e

Нужно расширить Disk /dev/mapper/SangomaVG-root: 7180 MB

Перемещено leave из linux-org-ru

fdisk

[root@freepbx ~]# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 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 label type: dos Disk identifier: 0x00056957

Device Boot Start End Blocks Id System /dev/sda1 2048 4098047 2048000 83 Linux /dev/sda2 4098048 41942939 18922446 83 Linux

Disk /dev/mapper/SangomaVG-root: 7180 MB, 7180648448 bytes, 14024704 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 label type: dos Disk identifier: 0x297eb1e4

                 Device Boot      Start         End      Blocks   Id  System

/dev/mapper/SangomaVG-root1 2048 14024703 7011328 83 Linux

Disk /dev/mapper/SangomaVG-swaplv1: 1073 MB, 1073741824 bytes, 2097152 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 label type: dos Disk identifier: 0x2e4fdb4e

                     Device Boot      Start         End      Blocks   Id  System
cruelman999 ()
Ответ на: fdisk от cruelman999

Это при запуске через SSH

Unable to create lock file: No space left on device Failed to start up concurrent users module! Exception: SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)::SQLSTATE[HY000] [2002] Can’t conn ect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) in file /var/www/html/admin/libraries/utility.functions.php on line 204 Stack trace:

  1. Exception->() /var/www/html/admin/libraries/utility.functions.php:204
  2. die_freepbx() /var/www/html/admin/libraries/BMO/Database.class.php:142
  3. PDOException->() /var/www/html/admin/libraries/BMO/Database.class.php:137
  4. PDO->__construct() /var/www/html/admin/libraries/BMO/Database.class.php:137
  5. FreePBX\Database->__construct() /var/www/html/admin/libraries/BMO/FreePBX.class.php:71
  6. FreePBX->__construct() /var/www/html/admin/bootstrap.php:153
  7. require_once() /etc/freepbx.conf:11
  8. include_once() /var/lib/asterisk/bin/fwconsole:12 Unable to create lock file: No space left on device Failed to start up concurrent users module! Exception: SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)::SQLSTATE[HY000] [2002] Can’t conn ect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) in file /var/www/html/admin/libraries/utility.functions.php on line 204 Stack trace:
  9. Exception->() /var/www/html/admin/libraries/utility.functions.php:204
  10. die_freepbx() /var/www/html/admin/libraries/BMO/Database.class.php:142
  11. PDOException->() /var/www/html/admin/libraries/BMO/Database.class.php:137
  12. PDO->__construct() /var/www/html/admin/libraries/BMO/Database.class.php:137
  13. FreePBX\Database->__construct() /var/www/html/admin/libraries/BMO/FreePBX.class.php:71
  14. FreePBX->__construct() /var/www/html/admin/bootstrap.php:153
  15. require_once() /etc/freepbx.conf:11
  16. include_once() /var/lib/asterisk/bin/fwconsole:12
cruelman999 ()

не могу расширить раздел диска /dev/mapper/SangomaVG-root

Это не раздел диска

через виртуалку увеличил объем

Давай подробнее. Похоже, ты что-то путаешь

router ★★★★★ ()