creation of the brick is simple:

pvcreate /dev/<device>
vgcreate <VGNAME> /dev/<device>

lvcreate -n <NAME> -L <SIZE>GB <VGNAME> </dev/<device>>

mkfs.xfs -i size=512 /dev/<VGNAME>/<NAME>

mkdir /gluster_bricks/<NAME>

echo "/dev/<VGNAME>/<NAME> /gluster_bricks/<NAME> xfs 
noatime,context=system_u:object_r:glusterd_brick_t:s0 0 0" >> /etc/fstab

mount /gluster_bricks/<NAME>
mkdir /gluster_bricks/<NAME>/<NAME>

Of course, if you HW Raid -> you will need to implement some alignments on LVM 
& XFS level.

Best Regards,
Strahil Nikolov





В петък, 14 май 2021 г., 17:15:14 ч. Гринуич+3, Harry O <harryo...@gmail.com> 
написа: 





When I try to create a single disk brick via host view "storage devices" on 
engine, I get the following error.
Error while executing action Create Brick: Internal Engine Error
Failed to create brick lalaf on host hej1.5ervers.lan of cluster Clu1.
I want the brick to be single disk no raid, no cache. Is there a way to create 
it via CLI? Do I need to pull some logs?
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3R75BVRMRY6DTLMQHQJYSYJQGLHKUAVU/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BHEVCPOTUK73GVOQ5TZBBIOSUVL653S2/

Reply via email to