Friday, September 24, 2021

Linux: Disk Handling Tool: Linux Disk Commands

lsblk -i
lsblk -f
df -Th 
du -sh * |sort -h

mount  /dev/sda  /data    [Manual]

mkfs.xfs /dev/sda
mkfs.ext4 /dev/sdb

edit FSTAB
/dev/sda /data ext4 defaults,nofail 0 0

mount -a

umount /dev/dsx
--------------------------------------------
DONT' UMount if its root disk
sudo parted /dev/sda
print
resizepart
resize2fs /dev/sda1
-------------------------------------------

Azure:Disk Resize Disk Size - Azure



----------------------------------------------------------------------------------------------------------------------------------

Create a Snapshot
Make a Disk out of Snapshot (Preferably Premium)
Execute These Steps after RESIZE on azure.portal 
[Stop Vm, Resize, Stop VM, Execute Below Steps]

DONT' UMount if its root disk
sudo parted /dev/sda
print
resizepart
resize2fs /dev/sda1

----------------------------------------------------------------------------------------------------------------------------------

lsblk -i
lsblk -f
df -Th 
du -sh * |sort -h

Thursday, September 23, 2021

Architecture Comparisons : HTTP vs Event vs Messgae Broker


https://github.com/sonusathyadas/EventGrid-Samples
https://docs.microsoft.com/en-us/rest/api/servicebus/peek-lock-message-non-destructive-read

AZURE -204 (24 Sept 2021) - DAY5

EVENT HUB  = KAFKA

EventHub Client -C# 
----------------------------------------------

Service Bus

Azure: Resize VM : How to expand the OS drive of a virtual machine

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/expand-os-disk


https://medium.com/100-days-of-linux/how-to-resize-a-linux-root-file-system-af3e5096b4e4


https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks



Linux: Partitioning Disk : MKFS EXT4 vs XFS - Database Formatting

https://computingforgeeks.com/ext4-vs-xfs-complete-comparison/

https://www.tecmint.com/create-new-ext4-file-system-partition-in-linux/

https://www.cyberciti.biz/faq/how-to-install-xfs-and-create-xfs-file-system-on-debianubuntu-linux/#Create_xfs_filesystem

mkfs.xfs /dev/device

mkfs.ext4 /dev/device


:::::: vi /etc/fstab  ::::::

/dev/sdb /data xfs defaults,nofail 0 1


lsblk -f

lsblk -a

lsblk -i


df -h 



Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass