Centos 5 : Manage Disks OnLine
Some usefull commands to manage disks online in Centos 5
RESCAN SCSI BUS :
echo "- - -" > /sys/class/scsi_host/host#/scan
DELETE A DEVICE :
echo 1 > /sys/block/devName/device/delete
ADD A SINGLE DEVICE :
echo "scsi add-single-device
QNAP Clickatell command line setup
If you just want to send SMS on QNAP via command line, (and the QNAP Support tell you that this is not possible becouse of closed source program) , simple try this way :
1) – Register your Clickatell account
2) – Register/Create your HTTP/HTTPS API KEY
3) – Use this command line expamle :
wget --no-check-certificate -O - "https://api.clickatell.com/http/sendmsg?user=USERNAME&password=PASSWORD&api_id=API_ID&to=TEL_NUMBER&text=TEXT_MESSAGE"
It rocks !!!
Esxi 5 : consolidating snapshot
In Esxi 5 there is a new feature for consolidating snapshot when there are some -00000X.vmdk and -00000X-delta.vmdk files, and snapshot manager says that there are no snapshot.
Check if consolidation is needed by click on VCENTER , go in Virtual Machine and then add column “Needs Consolidation”
For VM that have “Yes” in this column , simple highlight the VM and choose “Snapshot –> Consolidate”
Citrix SMA Service : error 1053 / 1920
Cisco 1841 – MTU and Web Browsing Issue
If you are having problem to browse internet after installing your Cisco 1841, probably you are experiencing some issue with the MTU.
You can check if your problem is related to an MTU issue following this basic steps.
Open a command prompt with high privileges and type :
netsh interface ipv4 set subinterface "Local Area Connection" mtu=nnnnSet MTU to 1492 or lower and try to browse internet.
If you have solved your issue, this is the configuration for Cisco 1841 on FastEthernet
conf t
int fast 0/0
ip tcp adjust-mss 1410
Hope this helps