Hello together,
i try to change a disk with 36GB against one with 146GB under Solaris 8 on a SunFire V 440!
But it is not possible to work with the new disk under the volume manager!? )-:
I removed the 36GB disk with vxdiskadm No. 4 Remove a disk for replacement.
After that it looks fine and like this:
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced - - error
c1t0d0s7 simple c1t0d0s7 rootdg online
c1t1d0s2 sliced - - error
c1t1d0s7 simple c1t1d0s7 rootdg online
c1t2d0s2 sliced - - error
c1t3d0s2 sliced datadg51 datadg online
- - datadg01 datadg removed was:c1t2d0s2
Then i do an:
cfgadm -c unconfigure -c c1::dsk/c1t2d0
changed the disk from 36GB to 146GB.
do:
cfgadm -c configure -c c1::dsk/c1t2d0
I can see the new disk under format:
quit
partition> p
Current partition table (unnamed):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 14086 136.71GB (14087/0/0) 286698624
3 unassigned wu 1 - 1 9.94MB (1/0/0) 20352
4 unassigned wu 2 - 14086 136.69GB (14085/0/0) 286657920
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
But it is not possible to get this disk work under the Volume Manger.
The following messages ocuur:
bash-2.03# vxdisk list c1t2d0s2
Device: c1t2d0s2
devicetag: c1t2d0
type: sliced
flags: online error private autoconfig
errno: Disk is not usable
Multipathing information:
numpaths: 1
c1t2d0s2 state=enabled
vxdiskadm No. 10 -> Enable (online) a disk device
Enable (online) a disk device
Menu: VolumeManager/Disk/OnlineDisk
Use this operation to enable access to a disk that was disabled
with the "Disable (offline) a disk device" operation.
You can also use this operation to re-scan a disk that may have
been changed outside of the Volume Manager. For example, If a
disk is shared between two systems, the Volume Manager running on
the other system may have changed the disk. If so, you can use
this operation to re-scan the disk.
NOTE: Many vxdiskadm operations re-scan disks without user
intervention. This will eliminate most needs to online a
disk directly, except when the disk is directly offlined.
Select a disk device to enable list
DEVICE DISK GROUP STATUS
c1t0d0 - - error
c1t0d0s7 c1t0d0s7 rootdg online
c1t1d0 - - error
c1t1d0s7 c1t1d0s7 rootdg online
c1t2d0 - - error
c1t3d0 datadg51 datadg online
Select a disk device to enable c1t2d0
vxvm:vxdisk: ERROR: Device c1t2d0s2: online failed:
Disk is not usable
vxdiskadm No5:
Select an operation to perform: 5
Replace a failed or removed disk
Menu: VolumeManager/Disk/ReplaceDisk
Use this menu operation to specify a replacement disk for a disk
that you removed with the "Remove a disk for replacement" menu
operation, or that failed during use. You will be prompted for
a disk name to replace and a disk device to use as a replacement.
You can choose an uninitialized disk, in which case the disk will
be initialized, or you can choose a disk that you have already
initialized using the Add or initialize a disk menu operation.
Select a removed or failed disk list
Disk group: rootdg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
Disk group: datadg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm datadg01 - - - - REMOVED
Select a removed or failed disk datadg01
Select disk device to initialize list
DEVICE DISK GROUP STATUS
c1t0d0 - - error
c1t0d0s7 c1t0d0s7 rootdg online
c1t1d0 - - error
c1t1d0s7 c1t1d0s7 rootdg online
c1t2d0 - - error
c1t3d0 datadg51 datadg online
Select disk device to initialize c1t2d0
The requested operation is to initialize disk device c1t2d0 and
to then use that device to replace the removed or failed disk
datadg01 in disk group datadg.
Continue with operation? (default: y)
Use fastresync for plex synchronization? (default: n)
Use a default private region length for the disk?
(default: y)
Replacement of disk datadg01 in group datadg with device c1t2d0
failed.
vxvm:vxdg: ERROR: Disk device is offline
And i´ve done an:
+ vxdctl enable
+ it is possible to mount a slice form native unix
+ a reboot -r
+ vxdisksetup -i c1t2d0
> > vxdisksetup: c1t2d0s2: Device path is not valid for disk device c1t2d0
Can anyone help?
Thank´s a lot for your time!