本篇內(nèi)容介紹了“l(fā)inux中primary label corrupt; using backup故障怎么修復(fù)”的有關(guān)知識,在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
專注于為中小企業(yè)提供成都網(wǎng)站建設(shè)、做網(wǎng)站服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)金灣免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動(dòng)了1000多家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。
故障信息:
Apr 22 11:00:51 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:51 host1 primary label corrupt; using backup
Apr 22 11:00:51 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:51 host1 primary label corrupt; using backup
Apr 22 11:00:58 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:58 host1 primary label corrupt; using backup
Apr 22 11:00:58 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:58 host1 primary label corrupt; using backup
Apr 22 11:00:58 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:58 host1 primary label corrupt; using backup
Apr 22 11:00:58 host1 cmlb: [ID 107833 kern.warning] WARNING: /scsi_vhci/disk@g5000c50043ffa61f (sd5):
Apr 22 11:00:58 host1 primary label corrupt; using backup
解決方案:
如果步驟一修復(fù)失敗,則執(zhí)行步驟二進(jìn)行修復(fù):
root@host1:/tank/test# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <Unknown-Unknown-0001 cyl 1909 alt 2 hd 128 sec 32>
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c3t5000C5000B74F2DBd0 <ATA-ST31000340NS-SN05-931.51GB>
/scsi_vhci/disk@g5000c5000b74f2db
2. c3t5000C50010B03872d0 <ATA-ST3500320NS-SN05 cyl 60798 alt 2 hd 255 sec 63>
/scsi_vhci/disk@g5000c50010b03872
3. c3t5000C50043FF9AB7d0 <SEAGATE-ST3300657SS-ES64-279.40GB>
/scsi_vhci/disk@g5000c50043ff9ab7
4. c3t5000C50043FFA61Fd0 <SEAGATE-ST3300657SS-ES64-279.40GB>
/scsi_vhci/disk@g5000c50043ffa61f
5. c3t5000C5004700B33Fd0 <SEAGATE-ST3300657SS-ES64-279.40GB>
/scsi_vhci/disk@g5000c5004700b33f
6. c3t5000C500470098D7d0 <SEAGATE-ST3300657SS-ES64-279.40GB>
/scsi_vhci/disk@g5000c500470098d7
Specify disk (enter its number): 4
selecting c3t5000C50043FFA61Fd0
[disk formatted]
/dev/dsk/c3t5000C50043FFA61Fd0s0 is part of active ZFS pool tank. Please see zpool(1M).
Reading the primary EFI GPT label failed. Using backup label.
Use the 'backup' command to restore the primary label.
No Solaris fdisk partition found.
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> verify
Reading the primary EFI GPT label failed. Using backup label.
Use the 'backup' command to restore the primary label.
Volume name = < >
ascii name = <SEAGATE-ST3300657SS-ES64-279.40GB>
bytes/sector = 512
sectors = 585937499
accessible sectors = 585937466
Part Tag Flag First Sector Size Last Sector
0 usr wm 256 279.39GB 585921082
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 585921083 8.00MB 585937466
format> backup
Restoring primary label.
Unable to get information for EFI partition 0.
Cannot label disk when partitions are in use as described.
Failed
format> type
AVAILABLE DRIVE TYPES:
0. Auto configure
1. other
Specify disk type (enter its number)[1]: 0
c3t5000C50043FFA61Fd0: configured with capacity of 279.40GB
<SEAGATE-ST3300657SS-ES64-279.40GB>
selecting c3t5000C50043FFA61Fd0
[disk formatted]
/dev/dsk/c3t5000C50043FFA61Fd0s0 is part of active ZFS pool tank. Please see zpool(1M).
format> verify
Volume name = < >
ascii name = <SEAGATE-ST3300657SS-ES64-279.40GB>
bytes/sector = 512
sectors = 585937499
accessible sectors = 585937466
Part Tag Flag First Sector Size Last Sector
0 usr wm 256 279.39GB 585921082
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 585921083 8.00MB 585937466
format> backup
Disk has a primary label, still continue? y
Restoring primary label.
Unable to get information for EFI partition 0.
Cannot label disk when partitions are in use as described.
Failed
步驟二、
format> fdisk
No fdisk table exists. The default partition for the disk is:
a 100% "SOLARIS System" partition
Type "y" to accept the default partition, otherwise type "n" to edit the
partition table.
y
format> verify
Reading the primary EFI GPT label failed. Using backup label.
Use the 'backup' command to restore the primary label.
Volume name = < >
ascii name = <SEAGATE-ST3300657SS-ES64-279.40GB>
bytes/sector = 512
sectors = 585937499
accessible sectors = 585937466
Part Tag Flag First Sector Size Last Sector
0 usr wm 256 279.39GB 585921082
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 585921083 8.00MB 585937466
format> backup
Restoring primary label.
format> q
“l(fā)inux中primary label corrupt; using backup故障怎么修復(fù)”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!
網(wǎng)站名稱:linux中primarylabelcorrupt;usingbackup故障怎么修復(fù)
網(wǎng)頁URL:http://jinyejixie.com/article26/ggijjg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供商城網(wǎng)站、電子商務(wù)、App開發(fā)、動(dòng)態(tài)網(wǎng)站、外貿(mào)網(wǎng)站建設(shè)、網(wǎng)站策劃
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)