월간 인기 게시물

게시물 718건
   
OS Disk Resize
글쓴이 : 최고관리자 날짜 : 2015-09-22 (화) 13:00 조회 : 4547
                                
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)


이름 패스워드
스타일
굴림
10pt
<html> <body>
 
 
 
 
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.