volume resize

배병진·2023년 5월 16일
0

Openstack Command

목록 보기
5/5

부팅 파티션이 50G로 설정을 해주었고

  • OS = Windows

현상

  • 부팅이 안된다.
  • Conneting 도중 연결이 끊김
  • brocker와 agent의 통신상태는 양호
  • Openstack에서 확인 시 정상 상태로 보여짐

추측 부팅 파티션의 용량이 꽉차있다.

해당 인스턴스의 부팅 파티션 확장 필요

openstack 작업

1. Instance 종료
# openstack server stop <instance id>

2. 종료된 Instance 상태 확인
# openstack server show <instance id>

3. 해당 Instance에 할당 되어있는 Volume 활성화
# openstack volume set <Volume id> --state available

4. Volume상태 확인
# openstack volume show <Volume id>

5. Volume 장착
# openstack volume set <Volume id> --state in-use

6. 인스턴스 시작
# openstack server start <instance id>

해당 VM 안에서 확인 사항

win + r
diskmgmt.msc
해당 볼륨이 확장되어있는지 확인

파티션이 할당되지 않음으로 나타날 경우 아래 작업 수행

cmd 작업

select disk 0
select partition 3
delete partition delete

Windows PowerShell ISE

$drive_letter = "C" 
$size = (Get-PartitionSupportedSize -DriveLetter $drive_letter)
Resize-Partition -DriveLetter $drive_letter -Size $size.SizeMax
profile
history and study

0개의 댓글