10-15-2009
You have the desktop version of Openserver. This allows two concurrent telnet users and one at the console.
The divvy table appears to be corrupted.
"df -v" reports all three file systems as the same size!!! (or did you do a typo)
Typically /root would be 1 to 3 gb
/stand about 15 or 20 megabytes
/u1 the balance of the disk.
/swap doesn't show, but is usually 2 * system memory.
Is there only one hard disk in the system?
In single user mode only /root and /stand should show in df -v.
Dfspace provides the same data as df -v except in megabytes.
You should have found dfspace in /etc, can you check your PATH.
It should include at least /etc /bin /tcb/bin /usr/bin
Run the following:
#divvy
The table should show the starting and ending 1k_block numbers for each file system.
Are there more file systems than reported by df -v?
Then run
#mount
to display all currently mounted files systems, and then
#mountall
This should tell you if there are additional file systems and their condition.
If any will not mount, run
#fsck /dev/??? (file system name)
then try mountall again.
Run both of the following:
#/tcb/bin/integrity -e , this will list all files that do not have the correct ownership and permissions. Change them with chmod, chgrp, chown as necessary.
Repeat this step until there is no output.
#/tcb/bin/authck -a , this will tell you if any system files associated with security are corrupted.
Quite often /etc/auth/system/ttys becomes corrupted if the system crashes or runs out of disk space, as this file is modified when users log on and off.
The file should look like:
console:t_devname=console:chkent:
tty01:t_devname=tty01:t_uid=root:t_logtime#1251921523:\
:t_unsucuid=root:t_unsuctime#1250890220:t_prevuid=root:t_prevtime#125192
2283:\
:chkent:
tty02:t_devname=tty02:t_uid=root:t_logtime#1201031571:\
:t_prevuid=root:t_prevtime#1201033323:chkent:
tty03:t_devname=tty03:t_uid=root:t_logtime#1230657866:\
:t_unsucuid=root:t_unsuctime#1230657857:t_prevuid=root:t_prevtime#123065
7926:\
:chkent:
tty04:t_devname=tty04:chkent:
tty05:t_devname=tty05:chkent:
tty06:t_devname=tty06:chkent:
You can make all lines look like tty04 through tty06, delete any extraneous data at the end of the file. tty01, 02, and 03 show current and the last logged in user at that tty. The number of lines in the file will depend on how many pseudo terminals are configured, but ttyp0 through 16 should be lots.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi friends,
i am getting the following error while booting my system which has SCo UNIX .
=========================
H iinit
PANIC: srmountfun-Error 22
mounting of rootdev hd(1/42)
cannot dump 40863 pages to dempdev hd(1/41) : Space for only 0 pages.
Dump not completed.
safe to power off... (3 Replies)
Discussion started by: sveera
3 Replies
2. SCO
hi, i m a newbie and installed sco unix on my machine. Also i installed win-xp. i tried to modify the boot.ini file but it does not give me a choice in the begining.
please guide me on this. do we get a boot loader for unix like LILO or GRUB?
:confused: (3 Replies)
Discussion started by: 187final
3 Replies
3. Solaris
I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies
4. SCO
anyone know where I can download or get a boot disk for sco unix v/386? I have an old PC running sco unix v/386 3.2. I dont have an install or boot disk. I need to reset the root password. I have looked all over the internet and cannot find it anywhere. any help would be greatly appreciated.... (5 Replies)
Discussion started by: format
5 Replies
5. AIX
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies
6. Hardware
Hello, I am new to the UNIX community, however I have a beginner's level understanding of a majority of the basic commands in UNIX.
Today, my teacher gave me her old AT&T UNIX PC. I brought it home, turned it on, and got a completely green screen. I turned it off, and back on and it booted... (12 Replies)
Discussion started by: _dhoepp
12 Replies
7. UNIX for Dummies Questions & Answers
UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies
8. SCO
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (1 Reply)
Discussion started by: Joaoalpande
1 Replies
9. UNIX for Advanced & Expert Users
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (5 Replies)
Discussion started by: Joaoalpande
5 Replies
10. SCO
hi
i have image SCo Unix 5.0.6 and I want transfer on my HP ML350 G5
after Transfer show this message :
boot not found
cannot open
stage 1 boot failure: error loading hd (40)/boot
this hp server used smart array E200i and P400 and sco not recognized HDD
tanks (7 Replies)
Discussion started by: moein.mojtaba
7 Replies
disktab(4) Kernel Interfaces Manual disktab(4)
NAME
disktab - Disk description file
SYNOPSIS
#include <sys/disklabel.h>
DESCRIPTION
The disktab database describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk.
The format is patterned after the termcap terminal database. Entries in a disktab file consist of a number of : (colon) separated fields.
The first entry for each disk gives the names which are known for the disk, separated by | (vertical bar) characters. The last name given
should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry: Type Description str Type of disk (for example, removable, win-
chester) str Type of controller (for example, SMD, ESDI, floppy) num Number of sectors per track num Number of tracks per cylinder
num Total number of cylinders on the disk num Number of sectors per cylinder, nc*nt default num Number of sectors per unit, sc*nc
default num Sector size in bytes, DEV_BSIZE default bool Controller supports bad144-style bad sector forwarding num Rotation speed,
rpm, default 3600 num Sector skew per track, default 0 num Sector skew per cylinder, default 0 num Headswitch time, usec, default 0
num One-cylinder seek time, usec, default 0 num Sector interleave (n:1), default 1 num Drive-type-dependent parameters num Boot block
size, default BBSIZE num Superblock size, default SBSIZE num Block size for partition `a' (bytes) num Block size for partition `d'
(bytes) num Block size for partition `e' (bytes) num Block size for partition `f' (bytes) num Block size for partition `g' (bytes)
num Block size for partition `h' (bytes) num Fragment size for partition `a' (bytes) num Fragment size for partition `d' (bytes)
num Fragment size for partition `e' (bytes) num Fragment size for partition `f' (bytes) num Fragment size for partition `g' (bytes)
num Fragment size for partition `h' (bytes) num Offset of partition `a' in sectors num Offset of partition `b' in sectors num Offset of
partition `c' in sectors num Offset of partition `d' in sectors num Offset of partition `e' in sectors num Offset of partition `f' in
sectors num Offset of partition `g' in sectors num Offset of partition `h' in sectors num Size of partition `a' in sectors num Size of
partition `b' in sectors num Size of partition `c' in sectors num Size of partition `d' in sectors num Size of partition `e' in sectors
num Size of partition `f' in sectors num Size of partition `g' in sectors num Size of partition `h' in sectors str Partition type of
partition `a' (4.2BSD file system, swap, etc.) str Partition type of partition `b' str Partition type of partition `c' str Parti-
tion type of partition `d' str Partition type of partition `e' str Partition type of partition `f' str Partition type of partition `g'
str Partition type of partition `h'
EXAMPLES
The following is an example disktab entry:
rz25|RZ25|DEC RZ25 Winchester:
:ty=winchester:dt=SCSI:ns#62:nt#9:nc#1492:
:oa#0:pa#131072:ba#8192:fa#1024:
:ob#131072:pb#262144:bb#8192:fb#1024:
:oc#0:pc#832527:bc#8192:fc#1024:
:od#393216:pd#146437:bd#8192:fd#1024:
:oe#539656:pe#146437:be#8192:fe#1024:
:of#686096:pf#146437:bf#8192:ff#1024:
:og#393216:pg#439311:bg#8192:fg#1024:
:oh#0:ph#0:bh#8192:fh#1024:
FILES
/etc/disktab
RELATED INFORMATION
Functions: getdiskbyname(3)
Files: disklabel(4)
Commands: disklabel(8), newfs(8) delim off
disktab(4)