- 论坛徽章:
- 0
|
系统中可以看到iscsi硬盘
root@test1 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@780/pci@0/pci@9/scsi@0/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@780/pci@0/pci@9/scsi@0/sd@1,0
2. c4t5d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,0
3. c4t6d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,1
4. c4t7d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,2
5. c4t8d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,4
6. c4t9d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,6
7. c4t10d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,5
8. c4t11d0 <NETAPP-LUN-0.2 cyl 998 alt 2 hd 16 sec 128>
/iscsi/disk@0000iqn.1992-08.com.netapp%3Asn.9993070103E9,3
Specify disk (enter its number):
但是vxvm却无法认出来
root@test1 # vxdiskadm
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
22 Change/Display the default disk layouts
23 Mark a disk as allocator-reserved for a disk group
24 Turn off the allocator-reserved flag on a disk
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform: 1
Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can
add the selected disks to an existing disk group or to a new disk group
that will be created as a part of the operation. The selected disks may
also be added to a disk group as spares. Or they may be added as
nohotuses to be excluded from hot-relocation use. The selected
disks may also be initialized without adding them to a disk group
leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are
some disk selection examples:
all: all disks
c3 c4t2: all disks on both controller 3 and controller 4, target 2
c3t4d2: a single disk (in the c#t#d# naming scheme)
xyz_0 : a single disk (in the enclosure based naming scheme)
xyz_ : all disks on the enclosure whose name is xyz
Select disk devices to add: [<pattern-list>,all,list,q,?] list
DEVICE DISK GROUP STATUS
c0t0d0 - - online invalid
c0t1d0 - - online invalid
Select disk devices to add: [<pattern-list>,all,list,q,?] all
Here are the disks selected. Output format: [Device_Name]
c0t0d0 c0t1d0
Continue operation? [y,n,q,?] (default: y) |
|