Add new disc linux host vmware


Scan all existing hosts with a one-liner:

for host in /sys/class/scsi_host/*; do echo "- - -" | sudo tee $host/scan; ls /dev/sd* ; done


fdisk /dev/sdb
m to menu
n to new partition
w to write

mkfs.ext4 /dev/sdb1 to format

Resize disc: 

To make the kernel aware, one can issue the following command as root:

echo 1 > /sys/class/block/sdb/device/rescan
parted /dev/sdb
print
resizepart 1 
quit parted
sudo partprobe 
 
Resize File system 
umount /dev/block_device
e2fsck -f /dev/block_device
resize2fs /dev/block_device
 
 
 
 

Mobile Access SSL Network Extender (SNX) remote users with Windows 11 24H2 fail to connect

  Cause The conflict resolution mechanism in Windows 11 24H2 is different than in earlier versions of Windows. Solution On the Windows endpo...

Mais vistos