Add drive to Redhat linux without restart

Add independent drive from Vsphere

Rescan the SCSI Bus to Add a SCSI Device

ls /sys/class/scsi_host
#if output host0
echo “- – -” > /sys/class/scsi_host/host0/scan

Create partition

fdisk -l
fdisk /dev/sdb
#n – create a new partition (primary 1)
#w – write the new partition table and exit

Format partition

mkfs.ext3 /dev/sdb1

Update /etc/fstab

/dev/sdb1 /lmdata ext3 defaults 1 2

Mount partition

mkdir /lmdata
mount /lmdata