iThome online | iThome Blog | iThome周刊訂閱

載入中...

ttony007tw

IT邦初學者
8級

Solaris 三十Q-09 怎麼復原分割狀態到新硬碟?(x86/x64)

如果在x86的機器上,欲執行fmthard去還原原分割狀態的話,可能會碰到類似訊息:
# fmthard –s /var/tmp/c2d0s2.vtoc /dev/rdsk/c2d0s2
fmthard: Partition 2 specifies the full disk and is not equal full size of disk. The full disk capacity is 80373195 sectors.
fmthard: Partition 2 specifies as 160778520 sectors starting at 0 does not fit it.
The full disk contains 80373195 sectors.
fmthard: Partition 7 specifies as 158850720 sectors starting at 1927800 does not fit it. The full disk contains 80373195 sectors.
fmthard: New volume table of contents now in place.

這是因為在x86中用 fdisk 這個指令去更改磁碟分割的資訊與VTOC內容不符合所導致。



收到書籤:發佈到twitter      
分享時間:2008-10-09 13:45:07

▼ ADVERTISEMENT ▼

分享內容(
8

作法也相當簡單:
使用fdisk作磁碟分割,可以利用下列指令將資訊備份出來:
# fdisk –W /var/tmp/c2d0p0.fdisk /dev/rdsk/c2d0p0

復原的執行方式則是:
# fdisk –F /var/tmp/c2d0p0.fdisk /dev/rdsk/c2d0p0

如果要透過 fdisk 檢視硬碟內容的話,可以如此做:
# fdisk –W - /dev/rdsk/c2d0p0

以前都沒注意要保存這種資料,現在我都還會另外再以USB將這些partition的資訊複製起來,以預防萬一。

參考資料:Solaris 系統管理手冊

Solaris 三十Q-09 怎麼復原分割狀態到新硬碟?(x86/x64)

目前沒有資料

回應

請填寫您的回應,長度限為1,000個字,回應不計點數,也不限使用次數



 

檢舉違規

違規事項:

*補充檢舉理由(可省略),字數不可超過100字

推薦

推薦理由:


*給回答者的鼓勵(可不填),字數不可超過100字

▼ ADVERTISEMENT ▼

熱門標籤

 cisco   crystal   exchange   it   java   javascript   linux   m-power   mail   microsoft   msnlib   msnp15   msnsdk   msn機器人   mysql   nas   oracle   outlook   pmi   pmp   raid   report   sap   server   smartquery   sql   vista   windows   xp   倍力   倍力資訊   免費軟體   國際專案管理師   報表   專案管理   微軟   有話大聲說   活動   省錢   網路   網路儲存   網路管理   網頁安全   網頁設計   資安   資料庫   資訊安全   防毒軟體   2003   2008