Tuesday, November 20, 2012

ATTACHING new SCSI HDD (VMDK) to a running Virtual Machine (VM) - Live VM

THIS WILL LIST THE NAME OF THE SCSI HOST PRESENT ON THE SYSTEM, BASED ON WHICH HOST YOU ASSIGNED THE NEW DISK DRIVE TO RUN THE FOLLOWING COMMAND
  983  ls /sys/class/scsi_host

INITIALIZE SCSI
 980  echo "- - -" > /sys/class/scsi_host/host0/scan

RUN FDISK TO VERIFY IN LINUX
  981  fdisk -l

CHECK VAR LOG MESSAGES TO VERIFY THE SCSI DEVICE WAS ATTACHED SUCCESSFULLY
  982  tail -f /var/log/messages

CREATE A NEW VOLUME
  984  fdisk /dev/sde

FORMAT THE NEW VOLUME
  985  mkfs.ext3 /dev/sde1

CREATE A MOUNT POINT
  986  vi /etc/fstab

MOUNT IT
  987  mount /tmp

No comments: