아래는 관련 답변
You should not let an LVM volume get more than something like 85% full,
as it will not be able to coalesce and get cleane up im such a state.
You can get away with a lot of virtual over-allocation on thin-provisioned volumes,bit not for thick ones.
Your best bet would be to probably either
(1) try to move some of the storage at least temporarily to a different SR so that more space
is hopefully freed up or if that isn't possible,
(2) plan for some down time and export at least some of the VMs,
hopefully then clean up the disk, and then restore them back.
You have to be very careful about what you delete to make sure you do not accidentally
destroy something that should not be.
If you have long snapshot chanins, you could start by deleting snapshots but with the R this full,
it still may not be able to clean itself up.
YOu may be able to use vhd-util (see https://support.citrix.com/article/CTX139224)
to help identify objects that can be safely deleted.
https://discussions.citrix.com/topic/406551-lvm-full-with-huge-virtual-allocation/
SR디스크가 꽉 차면 아래처럼 나온다.
$df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/XSLocalEXT--c957b1f3--2ef8--a8b7--b692--6581d80bf908-c957b1f3--2ef8--a8b7--b692--6581d80bf908 3.6T 816G 2.7T 24% /run/sr-mount/c957b1f3-2ef8-a8b7-b692-6581d80bf908
/dev/mapper/XSLocalEXT--aa9133d8--495b--addb--5412--5145ded09ba0-aa9133d8--495b--addb--5412--5145ded09ba0 3.5T 68G 3.3T 2% /run/sr-mount/aa9133d8-495b-addb-5412-5145ded09ba0
/dev/mapper/XSLocalEXT--e8fb59ca--f5b7--a780--6aa4--bc2db8ce5162-e8fb59ca--f5b7--a780--6aa4--bc2db8ce5162 876G 406G 427G 49% /run/sr-mount/e8fb59ca-f5b7-a780-6aa4-bc2db8ce5162
/dev/mapper/XSLocalEXT--ef4838c3--9ce5--0dde--d607--8ddc5944cb52-ef4838c3--9ce5--0dde--d607--8ddc5944cb52 3.6T 3.6T 0 100% /run/sr-mount/ef4838c3-9ce5-0dde-d607-8ddc5944cb52
$du -h -d 1
16K ./lost+found
3.6T .
# Virtual Hard Disk (VHD)
ef4838c3-9ce5-0dde-d607-8ddc5944cb52]# ll -h
total 3.6T
-rw-r--r-- 1 root root 46G Aug 8 04:49 034636b8-1010-48a3-bf27-afd1d4474cfb.vhd
-rw-r--r-- 1 root root 2.1M Aug 16 10:34 0ac3997b-9185-467d-8349-5a8fa1aa711a.vhd
-rw-r--r-- 1 root root 1.8G Aug 1 00:00 0c53c558-c63b-4cbb-a1db-23b86ab6c0ce.vhd
-rw-r--r-- 1 root root 46G Aug 1 00:00 1b5b16c9-4bed-4e33-8341-90ab45466a87.vhd
-rw-r--r-- 1 root root 1.1G Aug 16 10:58 1d7dc4eb-0903-4a0b-998a-64531a9ba4b0.vhd
-rw-r--r-- 1 root root 154G Aug 8 00:00 20978f9f-29b9-4b34-a1ee-e27ef23c806c.vhd
-rw-r--r-- 1 root root 433G Aug 16 11:01 25f20f3f-a5b9-4466-9e54-4d7f00f26c22.vhd
-rw-r--r-- 1 root root 779G Aug 8 03:28 27e5800f-9058-4c0e-9414-89528e7a0ace.vhd
-rw-r--r-- 1 root root 2.1M Jan 21 2022 288aa3f0-3e92-4297-b713-ca0dedb35672.vhd
-rw-r--r-- 1 root root 319G Aug 17 11:29 2b1a695d-bd55-42bc-8b44-eecc5bfd8c00.vhd
-rw-r--r-- 1 root root 281G Aug 17 11:17 2f33537c-24db-4318-9cfe-c34f074b2ef9.vhd
-rw-r--r-- 1 root root 2.1M Aug 8 00:00 32937d33-5fb6-453e-bba1-0960bdfbbe78.vhd
-rw-r--r-- 1 root root 139G Aug 8 03:28 39bed08c-a055-4fac-8a3c-017d3e12705d.vhd
-rw-r--r-- 1 root root 2.1M Aug 17 09:02 5150621f-f609-4a8c-ae09-3e9b969cae92.vhd
-rw-r--r-- 1 root root 25G Aug 8 05:03 81969d8e-4fb7-41fe-af8c-5890fc7d1936.vhd
-rw-r--r-- 1 root root 2.1M Aug 16 10:58 8f137fd1-a9e7-4380-9d82-2c9a04b7c93e.vhd
-rw-r--r-- 1 root root 130G Aug 17 11:17 9b209ef8-b43c-4c55-b649-e2408b73bd8e.vhd
-rw-r--r-- 1 root root 12G May 16 14:14 ac32317c-2663-4f17-9d26-1647c4df35b4.vhd
-rw-r--r-- 1 root root 18G May 13 17:27 afd4778a-46cb-4cfe-8a65-f2df2f0fe7ea.vhd
-rw-r--r-- 1 root root 2.1M Aug 1 00:00 b8dc2b91-8ad6-481f-82fc-3c874ec5d825.vhd
-rw-r--r-- 1 root root 50G Aug 17 11:29 c3480204-18b9-4354-9bd7-0c9800bbcff0.vhd
-rw-r--r-- 1 root root 723G Aug 17 11:17 cabbdfd2-7977-4ca3-adb8-e4c9c7960acd.vhd
-rw-r--r-- 1 root root 278G Aug 8 04:49 cd2f1030-a686-4cde-9ed6-d6cf578d01a9.vhd
-rw-r--r-- 1 root root 2.1M Aug 8 00:00 cffe2b1d-b6c3-4285-adb0-ccac85a2182d.vhd
-rw-r--r-- 1 root root 1 Aug 17 11:17 coalesce_cd2f1030-a686-4cde-9ed6-d6cf578d01a9
-rw-r--r-- 1 root root 186G Aug 1 00:00 db794a2a-4a5e-4f61-afbc-af1c605685c5.vhd
-rw-r--r-- 1 root root 4.2G Aug 8 05:03 dc0ab4a2-a435-4e0b-912e-b7c95936ddd9.vhd
-rw-r--r-- 1 root root 39M Aug 16 11:01 e7123b2c-825b-49ee-8390-1355dc776d69.vhd
-rw-r--r-- 1 root root 45G Aug 8 00:00 ff9498c8-7724-4141-9bf9-12ee4ee5074e.vhd
-rw-r--r-- 1 root root 89K Aug 17 09:20 filelog.txt
[haedong@k8s01:~]$ k get po -n rook-ceph
rook-ceph-osd-4-7f8fb7d455-2bksk 0/1 Init:CrashLoopBackOff 292 (3m15s ago) 27h
rook-ceph-osd-5-846b5b8fb5-5pdrc 0/1 Init:CrashLoopBackOff 292 (57s ago) 24h
rook-ceph-osd-6-b449b9f97-cpgfv 0/1 Init:CrashLoopBackOff 292 (114s ago) 24h
rook-ceph-osd-7-6bfc7899b9-6j2gk 0/1 Init:CrashLoopBackOff 292 (98s ago) 24h