In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge about "primary label corruption; how to fix using backup failure in linux". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
Fault information:
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
Solution:
If step 1 fails to repair, perform step 2 to repair:
root@host1:/tank/test# format
Searching for disks... done
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c3t5000C5000B74F2DBd0
/scsi_vhci/disk@g5000c5000b74f2db
2. c3t5000C50010B03872d0
/scsi_vhci/disk@g5000c50010b03872
3. c3t5000C50043FF9AB7d0
/scsi_vhci/disk@g5000c50043ff9ab7
4. c3t5000C50043FFA61Fd0
/scsi_vhci/disk@g5000c50043ffa61f
5. c3t5000C5004700B33Fd0
/scsi_vhci/disk@g5000c5004700b33f
6. c3t5000C500470098D7d0
/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
! - execute , 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 =
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
selecting c3t5000C50043FFA61Fd0
[disk formatted]
/dev/dsk/c3t5000C50043FFA61Fd0s0 is part of active ZFS pool tank. Please see zpool(1M).
format> verify
Volume name =
< >ascii name =
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
Step 2:
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 =
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
"Linux primary label corruption; using backup failure how to fix" content introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.