- 论坛徽章:
- 0
|
现在手上有一块硬盘block size为520,想修改为512。
下载了一个scu的工具,但是格式化报错,不知道有没有人用过这个工具,或者有其他修改的方法。
# prtvtoc /dev/rdsk/c1t1d0s2
* /dev/rdsk/c1t1d0s2 partition map
*
* Dimensions:
* 520 bytes/sector
* 256 sectors/track
* 64 tracks/cylinder
* 16384 sectors/cylinder
* 7001 cylinders
* 6999 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 262144 262143
1 3 01 262144 262144 524287
2 5 01 0 114671616 114671615
6 4 00 524288 114147328 114671615
scu工具格式化报错信息
# ./scu -f /dev/rdsk/c1t1d0s2
scu> show capacity
Disk Capacity Information:
Maximum Capacity: 573653847 (284481.049 megabytes)
Block Length: 520
scu> set bypass on
scu> set device block-length 512
scu> format
Formatting device /dev/rdsk/c1t1d0s2 (MAW3300FC), please be patient...
Working ... Wed May 2 15:24:23 2012
scu: USCSICMD failed, errno = 5 - I/O error
scu: 'format unit' failed on device 'MAW3300FC' at nexus [1/1/0]
scu: Sense Key = 0x5 = ILLEGAL REQUEST - Illegal request or CDB parameter,
Sense Code/Qualifier = (0x24, 0) = Invalid field in CDB |
|