Solved

SCO Unix error while mounting /directory

Posted on 2009-05-08
5
721 Views
Last Modified: 2013-12-05
i have a SCO unix server that is very old and i just powered it on today. we have an old database that runs on this box that the directory is /lms when i run SCOADMIN and go to file systems and try to mount the filesystem it gives this error. it has been a long time since i have touched this box. what does this error mean is there a bad drive etc... and what are my other options to try

error while mounting /lms
General failure occurred in processing the request
the mount action failed to mount /lms.
mount /dev/lms: no such device or address

0
Comment
Question by:adamshields
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:mikelfritz
ID: 24341673
Sounds like /lms is on a secondary drive that the OS is not seeing. Maybe get some hardware detail with regard to physical disk drives.

Also give the output of "hwconfig" command.

Also, try "divvy" from the command prompt and see if the primary disk shows that filesystem.

Contents of directory  /dev/rdsk  would show disks that HAVE been configured - 0s0 is the first 1s0 is second... that only shows nodes that were configured at some time but may provide a clue.

Mike



0
 
LVL 3

Author Comment

by:adamshields
ID: 24341925
i did all of the above and saved it to a log file will this help

# hwconfig
name=kernel vec=- dma=- rel=3.2v5.0.6 kid=2000-07-27
name=cpu vec=- dma=- unit=1 family=6 type=Pentium III (model 7)
name=cpuid vec=- dma=- unit=1 vend=GenuineIntel tfms=0:6:7:3
name=fpu vec=13 dma=- unit=1 type=80387-compatible
name=pci base=0xCF8 offset=0x7 vec=- dma=- am=1 sc=0 buses=4
name=PnP vec=- dma=- nodes=0
name=clock vec=- dma=- type=TSC/551249839Hz
name=serial base=0x3F8 offset=0x7 vec=4 dma=- unit=0 type=Standard nports=1 fifo=yes
name=serial base=0x2F8 offset=0x7 vec=3 dma=- unit=1 type=Standard nports=1 fifo=yes
name=console vec=- dma=- unit=vga type=0 num=12 scoansi=1 scroll=50
name=adapter base=0xD400 offset=0xFF vec=11 dma=- type=ad160 ha=0 bus=0 id=7 fts=sto
name=adapter base=0xD800 offset=0xFF vec=9 dma=- type=ad160 ha=1 bus=0 id=7 fts=sto
name=floppy base=0x3F2 offset=0x5 vec=6 dma=2 unit=0 type=135ds18
name=parallel base=0x378 offset=0x2 vec=7 dma=- unit=0
name=adapter base=0xF400 offset=0xFF vec=11 dma=- type=dpti ha=0 id=7, PCI, v1.11
name=e3H base=0xBC00 offset=0x7F vec=11 dma=- 3Com 3c90x/3c980, unit=0
name=cd-rom vec=- dma=- type=S ha=1 id=5 lun=0 bus=0 ht=ad160
name=tape vec=- dma=- type=S ha=1 id=2 lun=0 bus=0 ht=ad160
name=disk vec=- dma=- type=S ha=0 id=0 lun=0 bus=0 ht=dpti
name=Sdsk vec=- dma=- cyls=1115 hds=255 secs=63
name=cpu vec=255 dma=- unit=2 family=6 type=Pentium III (model 7)
name=cpuid vec=- dma=- unit=2 vend=GenuineIntel tfms=0:6:7:3
name=fpu vec=- dma=- unit=2 type=80387-compatible
name=cpu vec=255 dma=- unit=3 family=6 type=Pentium III (model 7)
name=cpuid vec=- dma=- unit=3 vend=GenuineIntel tfms=0:6:7:3
name=fpu vec=- dma=- unit=3 type=80387-compatible
name=cpu vec=255 dma=- unit=4 family=6 type=Pentium III (model 7)
name=cpuid vec=- dma=- unit=4 vend=GenuineIntel tfms=0:6:7:3
name=fpu vec=- dma=- unit=4 type=80387-compatible
# divvy
+-------------------+------------+--------+---+-------------+------------+
| Name              | Type       | New FS | # | First Block | Last Block |
+-------------------+------------+--------+---+-------------+------------+
| boot              | EAFS       |  no    | 0 |            0|       15359|
| swap              | NON FS     |  no    | 1 |        15360|      539647|
| root              | HTFS       |  no    | 2 |       539648|     8940161|
|                   | NOT USED   |  no    | 3 |            -|           -|
|                   | NOT USED   |  no    | 4 |            -|           -|
|                   | NOT USED   |  no    | 5 |            -|           -|
| recover           | NON FS     |  no    | 6 |      8940162|     8940171|
| hd0a              | WHOLE DISK |  no    | 7 |            0|     8948172|
+-------------------+------------+--------+---+-------------+------------+
8940172 1K blocks for divisions, 8001 1K blocks reserved for the system

 n[ame]       Name or rename a division.
 c[reate]     Create a new file system on this division.
 d[elete]     Delete a file system on this division.
 t[ype]       Select or change filesystem type on new filesystems.
 p[revent]    Prevent a new file system from being created on this division.
 s[tart]      Start a division on a different block.
 e[nd]        End a division on a different block.
 r[estore]    Restore the original division table.

Enter your choice or q to quit: q


 i[nstall]      Install the division set-up shown
 r[eturn]       Return to the previous menu
 e[xit]         Exit without installing a division table

Please enter your choice: e
# cd dev/rdsk
# ls -la
total 28
drwxr-xr-x   2 root     backup      1536 Feb 23  2003 .
drwxr-xr-x  12 bin      bin        11264 May  8 09:55 ..
crw-------   1 root     root       1,  0 Jul 28  2000 0s0
crw-------   1 sysinfo  sysinfo    1, 15 Feb 23  2003 0s1
crw-------   1 sysinfo  sysinfo    1, 23 Feb 23  2003 0s2
crw-------   1 sysinfo  sysinfo    1, 31 Feb 23  2003 0s3
crw-------   1 sysinfo  sysinfo    1, 39 Feb 23  2003 0s4
crw-r-----   1 dos      sysinfo    1, 48 Feb 23  2003 0sC
crw-r-----   1 dos      sysinfo    1, 49 Feb 23  2003 0sD
crw-r-----   1 dos      sysinfo    1, 50 Feb 23  2003 0sE
crw-r-----   1 dos      sysinfo    1, 51 Feb 23  2003 0sF
crw-r-----   1 dos      sysinfo    1, 52 Feb 23  2003 0sG
crw-r-----   1 dos      sysinfo    1, 53 Feb 23  2003 0sH
crw-r-----   1 dos      sysinfo    1, 54 Feb 23  2003 0sI
crw-r-----   1 dos      sysinfo    1, 55 Feb 23  2003 0sJ
crw-------   1 root     root       1, 47 Jul 28  2000 0sa
crw-r-----   1 dos      sysinfo    1, 48 Feb 23  2003 0sd
crw-------   1 sysinfo  sysinfo    1, 64 Feb 23  2003 1s0
crw-------   1 sysinfo  sysinfo    1, 79 Feb 23  2003 1s1
crw-------   1 sysinfo  sysinfo    1, 87 Feb 23  2003 1s2
crw-------   1 sysinfo  sysinfo    1, 95 Feb 23  2003 1s3
crw-------   1 sysinfo  sysinfo    1,103 Feb 23  2003 1s4
crw-r-----   1 dos      sysinfo    1,112 Feb 23  2003 1sC
crw-r-----   1 dos      sysinfo    1,113 Feb 23  2003 1sD
crw-r-----   1 dos      sysinfo    1,114 Feb 23  2003 1sE
crw-r-----   1 dos      sysinfo    1,115 Feb 23  2003 1sF
crw-r-----   1 dos      sysinfo    1,116 Feb 23  2003 1sG
crw-r-----   1 dos      sysinfo    1,117 Feb 23  2003 1sH
crw-r-----   1 dos      sysinfo    1,118 Feb 23  2003 1sI
crw-r-----   1 dos      sysinfo    1,119 Feb 23  2003 1sJ
crw-------   1 sysinfo  sysinfo    1,111 Feb 23  2003 1sa
crw-r-----   1 dos      sysinfo    1,112 Feb 23  2003 1sd
crw-rw-rw-   3 bin      bin        2,180 Feb 23  2003 f0
crw-rw-rw-   1 bin      bin        2,164 Feb 23  2003 f03d
crw-rw-rw-   3 bin      bin        2, 36 Feb 23  2003 f03dt
crw-rw-rw-   1 bin      bin        2,172 Feb 23  2003 f03e
crw-rw-rw-   2 bin      bin        2, 44 Feb 23  2003 f03et
crw-rw-rw-   2 bin      bin        2,188 Feb 23  2003 f03h
crw-rw-rw-   2 bin      bin        2, 60 Feb 23  2003 f03ht
crw-rw-rw-   1 bin      bin        2,176 Feb 23  2003 f03m
crw-rw-rw-   2 bin      bin        2, 48 Feb 23  2003 f03mt
crw-rw-rw-   2 bin      bin        2,140 Feb 23  2003 f05d8
crw-rw-rw-   3 bin      bin        2, 12 Feb 23  2003 f05d8t
crw-rw-rw-   2 bin      bin        2,132 Feb 23  2003 f05d9
crw-rw-rw-   3 bin      bin        2,  4 Feb 23  2003 f05d9t
crw-rw-rw-   3 bin      bin        2,180 Feb 23  2003 f05h
crw-rw-rw-   4 bin      bin        2, 52 Feb 23  2003 f05ht
crw-rw-rw-   1 bin      bin        2,136 Feb 23  2003 f0d8
crw-rw-rw-   2 bin      bin        2,140 Feb 23  2003 f0d8d
crw-rw-rw-   3 bin      bin        2, 12 Feb 23  2003 f0d8dt
crw-rw-rw-   3 bin      bin        2,  8 Feb 23  2003 f0d8t
crw-rw-rw-   1 bin      bin        2,128 Feb 23  2003 f0d9
crw-rw-rw-   2 bin      bin        2,132 Feb 23  2003 f0d9d
crw-rw-rw-   3 bin      bin        2,  4 Feb 23  2003 f0d9dt
crw-rw-rw-   3 bin      bin        2,  8 Feb 23  2003 f0d9t
crw-rw-rw-   3 bin      bin        2,180 Feb 23  2003 f0q15d
crw-rw-rw-   4 bin      bin        2, 52 Feb 23  2003 f0q15dt
crw-rw-rw-   2 bin      bin        2,188 Feb 23  2003 f0q18d
crw-rw-rw-   2 bin      bin        2, 64 Feb 23  2003 f0q18dt
crw-rw-rw-   3 bin      bin        2, 36 Feb 23  2003 f0q9dt
crw-rw-rw-   4 bin      bin        2, 52 Feb 23  2003 f0t
crw-rw-rw-   3 bin      bin        2,181 Feb 23  2003 f1
crw-rw-rw-   1 bin      bin        2,165 Feb 23  2003 f13d
crw-rw-rw-   3 bin      bin        2, 37 Feb 23  2003 f13dt
crw-rw-rw-   1 bin      bin        2,173 Feb 23  2003 f13e
crw-rw-rw-   2 bin      bin        2, 45 Feb 23  2003 f13et
crw-rw-rw-   2 bin      bin        2,189 Feb 23  2003 f13h
crw-rw-rw-   2 bin      bin        2, 61 Feb 23  2003 f13ht
crw-rw-rw-   1 bin      bin        2,177 Feb 23  2003 f13m
crw-rw-rw-   2 bin      bin        2, 49 Feb 23  2003 f13mt
crw-rw-rw-   2 bin      bin        2,141 Feb 23  2003 f15d8
crw-rw-rw-   3 bin      bin        2, 13 Feb 23  2003 f15d8t
crw-rw-rw-   2 bin      bin        2,133 Feb 23  2003 f15d9
crw-rw-rw-   3 bin      bin        2,  5 Feb 23  2003 f15d9t
crw-rw-rw-   3 bin      bin        2,181 Feb 23  2003 f15h
crw-rw-rw-   4 bin      bin        2, 53 Feb 23  2003 f15ht
crw-rw-rw-   1 bin      bin        2,137 Feb 23  2003 f1d8
crw-rw-rw-   2 bin      bin        2,141 Feb 23  2003 f1d8d
crw-rw-rw-   3 bin      bin        2, 13 Feb 23  2003 f1d8dt
crw-rw-rw-   3 bin      bin        2,  9 Feb 23  2003 f1d8t
crw-rw-rw-   1 bin      bin        2,129 Feb 23  2003 f1d9
crw-rw-rw-   2 bin      bin        2,133 Feb 23  2003 f1d9d
crw-rw-rw-   3 bin      bin        2,  5 Feb 23  2003 f1d9dt
crw-rw-rw-   3 bin      bin        2,  9 Feb 23  2003 f1d9t
crw-rw-rw-   3 bin      bin        2,181 Feb 23  2003 f1q15d
crw-rw-rw-   4 bin      bin        2, 53 Feb 23  2003 f1q15dt
crw-rw-rw-   2 bin      bin        2,189 Feb 23  2003 f1q18d
crw-rw-rw-   2 bin      bin        2, 65 Feb 23  2003 f1q18dt
crw-rw-rw-   3 bin      bin        2, 37 Feb 23  2003 f1q9dt
crw-rw-rw-   4 bin      bin        2, 53 Feb 23  2003 f1t
crw-rw-rw-   1 bin      bin        2,192 Feb 23  2003 finstall
crw-rw-rw-   1 bin      bin        2,193 Feb 23  2003 finstall1
0
 
LVL 14

Accepted Solution

by:
mikelfritz earned 500 total points
ID: 24344405
Look at this file
/etc/conf/cf.d/mscsi
That will show what was linked into the kernel at last relink.

It looks like the 1s0 disk is missing - check to see how many drives are actually istalled in the machine and see if the SCSI bios shows them all and they match what is in mscsi.

Example of mscsi: (shows one raid disk at ID 0 on the aacraid controller, an IDE CD drive and a tape drive on an adaptec controller)
aacraid Sdsk    0       0       0       0
wd      Srom    1       0       0       0
ad160   Stp     1       2       0       0
0
 
LVL 3

Author Comment

by:adamshields
ID: 24344543
ok i will check it out on monday i am off for the rest of the weekend and will not be around the box until monday. i will keep youu updated as soon as possible
0
 
LVL 3

Author Closing Comment

by:adamshields
ID: 31625537
hey sorry i didnt get back to you on this but the company decided they didnt need the information anymore they found it somewhere else
anyways thanks for your help!!!!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now