Solved

How can I mount/read an old SCO Unix SystemV Hard Disk with Ubuntu Linux?

Posted on 2006-11-02
7
7,493 Views
Last Modified: 2013-12-16
I have to get data off of an old Medical Manager system drive that will no long boot from its original machine.

I have an Ubuntu 6.06 install up and running.  I put an Adaptec 2930 scsi controller in and I can see the drive when I do fdisk -l

fdisk -l returns:

Device       Boot  Start  End     Blocks        Id    System
/dev/sda4  *       1       1110  8916043+   63    GNU HURD or SysV

I created a directory under /mnt/medman as the mount point.

I edited fstab and put in the follow line

FILE SYSTEM   MOUNT POINT    TYPE   OPTIONS          DUMP   PASS
/dev/sda4        /mnt/medman     ????    ro,umask=000   0         0

Under TYPE I have tried sysv, ufs, and several others.

I seem to get this error after I type:  mount /dev/sda4
mount: wrong fs type, bad option, bad suberblock on /dev/sda4
           missing codepage or other error.

I am pretty sure it is the type and it looks like Ubuntu doesn't support the needed type.

I found that the listed file systems for SCO Unix OpenSystem V are

File systems  S51K, AFS, EAFS, HTFS, DTFS

and that the following applies:
 
Installation Must boot from S51K, AFS, EAFS file system types, which restricts the partition size to 2 GB maximum. HTFS and DTFS file systems support up to 1 TB in size, but cannot used to boot SCO Open Server.

Is there a work around to get Ubuntu Linux to recognize this SCO Unix disk?
0
Comment
Question by:mkcsoftware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 17886317
To  To mount SCO file system you have to use the kernel with these enabled
   - System V/Xenix/V7/Coherent file system support                                                    
   - UFS file system support

You need to find out which version of SCO you have in the disk. You can plug the disk
to an old PC and boot up to single user mode, then run "divvy" command to find out.

HTFS and DTFS only available start from SCO 5.x, the older version of SCO are likely
use AFS or EAFS.
0
 
LVL 7

Expert Comment

by:sppalser
ID: 18038869
From the above it appears that you are attempting to mount the entire fdisk partition as a filesystem which for SCO OpenServer5 would not be correct.  One has to remember that SCO in OpenServer5 further divides the fdisk partition into divisions where the filesystems would be created.  From above it appears that the drive is a boot drive so the at a minimum you would have the following slices:

boot            slice 0          fstype = EAFS
swap           slice 1          fstype = Not-Used
root             slice 2          fstype = HTFS
 -                 slice 3         if used fstype = HTFS
 -                 slice 4
 -                 slice 5
recover        slice 6          fstype = Not-used
wholedisk     slice 7          whole disk so fstype is N/A

It is possible that slice 3 could be labled "u" if the whoever set it up specified a separate /u filesystem at install time.  Of course slice 4 & 5 could have been set up as well.  You would need some sort of docs from the original setup to know how the disk was configured.  Another alternative would be if you have emergency boot & root floppies for this drive hook the hard disk up as a boot drive but boot from the emergency floppies then run the divvy command to see the slice table.  If that works you may be able to mount the filesystems and retrieve your data to tape.  You will have to check your ubuntu docs to see if it even supports the SCO Unix methods of drive slicing.  If it does then there should be a unique device node for each of the slices mentioned above.

Another option is if you have the original OpenServer5 install media you may want to take a look at SCO TA #105094 and TA #105312.  These TA's tell how to use the boot media as emergency recovery media.

Good luck!
0
 

Author Comment

by:mkcsoftware
ID: 18051550
The answer is that Ubuntu will not recognize the AFS (Acer File System) nor the EAFS (Enhanced Acer File System).  I had to boot the old drive from a different PC and could only get into single user mode.  I had to split the huge files and copy the pieces to floppies and then reassemble them on my PC to extract the data.  Got it done with elbow grease!

Thanks for all the helpful info.

Steve

PS This topic can be closed.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 19458982
what's wrong with my answer in http:#17886317 ?
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19526650
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.

615 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