Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Attention all Unix Lovers - Here's your chance to shine!
Vaity | Jolly Green

Posted on 04/18/2002 6:40:08 PM PDT by Jolly Green

I'm embarrassed to admit that I have forgotten most of what I knew about Unix, so maybe some of you guys can help.

I have a client running a manufacturing process with SCO Unix. (Don't ask why.) They had a hard disk crash on the primary disk last week. They have installed the new disk and reinstalled SCO and their application. Some critical data still exists on the secondary drive. They need to mount the drive so they can access the data. I recall that there is a Unix "mount" command, but I don't recall the syntax or even if that is all that is required. (I recall that there is a "man" system that should help me, but I don't have access to that.)


TOPICS: Miscellaneous; Technical
KEYWORDS: unix
Navigation: use the links below to view more comments.
first 1-2021-23 next last
Can a FReeper help me out?
1 posted on 04/18/2002 6:40:08 PM PDT by Jolly Green
[ Post Reply | Private Reply | View Replies]

To: Jolly Green
Sorry dude. All I know about unix is VI editor. And I may not be saying that correctly.
2 posted on 04/18/2002 6:43:48 PM PDT by gov_bean_ counter
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jolly Green
man mount



NAME
     mount, umount - mount or unmount  file  systems  and  remote
     resources

SYNOPSIS
     mount  [-p  | -v ]

     mount    [   -F FSType   ]    [   generic_options    ]     [
     -o specific_options ]  [ -O ] special  | mount_point

     mount    [   -F FSType   ]    [   generic_options    ]     [
     -o specific_options ]  [ -O ] special mount_point

     mount -a  [ -F FSType ]  [ -V  ]   [  current_options  ]   [
     -o specific_options ]  [ mount_point ... ]

     umount   [  -V  ]   [  -o specific_options  ]   special    |
     mount_point

     umount -a  [ -V ]  [ -o specific_options  ]   [  mount_point
     ... ]

DESCRIPTION
     mount  attaches a file system to the file  system  hierarchy
     at  the   mount_point, which is the pathname of a directory.
     If  mount_point has any contents prior to the  mount  opera-
     tion, these are hidden until the file system is unmounted.

     umount  unmounts a currently mounted file system, which  may
     be  specified  either  as a  mount_point or as  special, the
     device on which the file system resides.

     mount  and  umount  maintain a table of mounted file systems
     in   /etc/mnttab,  which  is  described in  mnttab(4). mount
     adds an entry to the mount table; umount  removes  an  entry
     from the table.

3 posted on 04/18/2002 6:47:31 PM PDT by AppyPappy
[ Post Reply | Private Reply | To 1 | View Replies]

Comment #4 Removed by Moderator

To: AppyPappy
What a guy!!! Thanks.
5 posted on 04/18/2002 6:55:24 PM PDT by Jolly Green
[ Post Reply | Private Reply | To 3 | View Replies]

To: AppyPappy
Is that SCO unix? mntab? It's a different flavor from linux and Solaris and SunOS. Hmmmm.
6 posted on 04/18/2002 7:04:48 PM PDT by JRandomFreeper
[ Post Reply | Private Reply | To 3 | View Replies]

To: ex con
that stuff looks like chinese written by a drunk chimp high on prozac

HAHAHAHAHA!!!! That was funny!! As a software engineer I can attest to the fact that "man pages" are all like that. Written by someone who is obviously very skilled with computers, but flunked out of 8th grade english.
7 posted on 04/18/2002 7:08:58 PM PDT by Exnihilo
[ Post Reply | Private Reply | To 4 | View Replies]

Comment #8 Removed by Moderator

To: Jolly Green
Is it SCO Unixware or OpenServer ? Plus you have to know what type of filesystem was on the other drive.

Assuming it was Uniware, do the following:

# prtvtoc /dev/rdsk/c0b0t0d1s0

The "prtvtoc" command will show your the layout of the drive, how many slices. We'll assume just two, with the scond slice being the user's file system.

Then try mounting the filesystem by using the following mount commands for the different possible filesystem types if your don't know. If the magic number in file system header does not match the filesystem type specified, it will complain and just not mount. Try the next one.

mount -F vxfs /dev/dsk/c0b0t0d1s1 /"yourdirectory"

mount -F s5 /dev/dsk/c0b0t0d1s1 /"yourdirectory"

mount -F ufs /dev/dsk/c0b0t0d1s1 /"yourdirectory"

9 posted on 04/18/2002 7:32:58 PM PDT by AmericaUnited
[ Post Reply | Private Reply | To 1 | View Replies]

To: gov_bean_ counter
assuming a reconfiguration boot has been done, then look at /dev/dsk to see what's out there. mount each entry individually [you can eliminate the entries of the root disk from this rotation] with(mount /dev/dsk/c(x)t(x)d(x)s(x) /mnt (or other mount point) then ls /mnt to find your data
10 posted on 04/18/2002 7:40:34 PM PDT by j_tull
[ Post Reply | Private Reply | To 2 | View Replies]

To: Jolly Green
btw, no backup tapes? if you could restore /etc/vfstab, you data disk should would mount at boot time
11 posted on 04/18/2002 7:46:09 PM PDT by j_tull
[ Post Reply | Private Reply | To 1 | View Replies]

To: Exnihilo
My favorite line from MAN pages is...

You can tune a filesystem, but you can't tuna fish.

12 posted on 04/18/2002 8:32:54 PM PDT by zeugma
[ Post Reply | Private Reply | To 7 | View Replies]

To: Jolly Green
If you did a reinstall you will need to recreate the device files for the second drive. What you need to do is run mkdev hd defining the device (SCSII/IDE) parameters, reboot, run mkdev hd again to run the fdisk and divvy to define the partitions and filesystems on the disk. The divvy portion of mkdev should show the existing filesystems on the drive. You will just need to enter the name(s) for the partitions which will recreate the /dev links that can be mounted. Just dont let it recreate the filesystems as new. That would wipe out your data. If they are raw partitions that should not be a problem.

Check out AP Lawrence for some additional details and all your other SCO Unix questions.

13 posted on 04/18/2002 8:54:53 PM PDT by eggman
[ Post Reply | Private Reply | To 1 | View Replies]

To: eggman; AmericaUnited; j_tull
Awesome, you guys. This should do the trick.
14 posted on 04/18/2002 9:50:36 PM PDT by Jolly Green
[ Post Reply | Private Reply | To 13 | View Replies]

To: Jolly Green
Just a quick note, #13 applies to SCO Openserver, not SCO Unixware.
15 posted on 04/19/2002 2:36:42 AM PDT by AmericaUnited
[ Post Reply | Private Reply | To 14 | View Replies]

To: AppyPappy
Why in God's name would you want to "man mount"? It sounds like an abomination...
16 posted on 04/19/2002 1:01:36 PM PDT by Bush2000
[ Post Reply | Private Reply | To 3 | View Replies]

To: Bush2000
The same reason someone would want to "chkdsk".
17 posted on 04/19/2002 1:09:30 PM PDT by AppyPappy
[ Post Reply | Private Reply | To 16 | View Replies]

To: Bush2000
I bet you've fdisked many times, in public no less.
18 posted on 04/19/2002 1:20:43 PM PDT by ArrogantBustard
[ Post Reply | Private Reply | To 16 | View Replies]

To: ArrogantBustard
I bet you've fdisked many times, in public no less.

Nah. I only fdisk in privat
19 posted on 04/19/2002 2:11:25 PM PDT by Bush2000
[ Post Reply | Private Reply | To 18 | View Replies]

To: AppyPappy
The same reason someone would want to "chkdsk".

I don't know, Appy ... "man mount" sounds a bit more gay than "chkdsk" ...
20 posted on 04/19/2002 2:12:11 PM PDT by Bush2000
[ Post Reply | Private Reply | To 17 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-23 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson