Hello,
I have a Sparc system with encapsulated disks.
Because of disk errors I had to replace rootdisk,
I did it with
vxdiskadm 4)
replacement, vxdctl disable/enable,
vxdiskadm 5)
After it it the system boot failed, dropped back to the ok> prompt, message was:
The file just loaded does not appear to be executable.
I could boot up only from the rootmirr only.
vxdisk list shows
DEVICE TYPE DISK GROUP STATUS c#t#d#_NAME
c0t0d0s2 sliced rootdisk_1 rootdg online c0t0d0s2
c1t0d0s2 sliced rootmirr_1 rootdg online c1t0d0s2
c1t2d0s2 sliced COLDMIRR_1 rootdg online c1t2d0s2
The question is that vxdiskadm 4/5 handles the installation of the boot record too on the replacement root disk or there is necessary an additional step to install it ? I found UFS related installboot recommendations and vxrelated one too.
As I checked towards I found another disk in the volume instead of the replacement c0t0d0:
# vxprint -ht -g rootdg
v global_n1 - ENABLED ACTIVE 1048707 ROUND - fsgen
pl global_n1-01 global_n1 ENABLED ACTIVE 1048707 CONCAT - RW
sd COLDMIRR_1-04 global_n1-01 COLDMIRR_1 59585625 1048707 0 c1t2d0 ENA
pl global_n1-02 global_n1 ENABLED ACTIVE 1048707 CONCAT - RW
sd rootmirr_1-05 global_n1-02 rootmirr_1 70072695 1048707 0 c1t0d0 ENA
And as I found the partitioning of c0t0d0 is compleetly different from the rootmirr_1 c1t0d0s2.
I don't understand what went wrong ... Have to create the slices by hand first, only then I can use the vxdiskadm replace function ?
Thanks in advance,
Regards,
GG