[轉]What is the best way to Shrink a Thin Provisioned Disk?

https://community.spiceworks.com/topic/461716-what-is-the-best-way-to-shrink-a-thin-provisioned-disk ========== http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.storage.doc%2FGUID-CBF31A6B-B36F-4552-B512-CC92B1943902.html Removing Zeroed Blocks Use the vmkfstools command to convert any thin, zeroedthick, or eagerzeroedthick virtual disk to a thin disk with zeroed blocks removed.-K –punchzero This option deallocates all zeroed out blocks and leaves only those blocks that were allocated previously and contain valid data. The resulting virtual disk is in thin format. ======= Poblano Gabrielle, I did the sdelete -z and this cleared up the space on one of my drives. Which worked awesome for this particular issue I ended up just added a new drive to the system copied the 5 GB of data over changed the drive letter, rebooted and brought my application back online. Worked great. Thanks for the information. ...

2015-09-13 · 1 min · 119 words · Me

nakivo vmware

backup and restore for free 備份還原免費 backup 1、免費的功能有限 2、有限在,backup只能在local 空間上,但可以在vmware上掛新的HDD 3、記得 NAKIVO 的vm,還是在原本的機器上,所以建議,直接用在nakivo的網站上,下載ova,直接掛而新的地方,這樣就能備份了 recovery recovery -> recovery vm netwrok 選一下 重點要注意: 1、選 Create only thin disks on recovered VMs 2、Levave VM name is

2015-09-12 · 1 min · 33 words · Me

[轉]jQuery 之 checkbox 及 radio 設定值的

http://note.tc.edu.tw/175.html [radio 取值] 以下範例示範當使用者按下 submit ( id=sb1 ) 時的檢查動作,其中 radio 的 name=doway $("#sb1").click(function(){ var method =$(“input[name=‘doway’]:checked”).val(); //radio 取值,注意寫法 if( typeof(method) == “undefined”){ // 注意檢查完全沒有選取的寫法,這行是精華 alert( “請選取操作方式!”); return false; }

2015-09-12 · 1 min · 29 words · Me

用框架時,要注意

StrongLoop 和 Dreamfactory 1、比較複雜的SQL能不能自定議? 基本上兩者目前都還在開發中,StrongLoop是beta吧 2、能不能在資料CRUD時,Model自訂檢查? 這樣後端檢查完就送回前端,雖然最好是前端就要檢查,但實際上,前端檢查完畢後,後端還是要再檢查一次,不然駭客之類可以模擬crul方式送資料,繞過前端檢查,所以最後後端還要檢查,那到不如直接在後端檢查完畢後,送回訊息。 當然如果真的要即時性非常重的話,那還是要先在前端檢查了~~~ 3、登入、帳號管理、token? Dreamfactory一直來都非常的清楚,而StrongLoop現在也清楚多了 4、效能、API、Restful使用? 這只能租主機,然後掛上去,試試看,才能知道,到底效能如何

2015-09-12 · 1 min · 12 words · Me

strongloop now is more better for document

底下是strongloop相關操作 Managing users 管理使用者 https://docs.strongloop.com/display/public/LB/Managing+users Getting started with LoopBack 怎麼使用loopback https://docs.strongloop.com/display/public/LB/Getting+started+with+LoopBack Getting started part II 怎麼使用loopback II https://docs.strongloop.com/display/public/LB/Getting+started+part+II Validating model data 資料進資料庫前的驗証 https://docs.strongloop.com/display/public/LB/Validating+model+data Executing native SQL 自訂義SQL,但還在測試中,不能保障正常運行 --This feature has not been fully tested and is not officially supported: the API may change in future releases. https://docs.strongloop.com/display/public/LB/Executing+native+SQL

2015-09-12 · 1 min · 47 words · Me