Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
M$2 December 15, 2008 09:24 PM

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
Interesting Question?  Yes (0)   No (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
December 15, 2008 09:41 PM
Make sure you have the mounts added to /etc/vfstab - otherwise they aren't persistent between reboots.
Source(s):
experience

Asker's Rating:


Helpful Answer?  (0)   (0)    Tip loopy1 for this answer
Permalink | Report
   Reply  
 
 
 
December 16, 2008 04:17 PM
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

Report
 
 
 
December 17, 2008 02:49 PM
# 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.

Report
 
 
 
December 17, 2008 03:39 PM
Looks like someone used 'Filesystem Manager' gui to manage the filesystems. Do a cat of /etc/default/filesys and paste the output here.

Report
 
 
 
December 18, 2008 11:55 AM
# 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

Report
 
 
 
December 18, 2008 03:44 PM
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
 
 

Other Answers (4)

Sort By
 
December 15, 2008 09:40 PM
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.

Helpful Answer?  (0)   (0)    Tip spachev for this answer
Permalink | Report
   Reply  
 
 
 
December 15, 2008 09:42 PM - Fact Refuted
no fstab on SCO unix - only vfstab

Report
 
 
 
December 15, 2008 09:41 PM
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
Source(s):
http://www.skullbox.net/newsda.php


Helpful Answer?  (0)   (0)    Tip ilaksh for this answer
Permalink | Report
   Reply  
 
 
 
December 15, 2008 09:45 PM - Fact Refuted
no fstab on SCO unix - only vfstab

Report
 
 
 
December 15, 2008 09:46 PM
oh ok didn't realize sco unix used a different file vfstab

Report
 
 
 
December 15, 2008 09:49 PM
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

Helpful Answer?  (0)   (0)    Tip ssaunders42 for this answer
Permalink | Report
   Reply  
 
 
 
December 16, 2008 04:09 PM - Fact Refuted
There is no 'vfat' filesystem type in SCO unix.

Report
 
 
 
December 16, 2008 04:09 PM
Using your mount option of 'ro' would mount the filesystem read-only. Not very useful.

Report
 
 
 
December 15, 2008 09:53 PM
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
Source(s):
http://forum.soft32.com/linux/mount-command-fstab-ftopict349875.html


Helpful Answer?  (0)   (0)    Tip sanjaygoel for this answer
Permalink | Report
   Reply  
 
 
 
December 16, 2008 04:13 PM - Fact Refuted
No such thing as 'ext3' filesystem type in SCO unix.

Report
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • buddawiggi
    buddawiggi
    2nd Degree Black Belt
    26830 Points
    M$782.84 Earned
  • kty2777
    kty2777
    Purple Belt with a Brown Tip
    5313 Points
    M$198.17 Earned
  • opher
    opher
    Purple Belt
    4027 Points
    M$170.67 Earned
   See All
 

Most Popular Tags

mahalo(1576)
iphone(460)
music(458)
google(347)
food(312)
online(288)
beer(277)
money(260)
movies(253)
apple(249)
aotd(235)
health(217)
video(201)
free(200)
dog(200)
   See All
 

Categories

Welcome New Members


 
 
Mahalo Dollars are the currency of Mahalo Answers.

Each Mahalo Dollar costs $1.

Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

 
 

Please log in to use this function.