@@@@@adding scsi sdb drive and removing it in vmware
cd /dev
ls
ls ad*
echo "_ _ _" > /sys/class/scsi_host/scan -----> to detect the sdb device in the system
ls ad*
fdisk sdb
create new partition on sdb
mkfs.ext3 /dev/sdb1
cd /mnt
ls
mount /dev/sdb1 sdb
cd sdb
ls
df -h
cd ..
ls
umount sdb
echo 1 > /sys/block/sdb/device/delete----> to remove the sdb device entry from the system
ls ad*
@@@@@@@@@SCSI trace kernel Module@@@@@@@
cd /proc/scsi/
cat scsi
cat /proc/partitions
ls -l
echo "scsitrc_enable" > scsitrc
dd if=/dev/zero of=/dev/sdb count=4
cd /var/log/
less kern.log
No comments:
Post a Comment