Hi,, i have a solaris 10 machine , that let the root password expire..
I am trying to recover from failsafe mode.
In the old days it was rater simple , boot to cdrom , mount the root disk,
/a cd /a and wipe out root pw string..
Now i have to try and do it remotely , from failsafe and this has svm.
the first problem is , is that i can not find a disk to mount /dev/dsk/,..... /a
df -h
shows me /ramdisk-root:a mounted on /
echo | format
does not show c0t0d0s0
it has a boot and an altboot,, but neither can be mounted to /a
how can i find the correct disk to mount to /a so that i can remove the encrypted password from the shadow file?
have not done this in a while,,, but it used to be a pretty simple tasks...
As you are using SVM, there are a couple of things to be aware of particularly whether the root disk is a single disk or a mirror. Depending on the machine type, the internal disks could be under the control of an internal HW RAID Controller.
Also handy to know if the boot disks are internal or is it booting from SAN.
To identfy some of this stuff I'd start with running a devalias at the ok prompt.