( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0018414080{main}( ).../index.php:0
20.09044264752Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.373613125480Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.373813125424Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.373913125800Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.373913125800Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.374113125896Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.374613164136require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.381813456496GKTemplate->__construct( ).../component.php:31
100.388213598016GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.389013641984require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0018414080{main}( ).../index.php:0
20.09044264752Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.373613125480Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.373813125424Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.373913125800Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.373913125800Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.374113125896Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.374613164136require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.381813456496GKTemplate->__construct( ).../component.php:31
100.391013764848GKTemplateMenu->getMenuType( ).../gk.framework.php:85
augmenter la taille de ma partition étendue sous Linux 1and1 Cloud dynamique serveur
Logo
Print this page

augmenter la taille de ma partition étendue sous Linux 1and1 Cloud dynamique serveur

Comment puis-je augmenter la taille de ma partition étendue sous Linux?
Connectez-vous sur votre serveur en tant qu'utilisateur « root » avec SSH.

Pour afficher votre système de fichiers, utilisez la commande « ~ # df -h »:

  s123456789:~ # df –h

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             9.2G  235M  8.5G   3% /		        
udev                  496M  112K  496M   1% /dev	
/dev/hda5             9.4G  2.1G  7.3G  22% /usr	
/dev/hda6             9.4G  148M  9.2G   2% /var	
/dev/hda7             221G   22M  221G   1% /srv	
none                  1.0G     0  1.0G   0% /tmp


Pour afficher votre partitionnage, utilisez la commande « ~ # fdisk -l »:

  s123456789:~ # fdisk –l
Disk /dev/hda: 343.5 GB, 343597383680 bytes				
255 heads, 63 sectors/track, 41773 cylinders				
Units = cylinders of 16065 * 512 = 8225280 bytes			
Disk identifier: 0x000c8b23	
							
    Device Boot      Start         End      Blocks   Id  System	
/dev/hda1               1        1217     9775521   83  Linux	
/dev/hda2            1218        1461     1959930   82  Linux swap / Solaris										
/dev/hda4            1462       32636   250408517+   5  Extended	
/dev/hda5            1462        2678     9775521   83  Linux	
/dev/hda6            2679        3895     9775521   83  Linux	
/dev/hda7            3896       32635   230854018+  83  Linux	
s15378494:~ #


Vous augmentez la taille de votre partition étendue avec la commande « ~ # parted /dev/hda »

s123456789:~ # parted /dev/hda

GNU Parted 1.8.8									
Using /dev/had									
Welcome to GNU Parted! Type 'help' to view a list of commands.	
(parted) unit s									
(parted) print									
Model: QEMU HARDDISK (ide)							
Disk /dev/hda: 671088640s							
Sector size (logical/physical): 512B/512B					
Partition Table: msdos								
												
Number  Start      End         Size        Type     File system  Flags
1      63s        19551104s   19551042s   primary   ext3         , , , , , , , , , type=83, ,							
2      19551105s  23470964s   3919860s    primary   linux-swap   , , , , , , , , , type=82, ,							
4      23470965s  524287999s  500817035s  extended               , , , , , , , , , type=05, ,							
5      23471028s  43022069s   19551042s   logical   xfs          , , , , , , , , , type=83, ,							
6      43022133s  62573174s   19551042s   logical   xfs          , , , , , , , , , type=83, ,							
7      62573238s  524281274s  461708037s  logical   xfs          , , , , , , , , , type=83, ,	

												
(parted) resize 4 23470965s -1						
(parted) print									
Model: QEMU HARDDISK (ide)							
Disk /dev/hda: 671088640s							
Sector size (logical/physical): 512B/512B					
Partition Table: msdos								
												
Number  Start      End         Size       Type     File system  Flags
1      63s        19551104s   19551042s   primary   ext3         , , , , , , , , , type=83, ,							
2      19551105s  23470964s   3919860s    primary   linux-swap   , , , , , , , , , type=82, ,							
4      23470965s  671088639s  647617675s  extended               , , , , , , , , , type=05, ,							
5      23471028s  43022069s   19551042s   logical   xfs          , , , , , , , , , type=83, ,							
6      43022133s  62573174s   19551042s   logical   xfs          , , , , , , , , , type=83, ,							
7      62573238s  524281274s  461708037s  logical   xfs          , , , , , , , , , type=83, ,							
												
(parted)
						



Last modified onSaturday, 05 January 2013 13:19

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0004414552{main}( ).../index.php:0
20.06764265224Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.06764265224Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.235711456416Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.236311480920Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.237011536248Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.237211563648require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.244411963280K2ControllerItem->execute( ).../k2.php:64
90.244411963280K2ControllerItem->display( ).../BaseController.php:710
100.252912613984K2ControllerItem->display( ).../item.php:78
110.252912613984K2ControllerItem->display( ).../controller.php:19
120.256812985024Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.257813005392K2ViewItem->display( ).../ViewController.php:102
140.330515852136K2ViewItem->display( ).../view.html.php:742
150.330515852136K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.332816025072include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0004414552{main}( ).../index.php:0
20.06764265224Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.06764265224Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.235711456416Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.236311480920Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.237011536248Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.237211563648require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.244411963280K2ControllerItem->execute( ).../k2.php:64
90.244411963280K2ControllerItem->display( ).../BaseController.php:710
100.252912613984K2ControllerItem->display( ).../item.php:78
110.252912613984K2ControllerItem->display( ).../controller.php:19
120.256812985024Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.257813005392K2ViewItem->display( ).../ViewController.php:102
140.330515852136K2ViewItem->display( ).../view.html.php:742
150.330515852136K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.332816025072include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.