- 论坛徽章:
- 0
|
我使用freenas配置了iscsi.
1.两台solaris都发现磁盘.在做metaset -s "name" -a /dev/did/rdisk/d*的时候,提示io错误.不知道什么原因. 使用format查看结果就有了变化. 把这个iscsi盘分到windows下使用是没有问题.
2.是否使用svm的问题???我可否用veritas的卷管理工具进行?veritas的卷管理软件再哪里下载?需要怎么配置?
-bash-3.00# metaset -s oratest -a /dev/did/rdsk/d4
metaset: dell330: /dev/did/rdsk/d4s7: I/O错误
-bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 19448 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c2t1d0 <NetBSD-NetBSDiSCSI-0 cyl 239 alt 2 hd 64 sec 32>
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget10001,0
2. c2t2d0 <NetBSD-NetBSDiSCSI-0 cyl 19449 alt 2 hd 255 sec 63>
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
Specify disk (enter its number): 2
selecting c2t2d0
[disk formatted]
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
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 19449 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 usr wm 1 - 19448 148.98GB (19448/0/0) 312432120
1 unassigned wm 0 0 (0/0/0) 0
2 unassigned wm 0 0 (0/0/0) 0
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 usr wu 0 - 0 7.84MB (1/0/0) 16065
8 unassigned wm 0 0 (0/0/0) 0
9 unassigned wm 0 0 (0/0/0) 0
partition>
[ 本帖最后由 sloven_yang 于 2009-10-9 21:00 编辑 ] |
|