Add disk to running Linux virtual machine (vmware workstation)
http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html
ls -lart /sys/class/scsi_host
echo "- - -" > /sys/class/scsi_host/host0/scan
fdisk -l
(no luck)
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan
fdisk -l
(yes !)
fdisk /dev/sdb
(make it Linux LVM c/ t / 8e )
mkfs -t ext4 -c /dev/sdb1
lvdisplay
vgextend vg_stssc /dev/sdb1
lvextend --extents +100%FREE /dev/vg_stssc/lv_root
resize2fs /dev/vg_stssc/lv_root
lvdisplay
df -h