moises's Avatar
moises 4
2 Asked
4 Answered
0 Best
0
No one has voted on this question yet :(
3 years, 5 months ago

Why everytime i reboot my unix machine my mounted /c1 and /c0 partition are gone?

i have an SCO unix machine, and i made 2 partitions called /c1 and /c0 i mounted them from /dev/c0 and /dev/c1 to /c1 /c0, now if i reboot the machine /c0 will desapear and /c1 sometimes will stay there and their volumes will change too. ( i`ve go a couple of answers, and i checked the /ETC/FSTAB i dont have that file in SCO. or VFSTAB
Tip for best answer: M$2.00
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

5 Answers

0
loopy1's Avatar
loopy1 | 3 years, 5 months ago
4
Make sure you have the mounts added to /etc/vfstab - otherwise they aren't persistent between reboots.
source(s):
experience

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
moises's Avatar
moises | 3 years, 5 months ago Report

# cat /etc/default/filesys
# @(#) filesys.src 25.3 95/03/30
#
# Copyright (C) 1988-1995 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
# default/filesys - Filesystem mount table: filesys(F)
#
bdev=/dev/boot cdev=/dev/rboot \
mountdir=/stand mount=no fstyp=EAFS \
fsck=no fsckflags= rcmount=yes \
rcfsck=no mountflags=
bdev=/dev/root cdev=/dev/rroot \
mountdir=/ mount=no fstyp=HTFS \
fsck=no fsckflags= rcmount=no \
rcfsck=no mountflags=
bdev=/dev/c1 cdev=/dev/rc1 \
mountdir=/c1 mount=yes fstyp=HTFS \
fsck=dirty fsckflags=-y \
rcmount=yes rcfsck=dirty
bdev=/dev/c2 cdev=/dev/rc2 mountdir=/c2 rcmount=yes mount=yes fsckflags=-y
bdev=/dev/c3 cdev=/dev/rc3 mountdir=/c3 rcmount=yes mount=yes fsckflags=-y

loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

Looks like someone used 'Filesystem Manager' gui to manage the filesystems. Do a cat of /etc/default/filesys and paste the output here.

loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

To really help you out, we are going to need more info. Run these commands and paste the output into your question:

df -k
mount
uname -v

moises's Avatar
moises | 3 years, 5 months ago Report

# df -k
/ (/dev/root ): 14932407 blocks 4368928 i-nodes
/stand (/dev/boot ): 10559 blocks 4992 i-nodes
# mount
/ on /dev/root read/write on Wed Dec 17 10:29:01 2008
/stand on /dev/boot read only on Wed Dec 17 10:29:01 2008
# uname -v
5.0.6
So, I need to see in mount, /c0 comming from /dev/c0 and /dev/c1 but i cant see to have it right.

loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

Looks like you just need to add this to the end of /etc/default/filesys:

bdev=/dev/c0 cdev=/dev/rc0 mountdir=/c0 rcmount=yes mount=yes fsckflags=-y
bdev=/dev/c1 cdev=/dev/rc0 mountdir=/c1 rcmount=yes mount=yes fsckflags=-y

Report Abuse

Post Reply Cancel
0
sanjaygoel's Avatar
sanjaygoel | 3 years, 5 months ago
4
Check out your /etc/fstab (or /etc/vfstab) ... The mount information needs to be there if you want your volume to be automatically mounted on reboot.
It would be something like
/dev/c0 /c0 ext3 auto,users,ro 0 0
Check out http://forum.soft32.com/linux/mount-command-fstab-ftopict349875.html for more information

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

No such thing as 'ext3' filesystem type in SCO unix.

Report Abuse

Post Reply Cancel
0
ssaunders42's Avatar
ssaunders42 | 3 years, 5 months ago
4
you need to edit the vfstab - /ect/vfstab - /dev/hdXX /your/mountpoint vfat ro,user

http://www.computing.net/answers/linux/how-to-mount-win-partitions-during-boot/8139.html

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

Using your mount option of 'ro' would mount the filesystem read-only. Not very useful.

loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

There is no 'vfat' filesystem type in SCO unix.

Report Abuse

Post Reply Cancel
0
spachev's Avatar
spachev | 3 years, 5 months ago
4
I am not that familiar with the details of SCO Unix, however, I can share some ideas how to debug.

If a partition is not supposed to be auto-mounted by some magic background auto-mounting program, when you reboot whatever you mounted will not be mounted unless up put the appropriate mounting entries in /etc/fstab. Even if you do have the auto-mounter, it would probably not hurt to put the entries into /etc/fstab anyway.

Otherwise, you could write a script and invoke it from the SCO equivalent of /etc/init.d/boot.local (or whatever it calls the last script that is invoked during the boot sequence). The script will check if the partition is mounted, and mount it if it is not.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

no fstab on SCO unix - only vfstab

Report Abuse

Post Reply Cancel
0
ilaksh's Avatar
ilaksh | 3 years, 5 months ago
4
In order to automatically mount a partition, you must edit the /etc/fstab file. The fstab file tells Linux where to mount all partitions located within the system.

[root@roswell root]# vim /etc/fstab

and add a line with the information you are specifying in the mount command

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
loopy1's Avatar
loopy1 | 3 years, 5 months ago Report

no fstab on SCO unix - only vfstab

ilaksh's Avatar
ilaksh | 3 years, 5 months ago Report

oh ok didn't realize sco unix used a different file vfstab

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates