- 论坛徽章:
- 0
|
DIFFERENCES (EFI versus VTOC)
Supported by 64-bit Solaris[TM] 9 Operating System (04/03) and above only (no x86 support, no backporting yet).
Provides support for disks greater than 1 terabyte in size.
Provides 7 useable slices - 0 thru 6 - where slice 2 is just another slice.
Solaris[TM] ZFS (Zettabyte File System) uses EFI labels by default.
Partitions (or slices) cannot overlap with the primary or backup label, or with any other partitions. The size of the EFI label is usually 34
sectors, so partitions start at sector 34. This feature means no partition can start at sector zero (0).
No cylinder or head information is stored in the label. Sizes are reported in sectors and blocks.
Information that was stored in the alternate cylinders area, the last two cylinders of the disk, is now stored in slice 8.
If you use the "format" utility to change partition sizes, the unassigned partition tag is assigned to partitions with sizes equal to zero. By default, the "format" utility assigns the "usr" partition tag to any partition with a size greater than zero. You can use the "partition change" menu to reassign partition tags after the partitions are changed. However, you cannot change a partition with a non-zero size to the "unassigned" partition tag.
EFI labels CAN be written to disks smaller than 1TB, where a standard VTOC label would normally apply, but VTOC cannot be forced onto devices larger than 1TB with. This can be done by running "format -e". When you attempt to "label" the disk, you will be asked which type of label is to be written.
RESTRICTIONS
The layered software products not intended for systems with EFI-labeled disks might be incapable of accessing a disk with an EFI disk label. (i.e., current VxVM versions) " A disk with an EFI disk label is not recognized on systems running previous Solaris Operating System releases. Adding an EFI-labeled disk to a system that does not support it will result in messages simlar to the following:
Dec 3 09:12:17 <hostname> scsi: WARNING:
/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w50020f23000002a4,0 (ssd1): corrupt label - wrong magic number
You cannot boot from a disk with an EFI disk label.
You cannot use the Solaris[TM] Management Console's Disk Manager Tool to manage disks with EFI labels. Use the "format" utility or the Solaris Management Console's Enhanced Storage Tool to manage disks with EFI labels, after you use the 'format' utility to partition the disk.
The EFI specification prohibits overlapping slices. The whole disk is represented by "c#t#d#p6". For example:
lrwxrwxrwx 1 root root 70 Nov 25 18:54 c8t1d0p6 ->
../../devices/.../ssd@w50020f23000004aa,0:wd
The following format options are not applicable on disks with EFI labels:
The "save" option is not supported because disks with EFI labels do not need an entry in the "format.dat" file.
The "backup" option is not applicable because the disk driver finds the primary label and writes it back to the disk.
SIDE BY SIDE COMPARISON
This example uses a standard internal 9GB drive (Fujitsu MAG3091L, Sun firmware). First, we view the existing disk label via 'format':
Current partition table (original):
Total disk cylinders available: 4924 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 2586 4.43GB (2587/0/0) 9289917
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 4923 8.43GB (4924/0/0) 17682084
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 4917 - 4922 10.52MB (6/0/0) 21546
Now, after using 'format -e' option to write EFI label-
Current partition table (original):
Total disk sectors available: 17672849 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 root wm 34 4.43GB 9289916
1 swap wu 9289917 3.99GB 17656946
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 17672849 8.00MB 17689232
The look and feel from the format is different two, the standard vtoc presents the size in the format cylinder/head/sector whereas an EFI label only gives the available blocks in hexadezimal.
17. c6t20000020372651C5d0 <SEAGATE ST39102FCSUN9.0G 0D29 10deab3>
/scsi_vhci/ssd@g20000020372651c5
18. c6t20000020372650C5d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/scsi_vhci/ssd@g20000020372650c5
As you can see, the EFI lable informs you about the vendor and model of the disk drive and the standard vtoc calls it only a SUN9.0G disk drive.
MINIMUM REQUIRED SOFTWARE COMPATIBILITY LEVELS
SAM-FS/QFS 4.2
Veritas Volume Manager 4.1 & Solaris 10 ONLY
Veritas File System 4.1 & Solaris 10 ONLY
Solaris[TM] Volume Manager Supported by default
UFS Supported by default
PATCHES REQUIRED BY SOLARIS 9 TO SUPPORT MULTI-TERABYTE DEVICES
113277-06 (or newer) sd & ssd patch
114127-01 (or newer) abi_libefi.so.1 patch
114128-01 (or newer) sd_lun patch
114129-01 (or newer) libuuid patch
114131-01 (or newer) libadm.so.1 patch
113981-02 (or newer) devfsadm patch
114132-01 (or newer) fmthard patch
113072-03 (or newer) format patch
114369-01 (or newer) prtvtoc patch
113049-01 (or newer) luxadm & liba5k.so.2 patch |
|