¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
OS Disk Resize
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-09-22 (È­) 13:00 Á¶È¸ : 4406
                                
OS Disk Resize
 - ±âº»Á¦°ø OS http://cloud.centos.org/centos/ : 8G
 - Flavor Disk : 160G
 - Disk Sector °ª ÁÖÀÇ

 
- ÆÄƼ¼Ç ÀçÇÒ´ç
±âÁ¸ À̹ÌÁö¿¡¼­ ÀÎ½ÄµÈ ÆÄƼ¼Ç »èÁ¦ÇÏ°í ½ÃÀÛÁ¡(¼½ÅÍ) ÀÏÄ¡½ÃÅ°°í....½Ã½ºÅÛ¿¡¼­ ÀÎ½ÄµÈ Àüü µð½ºÅ© ¸¶Áö¸· ¼½ÅÍÁöÁ¡À¸·Î(default  Enter) ÁöÁ¤

# partx /dev/vda
resize2fs /dev/vda1
  :: ¸®ºÎÆÃÀü¿¡ ¸í·É¾î¸¦ ½ÇÇàÇصµ »ó°ü¾øÀ¸³ª ¸®ºÎÆýà µð½ºÅ© Å©±â¿¡ µû¶ó üũÇÏ´Â °úÁ¤ ???
# reboot 

ºÎÆÃÈÄ ·Î±×ÀÎ
:: resize2fs - ext2/ext3/ext4 file system resizer
The  resize2fs  program will resize ext2, ext3, or ext4 file systems.  It can be used to enlarge or shrink an unmounted file system located on device.  If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. 
(As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems  mounted  using  ext3  and ext4.).

# resize2fs /dev/vda1      


# df -h
[root@localhost ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        99G  605M   93G   1% /
tmpfs           499M     0  499M   0% /dev/shm

  ¡Ø fdisk 
      Option  -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.