Unable to bring the disk under vxvm control on Solaris 10 x64
./vxdisksetup -i c1t0d0
VxVM ./vxdisksetup ERROR V-5-2-3570 Configuration daemon ( vxconfigd ) is not accessible.
1. Removed # rm /etc/vx/reconfig.d/state.d/install-db didn't work.
2. vxconfigd -k -m boot and vxconfigd -k -m enable didn't work
3. Reboot didin't enable the vxconfigd.
so
again manually booted and enabled and started working..
18 ps -aef | grep vx
19 vxconfigd -m enable
20 vxdisk list
21 vxdisk scandisks
22 vxdisk list
23 cd /etc/vx/bin
24 ./vxdisksetup -i c1t0d0
25 ps -aef | grep vx
26 cd /etc/vx
27 ls
28 cd reconfig.d/
29 ls
30 cd state.d/
31 ls
32 vxconfigd -k -m boot
33 vxconfigd -k -m enable
34 vxdctl
35 vxdctl enable
36 ls /etc/vx/reconfig.d/state.d/install-db
37 vxconfigd -k -m boot
38 vxconfigd -k -m enable
39 vxdctl enable
40 vxdctl init unknon
41 hostname
42 vxconfigd -k
43 ps -ef | grep vx
44 vxdisk list
45 pwd
46 cd ../../bin
47 ls
48 echo | format
49 ./vxdisksetup -i c1t0d0
50 ./vxdisksetup -i c1t1d0
51 ./vxdisksetup -i c1t2d0
52 vxdisk list
53 vxdiskadm
54 vxdisk list
55 vxdg list
56 vxdisk list
57 vxdg list
58 vxdiskadm
59 history
bash-3.2#
============== detail ===========
root 3454 1 0 22:40:18 ? 0:00 /opt/VRTSdbed/bin/vxdbd
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
bash-3.2# pwd
/etc/vx/reconfig.d/state.d
bash-3.2# cd ../../bin
bash-3.2# ls
egettxt vxchksundev vxdmpraw vxmirror vxrelocd
strtovoff vxckdiskrm vxdmproot vxmksdpart vxresize
ugettxt vxclustadm vxdxcld vxmonitor vxroot
vx_cmd_completion vxclustipc vxedvtoc vxnative vxrootadm
vxa5kchk vxcntrllist vxedvtoc.SunOS_5.10 vxnewdmname vxslicer
vxattachd vxconfigbackup vxeeprom vxparms vxspare
vxbadcxcld vxconfigbackupd vxencap vxparms.SunOS_5.10 vxsparecheck
vxbaddxcld vxconfigrestore vxevac vxpartadd vxsplitlines
vxbootadm vxconvarrayinfo vxformat vxpartinfo vxswapctl
vxbootsetup vxcxcld vxgetdmpnames vxpartrm vxtaginfo
vxcached vxdarestore vxgetrootdisk vxpartrmall vxunreloc
vxcap-part vxdevlist vxisasm vxprtvtoc vxunroot
vxcap-vol vxdevpromnm vxisforeign vxr5check vxvvrsecdgd
vxcdsconvert vxdisksetup vxldiskcmd vxr5vrfy vxvvrsecdgerrhndlr
vxcheckda vxdiskunsetup vxlist vxreattach
bash-3.2# echo | format
Searching for disks...
Inquiry failed for this logical diskdone
AVAILABLE DISK SELECTIONS:
0. c0d1 <Úxäþ¢ÿþ©ÿþì@©üþ cyl 2085 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
1. c1t0d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@0,0
2. c1t1d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@1,0
3. c1t2d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@2,0
Specify disk (enter its number): Specify disk (enter its number):
bash-3.2# ./vxdisksetup -i c1t0d0
bash-3.2# ./vxdisksetup -i c1t1d0
bash-3.2# ./vxdisksetup -i c1t2d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
bash-3.2# 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 Dynamic Reconfiguration Operations
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
c0t1d0 - - online invalid
c1t0d0 - - online
c1t1d0 - - online
c1t2d0 - - online
Select disk devices to add: [<pattern-list>,all,list,q,?] c1t0d0
Here is the disk selected. Output format: [Device_Name]
c1t0d0
Continue operation? [y,n,q,?] (default: y)
You can choose to add this disk to an existing disk group, a
new disk group, or leave the disk available for use by future
add or replacement operations. To create a new disk group,
select a disk group name that does not yet exist. To leave
the disk available for future use, specify a disk group name
of "none".
Which disk group [<group>,none,list,q,?] (default: none) list
NAME STATE ID
Which disk group [<group>,none,list,q,?] (default: none) datadg
Create a new group named datadg? [y,n,q,?] (default: y)
Create the disk group as a CDS disk group? [y,n,q,?] (default: y)
Use a default disk name for the disk? [y,n,q,?] (default: y)
Add disk as a spare disk for datadg? [y,n,q,?] (default: n)
Exclude disk from hot-relocation use? [y,n,q,?] (default: n)
Add site tag to disk? [y,n,q,?] (default: n)
A new disk group will be created named datadg and the selected disks
will be added to the disk group with default disk names.
c1t0d0
Continue with operation? [y,n,q,?] (default: y)
The following disk device appears to have been initialized already.
The disk is currently available as a replacement disk.
Output format: [Device_Name]
c1t0d0
Use this device? [y,n,q,?] (default: y)
The following disk you selected for use appears to already have
been initialized for the Volume Manager.
Please use vxdisk -f init if you want to reinitialize this disk.
VxVM NOTICE V-5-2-120
Creating a new disk group named datadg containing the disk
device c1t0d0 with the name datadg01.
Add or initialize other disks? [y,n,q,?] (default: n)
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 Dynamic Reconfiguration Operations
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform: q
Goodbye.
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk datadg01 datadg online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
bash-3.2# vxdg list
NAME STATE ID
datadg enabled,cds 1424059065.23.unknon
bash-3.2#
./vxdisksetup -i c1t0d0
VxVM ./vxdisksetup ERROR V-5-2-3570 Configuration daemon ( vxconfigd ) is not accessible.
1. Removed # rm /etc/vx/reconfig.d/state.d/install-db didn't work.
2. vxconfigd -k -m boot and vxconfigd -k -m enable didn't work
3. Reboot didin't enable the vxconfigd.
so
again manually booted and enabled and started working..
18 ps -aef | grep vx
19 vxconfigd -m enable
20 vxdisk list
21 vxdisk scandisks
22 vxdisk list
23 cd /etc/vx/bin
24 ./vxdisksetup -i c1t0d0
25 ps -aef | grep vx
26 cd /etc/vx
27 ls
28 cd reconfig.d/
29 ls
30 cd state.d/
31 ls
32 vxconfigd -k -m boot
33 vxconfigd -k -m enable
34 vxdctl
35 vxdctl enable
36 ls /etc/vx/reconfig.d/state.d/install-db
37 vxconfigd -k -m boot
38 vxconfigd -k -m enable
39 vxdctl enable
40 vxdctl init unknon
41 hostname
42 vxconfigd -k
43 ps -ef | grep vx
44 vxdisk list
45 pwd
46 cd ../../bin
47 ls
48 echo | format
49 ./vxdisksetup -i c1t0d0
50 ./vxdisksetup -i c1t1d0
51 ./vxdisksetup -i c1t2d0
52 vxdisk list
53 vxdiskadm
54 vxdisk list
55 vxdg list
56 vxdisk list
57 vxdg list
58 vxdiskadm
59 history
bash-3.2#
============== detail ===========
root 3454 1 0 22:40:18 ? 0:00 /opt/VRTSdbed/bin/vxdbd
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
bash-3.2# pwd
/etc/vx/reconfig.d/state.d
bash-3.2# cd ../../bin
bash-3.2# ls
egettxt vxchksundev vxdmpraw vxmirror vxrelocd
strtovoff vxckdiskrm vxdmproot vxmksdpart vxresize
ugettxt vxclustadm vxdxcld vxmonitor vxroot
vx_cmd_completion vxclustipc vxedvtoc vxnative vxrootadm
vxa5kchk vxcntrllist vxedvtoc.SunOS_5.10 vxnewdmname vxslicer
vxattachd vxconfigbackup vxeeprom vxparms vxspare
vxbadcxcld vxconfigbackupd vxencap vxparms.SunOS_5.10 vxsparecheck
vxbaddxcld vxconfigrestore vxevac vxpartadd vxsplitlines
vxbootadm vxconvarrayinfo vxformat vxpartinfo vxswapctl
vxbootsetup vxcxcld vxgetdmpnames vxpartrm vxtaginfo
vxcached vxdarestore vxgetrootdisk vxpartrmall vxunreloc
vxcap-part vxdevlist vxisasm vxprtvtoc vxunroot
vxcap-vol vxdevpromnm vxisforeign vxr5check vxvvrsecdgd
vxcdsconvert vxdisksetup vxldiskcmd vxr5vrfy vxvvrsecdgerrhndlr
vxcheckda vxdiskunsetup vxlist vxreattach
bash-3.2# echo | format
Searching for disks...
Inquiry failed for this logical diskdone
AVAILABLE DISK SELECTIONS:
0. c0d1 <Úxäþ¢ÿþ©ÿþì@©üþ cyl 2085 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
1. c1t0d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@0,0
2. c1t1d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@1,0
3. c1t2d0 <VMware,-VMware Virtual -1.0 cyl 2044 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@2,0
Specify disk (enter its number): Specify disk (enter its number):
bash-3.2# ./vxdisksetup -i c1t0d0
bash-3.2# ./vxdisksetup -i c1t1d0
bash-3.2# ./vxdisksetup -i c1t2d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
bash-3.2# 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 Dynamic Reconfiguration Operations
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
c0t1d0 - - online invalid
c1t0d0 - - online
c1t1d0 - - online
c1t2d0 - - online
Select disk devices to add: [<pattern-list>,all,list,q,?] c1t0d0
Here is the disk selected. Output format: [Device_Name]
c1t0d0
Continue operation? [y,n,q,?] (default: y)
You can choose to add this disk to an existing disk group, a
new disk group, or leave the disk available for use by future
add or replacement operations. To create a new disk group,
select a disk group name that does not yet exist. To leave
the disk available for future use, specify a disk group name
of "none".
Which disk group [<group>,none,list,q,?] (default: none) list
NAME STATE ID
Which disk group [<group>,none,list,q,?] (default: none) datadg
Create a new group named datadg? [y,n,q,?] (default: y)
Create the disk group as a CDS disk group? [y,n,q,?] (default: y)
Use a default disk name for the disk? [y,n,q,?] (default: y)
Add disk as a spare disk for datadg? [y,n,q,?] (default: n)
Exclude disk from hot-relocation use? [y,n,q,?] (default: n)
Add site tag to disk? [y,n,q,?] (default: n)
A new disk group will be created named datadg and the selected disks
will be added to the disk group with default disk names.
c1t0d0
Continue with operation? [y,n,q,?] (default: y)
The following disk device appears to have been initialized already.
The disk is currently available as a replacement disk.
Output format: [Device_Name]
c1t0d0
Use this device? [y,n,q,?] (default: y)
The following disk you selected for use appears to already have
been initialized for the Volume Manager.
Please use vxdisk -f init if you want to reinitialize this disk.
VxVM NOTICE V-5-2-120
Creating a new disk group named datadg containing the disk
device c1t0d0 with the name datadg01.
Add or initialize other disks? [y,n,q,?] (default: n)
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 Dynamic Reconfiguration Operations
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform: q
Goodbye.
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t1d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk datadg01 datadg online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
bash-3.2# vxdg list
NAME STATE ID
datadg enabled,cds 1424059065.23.unknon
bash-3.2#
No comments:
Post a Comment