Solaris10无法Label小于2GB的卷的解决方法
一、 组网 :
无
在Solaris10上Format小于2GB的卷,打Label提示失败,提示:
[disk formatted]
Disk not labeled. Label it now? y
Warning: error writing VTOC.
Warning: no backup labels
Write label failed
三、 过程分析:
无
按以下流程进行操作:
1. 进入format,选择卷;
2. 提示label时,选择no;
3. 输入type,选择other;
4. 在Enter number of data cylinders后面输入61;
5. 在Enter number of heads后面输入64;
6. 在Enter number of data sectors/track后面输入扇区数,以2MB为单位,比如512MB的卷就输入256;
7. 在Enter disk type name (remember quotes)后面输入一个自定义的名字;
8. 其它参数均使用系统默认选项。
9. 在Disk not labeled. Label it now后面输入y就可以对该卷进行Label了。
附:以格式化一个512MB的卷为例,设备名称是c2t32d0:
root@ # format
Searching for disks...
Mode sense page(4) reports rpm value as 14, adjusting it to 3600
Mode sense page(3) reports nsect value as 0, adjusting it to 0
done
c2t32d0: configured with capacity of 0.00MB
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/ssm@0,0/pci@1a,600000/pci@2/scsi@2/sd@0,0
1. c0t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/ssm@0,0/pci@1a,600000/pci@2/scsi@2/sd@1,0
2. c2t32d0 <H3C-IPSAN-1 cyl 51197 alt 2 hd 64 sec 0>
/iscsi/disk@***.***%3Ah3c%3Amyrealm.vol-1gFFFF,0
Specify disk (enter its number): 2
selecting c2t32d0
[disk formatted]
Disk not labeled. Label it now? no
FORMAT MENU:
…(略)
type - select (define) a disk type
…(略)
format> type
AVAILABLE DRIVE TYPES:
…(略)
21. other
Specify disk type (enter its number)[20]: 21
Enter number of data cylinders: 61
Enter number of alternate cylinders[2]:
Enter number of physical cylinders[63]:
Enter number of heads: 64
Enter physical number of heads[default]:
Enter number of data sectors/track: 256
Enter number of physical sectors/track[default]:
Enter rpm of drive[3600]:
Enter format time[default]:
Enter cylinder skew[default]:
Enter track skew[default]:
Enter tracks per zone[default]:
Enter alternate tracks[default]:
Enter alternate sectors[default]:
Enter cache control[default]:
Enter prefetch threshold[default]:
Enter minimum prefetch[default]:
Enter maximum prefetch[default]:
Enter disk type name (remember quotes): vol-256MB
selecting c2t32d0
[disk formatted]
Disk not labeled. Label it now? y
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作