2016年1月13日 星期三

How to mount usb device to ESXi

How to mount usb device to ESXi

1.) Stop the usbarbitrator service by running this command
/etc/init.d/usbarbitrator stop
2.) Disconnect and reconnect the usb device. The device might be automatically mounted under
/vmfs/volumes/NO NAME/ (just navigate here to export or import your files)
**) If not automatically mounted, use the following commands to find out where the device is connected to (e.g. /dev/sda1)
fdisk -l
tail /var/log/messages
To mount the device, first create a folder
mkdir /ExtUSB
mount the device with
mount -t ext3 /dev/sda1 /ExtUSB/
3.) After using the device, run the following command to start the usbarbitrator service
/etc/init.d/usbarbitrator start

2016年1月11日 星期一

How to list BMC sensor

How to list BMC sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin -v sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor get "XXXX"

Simple dd command to test HDD read/write performance under linux

Simple dd command to test HDD read/write performance under linux Read #dd oflag=direct if=/dev/zero of=/mnt/test bs=512k count=200...