Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Elasticsearch
- miniconda
- bash
- GitLab
- endpoint security
- Windows
- Kibana server is not ready yet
- ssh key 배포
- ELASTIC
- G-suite
- elastic stack
- application security
- hardening
- XCP-ng
- Proxy
- 로그인불가
- pfsense
- macos
- 보안양파
- 한글가이드
- docker
- ansible
- PlayBook
- freebsd
- Kibana
- centos 8
- xe guest utilities
- x-pack
- proxycfg
Archives
- Today
- Total
선 밖에 선 자유인
AWS 리눅스 파일 시스템 용량 확장 본문
디스크 사이즈보다 작게 파티션이 할당된 경우 남은 용량을 이용하여 resizing이 가능
로 파일 시스템 정보 확인
$df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 7.8G 1.5G 92G 2% /
tmpfs 3.7G 0 3.7G 0% /dev/shm
$fdisk -l
Disk /dev/xvda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
$sudo resize2fs /dev/xvda
Disk /dev/xvda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
재접속 해서 확인
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 99G 1.5G 92G 2% /
tmpfs 3.7G 0 3.7G 0% /dev/shm
Comments