728x90
반응형

전체 글 59

[Openstack] manual migration 수동 이전

# 운영중에 nova / openstack 명령어로 vm이 이전되지 않을 때 사용.nova migrate [instance_id] or openstack server migrate [instance_id]  > ERROR... Migration : HOST_A > HOST_B 1. Move vm's disk HOST_A to HOST_B- vm의 disk와 _base파일 등을 옮긴다.root@HOST_A:~# scp [vm's_disk_PATH]/* nova@HOST_B:[vm's_disk_PATH]/root@HOST_A:~# scp [vm's_base_PATH]/[_base_file] nova@HOST_B:[vm's_base_PATH]/  * 여기부터 중요 * important from here*2. ..

Openstack 2025.01.17

[Openstack] volume transfer requset 소유권 변경

# Transferring Cinder, block storage service of Openstack사용하는 버전에 맞게 cinder명령어와 openstack명령어를 적절하게 사용 # The sender(송신자)- Source the Sender credentials# . [sender_openrc] - Create transfer request# cinder transfer-create [volume_id]or# openstack volume transfer request create [volume_id]* [volume_id]는 보내고자 하는 volume의 id - Output+------------+--------------------------------------+| Property | ..

Openstack 2025.01.12

[Ceph] rbd: error: image still has watchers

Symptoms..블록 스토리지를 삭제하는 과정에서 아래와 같은 에러가 발생.rbd: error: image still has watcherslibrbd::image::RemoveRequest: 0x55ce6659a5c0 check_image_watchers: image has watchers - not removingRemoving image: 0% complete...failed.rbd: error: image still has watchersThis means the image is still open or the client using it crashed. Try again after closing/unmapping it or waiting 30s for the crashed client to t..

Ceph 2025.01.03

[Ceph] pgs not deep-scrubbed in time

Symptoms..ceph -s 로 확인하면.root@mon0:~# ceph -s cluster: id: [fsid] health: HEALTH_WARN 1 pgs not deep-scrubbed in time 여기서 좀 더 자세하게 확인하기 위해 ceph health detail 로 확인하면 아래와 같이 어떤 pg_id인지 확인 할 수 있다.root@mon0:~# ceph health detail HEALTH_WARN 1 pgs not deep-scrubbed in time[WRN] PG_NOT_DEEP_SCRUBBED: 1 pgs not deep-scrubbed in time pg [pg_id] not deep-scrubbed since [date]Toub..

Ceph 2024.11.27

[Linux] sed 명령어

sed 명령어1. 수정하기sed -i 's/[수정 전]/[수정 후]/g' [file]* [수정 전] 및 [수정 후] 에 특수문자입력시 \ 로 이스케이프문자 지정.* [file]을 *.txt등으로 여러파일을 한번에 수정 가능.2. 특정 내용이 포함된 줄 삭제 or 특정 내용 포함된 줄 빼고 삭제특정 내용 포함된 줄 삭제sed -i '/[pattern]/d' [file]특정 내용 포함된 줄 빼고 삭제sed -i '/[pattern]/!d' [file]* not을 뜻하는 !를 붙여서 특정 내용이 포함된 줄 삭제 or 제외 후 삭제 가능

Linux 2024.11.25
728x90
반응형