I don't exactly understand your question, but from the output you've given, the 
nvme disks have not been formatted and mounted on the paths you've supplied as 
/var/lib/libvirt/images*. Is the host you've shared this output of the same as 
your hypervisor, as in: your management-server and cloudstack-agent run on the 
same system? What version of ACS are you running? 

Met vriendelijke groet / Kind regards,

Ruben Bosch
CLDIN

> On 6 Sep 2023, at 21:50, Technology rss <technologyrss.m...@gmail.com> wrote:
> 
> I see something is wrong fetch my local storage from kvm server, Please see
> my kvm server as below:
> +++++++++++++++++++++++++++
> [root@kvm ~]# lsblk
> NAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> nvme0n1            259:0    0  1.8T  0 disk
> ├─nvme0n1p1        259:3    0  600M  0 part /boot/efi
> ├─nvme0n1p2        259:4    0    1G  0 part /boot
> └─nvme0n1p3        259:5    0  1.8T  0 part
>  ├─almalinux-root 253:0    0   70G  0 lvm  /
>  ├─almalinux-swap 253:1    0    4G  0 lvm  [SWAP]
>  └─almalinux-home 253:2    0  1.7T  0 lvm  /home
> nvme3n1            259:1    0  1.8T  0 disk
> nvme2n1            259:2    0  1.8T  0 disk
> nvme1n1            259:6    0  1.8T  0 disk
> nvme5n1            259:7    0  1.8T  0 disk
> nvme4n1            259:8    0  1.8T  0 disk
> nvme7n1            259:9    0  1.8T  0 disk
> ├─nvme7n1p1        259:11   0  600M  0 part
> ├─nvme7n1p2        259:12   0    1G  0 part
> ├─nvme7n1p3        259:13   0  600M  0 part
> ├─nvme7n1p4        259:14   0    1G  0 part
> └─nvme7n1p5        259:15   0  1.8T  0 part
>  ├─cl-swap        253:3    0    4G  0 lvm
>  ├─cl-home        253:4    0  1.7T  0 lvm
>  └─cl-root        253:5    0   70G  0 lvm
> nvme6n1            259:10   0  1.8T  0 disk
> [root@kvm ~]# ll /var/lib/libvirt/images/*
> total 957640
> -rw-r--r-- 1 root root 460521472 Sep  7 01:02
> 4c4952d7-03cd-4cef-b34e-6e7bb901ec45
> -rw-r--r-- 1 root root 260440064 Sep  7 01:11
> 92156793-36b5-43dc-bf39-e6d80332d9c7
> -rw-r--r-- 1 root root 258736128 Sep  7 01:11
> a30fe48b-4e15-4e6c-9622-105c118a3f06
> [root@kvm images]# cat /etc/cloudstack/agent/agent.properties
> #Storage
> #Thu Sep 07 01:00:44 IST 2023
> cluster=2
> pod=2
> resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
> private.network.device=cloudbr0
> domr.scripts.dir=scripts/network/domr/kvm
> guest.network.device=cloudbr0
> keystore.passphrase=vHAhA42GdkxDjQVg
> hypervisor.type=kvm
> port=8250
> zone=2
> public.network.device=cloudbr0
> local.storage.uuid=3232d9ca-4190-4efa-a3e1-9502f4c12947,aee22008-bfe3-44f3-959c-08358f5eba8d,5f89f843-98cc-4b09-a45c-1a2df6272d61,5b210880-92f6-40c1-8b61-74bca7ecff91
> 
> ,abffdaf9-f6b0-4c96-bdc0-99470ba5db45,86e42f87-3371-4ac8-a3b4-49a6c1cb7f09,85a25c28-f0c7-41ad-9e04-3a1c6e87fe73,1fd78eab-cfcf-4c7b-92e9-eb45b26a5684
> host=172.22.0.10@static
> guid=7be79c10-e80b-3df4-968c-58e9a0c02d28
> LibvirtComputingResource.id=4
> workers=5
> iscsi.session.cleanup.enabled=false
> vm.migrate.wait=3600
> local.storage.path=/var/lib/libvirt/images,/var/lib/libvirt/images2,/var/lib/libvirt/images3,/var/lib/libvirt/images4,/var/lib/libvirt/images5,/var/lib/libvirt/images
>     6,/var/lib/libvirt/images7,/var/lib/libvirt/images8
> [root@kvm images]#
> [root@kvm images]#
> [root@kvm images]#
> [root@kvm images]# df -h
> Filesystem                  Size  Used Avail Use% Mounted on
> devtmpfs                    315G     0  315G   0% /dev
> tmpfs                       315G     0  315G   0% /dev/shm
> tmpfs                       315G   67M  315G   1% /run
> tmpfs                       315G     0  315G   0% /sys/fs/cgroup
> /dev/mapper/almalinux-root   70G  4.8G   66G   7% /
> /dev/nvme0n1p2             1014M  290M  725M  29% /boot
> /dev/mapper/almalinux-home  1.7T   12G  1.7T   1% /home
> /dev/nvme0n1p1              599M  5.8M  594M   1% /boot/efi
> tmpfs                        63G     0   63G   0% /run/user/0
> [root@kvm images]# /var/lib/libvirt/images
> +++++++++++++++++++++++++
> 
> also see my ACS UI
> https://prnt.sc/E0zG9T5Mc3Qo
> where to get 139GB local storage ?
> 
> Please share with me any config ...
> 
> Thank you,
> 
> 
> On Wed, Sep 6, 2023 at 2:23 PM Wei ZHOU <ustcweiz...@gmail.com> wrote:
> 
>> Hi,
>> 
>> You can add kvm hosts with multiple local storages.
>> https://github.com/apache/cloudstack-documentation/pull/333/files
>> 
>> Each storage will be added as a storage pool.
>> You can deploy vms, migrate vms/volumes between pools.
>> 
>> -Wei
>> 
>> On Wed, 6 Sept 2023 at 09:52, Technology Mail <
>> technologyrss.m...@gmail.com>
>> wrote:
>> 
>>> *Hi,*
>>> 
>>> My setup is AlmaLinux8, all are working fine using mgmt+nfs, but I have
>>> 8 NVME disk (every disk size 1.8TB) mount on kvm server, so I want to
>>> use all disk as user vm storage disk separately.
>>> 
>>> *My idea is :* When setup zone then using enable local storage. But this
>>> settings is only for one disk or all kvm server disk.
>>> 
>>> But I have 8 disk, so how to trace mgmt server my all 8 disk separately.
>>> For example, I want 5 user vm for disk 1, another 5 user vm use disk 2,
>>> as like another user vm disk 3.......etc.
>>> 
>>> which process can I use this disk? give me some idea please ...
>>> 
>>> --
>>> 
>>> *Thanks & Regards.*
>>> 
>>> *Support Admin*
>>> 
>>> ------------------------------------------------------------------------
>>> 
>>> *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter
>>> <https://twitter.com/technologyrss1> | YouTube
>>> <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn
>>> <https://www.linkedin.com/company/technologyrss/>*
>>> 
>>> *Address : *116/1 West Malibagh, D. I. T Road
>>> 
>>> Dhaka-1217, Bangladesh
>>> 
>>> *Mob :* +88 01716915504
>>> 
>>> *Email :* support.ad...@technologyrss.com
>>> 
>>> *Web :* www.technologyrss.com
>>> 
>> 

Reply via email to