Pointing one hard drive name to another disk

Pointing one hard drive name to another disk

--------------------------------------------------------------------------------

I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system

It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad. This was done because we have tons of software pointing to the s2d9 disk.

We had a system crash and that link is now gone.

Anyone know how/where to redefine this drive mapping ?

thx,
Andy

Sounds as if there was a soft or hard link - but from what I'm not sure from the information you gave.

I've never seen a link from going from a disk to a disk the way you state it. Post some more info such as:
Solaris version
Better info on what exactly s2d9 AND s2d11 are - is it a partition, directory, disk device file?

If you are mounting a partition on a disk as s2d11, then the output of df -k should have /s2d11 in it which points to the particular slice on a disk. You should be able to just use the ln command to set up a soft link
ln -s /s2d11 /s2d9

RTM,
Thx for your reponse. The systems are running Solaris 8.0.
Both s2d9 & s2d11 are Disk Devices.

df -k info from eidsrv02:

Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/dsk/c0t0d0s0 33270310 1143991 31793616 4% /
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t8d0s0 35284677 24543656 10388175 71% /s2d12
/dev/dsk/c0t9d0s0 35284677 20239173 14692658 58% /s2d11
/dev/dsk/c0t10d0s0 35284677 12624638 22307193 37% /s2d10
/dev/dsk/c0t11d0s0 35284677 3432533 31499298 10% /s2d9
/dev/dsk/c0t12d0s0 35284677 31285056 3646775 90% /s2d8
eidsrv01:/s1d8/tools 35284677 28504429 6427402 82% /tools
/s2d9 35284677 3432533 31499298 10% /eidsrv02/s2d9

thx,
Andy