Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problems with File Systems on Ultrix 4.3 with DEC 5000
@ 1996-01-21  5:00 Tawei Liao
  1996-01-22  5:00 ` Andreas Meister
  1996-01-22  5:00 ` Simon Burge
  0 siblings, 2 replies; 3+ messages in thread
From: Tawei Liao @ 1996-01-21  5:00 UTC (permalink / raw)


Hi,

I'm trying to set up a DEC 5000/200 with a 1 Gig RZ57 drive.  The
Ultrix install went fine, I put the root partition on a smaller 300
meg disk.  But I'm having problems using the 1 gig drive.  When I
chpt the drive I see this:

# chpt -q /dev/rrz0c
/dev/rrz0c
Current partition table:
partition     bottom        top       size    overlap
    a              0      32767      32768    c
    b          32768     217087     184320    c
    c              0    1954049    1954050    a,b,d,e,f,g,h
    d         831488    1130495     299008    c,h
    e        1130496    1429503     299008    c,h
    f        1429504    1954049     524546    c,h
    g         217088     831487     614400    c
    h         831488    1954049    1122562    c,d,e,f

I then tried mounting /dev/rz0c as /home.  That works too, but the
c partition doesn't seem to contain everything.   So when I do a 'df'
it shows

# df
Filesystem                   Total    kbytes   kbytes   %     
node                         kbytes   used     free     used  Mounted on
/dev/rz0c                     15823      9     14232    0%   /home
...

From the partition table I assume that 'c' spawns the whole disk.  So
I should get the whole 1 gig.  But why isn't that the case here?

I'm fairly new at sysadmin, so please don't flame me.  :-)  Thanks in
advance for any advice you can give me.

tawei

-- 
===========================================================================
=               http://ucsee.eecs.berkeley.edu/~tawei/                    =
===========================================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with File Systems on Ultrix 4.3 with DEC 5000
  1996-01-21  5:00 Problems with File Systems on Ultrix 4.3 with DEC 5000 Tawei Liao
  1996-01-22  5:00 ` Andreas Meister
@ 1996-01-22  5:00 ` Simon Burge
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Burge @ 1996-01-22  5:00 UTC (permalink / raw)


tawei@ucsee.EECS.Berkeley.EDU (Tawei Liao) writes:

: Hi,

: I'm trying to set up a DEC 5000/200 with a 1 Gig RZ57 drive.  The
: Ultrix install went fine, I put the root partition on a smaller 300
: meg disk.  But I'm having problems using the 1 gig drive.  When I
: chpt the drive I see this:

: # chpt -q /dev/rrz0c
: /dev/rrz0c
: Current partition table:
: partition     bottom        top       size    overlap
:     a              0      32767      32768    c
:     b          32768     217087     184320    c
:     c              0    1954049    1954050    a,b,d,e,f,g,h
:     d         831488    1130495     299008    c,h
:     e        1130496    1429503     299008    c,h
:     f        1429504    1954049     524546    c,h
:     g         217088     831487     614400    c
:     h         831488    1954049    1122562    c,d,e,f

: I then tried mounting /dev/rz0c as /home.  That works too, but the
: c partition doesn't seem to contain everything.   So when I do a 'df'
: it shows

: # df
: Filesystem                   Total    kbytes   kbytes   %     
: node                         kbytes   used     free     used  Mounted on
: /dev/rz0c                     15823      9     14232    0%   /home
: ...

: From the partition table I assume that 'c' spawns the whole disk.  So
: I should get the whole 1 gig.  But why isn't that the case here?

: I'm fairly new at sysadmin, so please don't flame me.  :-)  Thanks in
: advance for any advice you can give me.

Sounds like you newfs'd /dev/rrz0a.  Because both rz0a and rz0c start
at block 0, you can (sort of) use them interchangably.  Try newfs'ing
/dev/rrz0c and see if you have any better luck.  The first few lines
of newfs should look something like:

Warning: 227 sector(s) in last cylinder unallocated
/dev/rrz2c:     1954048 sectors in 1835 cylinders of 15 tracks, 71 sectors
        1000.5Mb in 115 cyl groups (16 c/g, 8.72Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
 32, 17152, 34272, 51392, 68512, 85632, 102752, 119872, 136992, 154112,

Note the 3rd line that says 1000.5Mb.

Simon.
--
Simon Burge						simonb@telstra.com.au
UNIX Support, CPR Project, Telstra.			+61 3 9634 3974
-------------------------------------------------------------------------------
I've got a can opener at home.  Sometimes it works, and other times it doesn't.
Sometimes it only goes half-way around, and then does a lap of honor - Jimeoin.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with File Systems on Ultrix 4.3 with DEC 5000
  1996-01-21  5:00 Problems with File Systems on Ultrix 4.3 with DEC 5000 Tawei Liao
@ 1996-01-22  5:00 ` Andreas Meister
  1996-01-22  5:00 ` Simon Burge
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Meister @ 1996-01-22  5:00 UTC (permalink / raw)


Tawei Liao (tawei@ucsee.EECS.Berkeley.EDU) wrote:
: Hi,
: 
: I'm trying to set up a DEC 5000/200 with a 1 Gig RZ57 drive.  The
: Ultrix install went fine, I put the root partition on a smaller 300
: meg disk.  But I'm having problems using the 1 gig drive.  When I
: chpt the drive I see this:
: 
: # chpt -q /dev/rrz0c
: /dev/rrz0c
: Current partition table:
: partition     bottom        top       size    overlap
:     a              0      32767      32768    c
:     b          32768     217087     184320    c
:     c              0    1954049    1954050    a,b,d,e,f,g,h
:     d         831488    1130495     299008    c,h
:     e        1130496    1429503     299008    c,h
:     f        1429504    1954049     524546    c,h
:     g         217088     831487     614400    c
:     h         831488    1954049    1122562    c,d,e,f
: 
: I then tried mounting /dev/rz0c as /home.  That works too, but the
: c partition doesn't seem to contain everything.   So when I do a 'df'
: it shows
: 
: # df
: Filesystem                   Total    kbytes   kbytes   %     
: node                         kbytes   used     free     used  Mounted on
: /dev/rz0c                     15823      9     14232    0%   /home
: ...
: 
: From the partition table I assume that 'c' spawns the whole disk.  So
: I should get the whole 1 gig.  But why isn't that the case here?
: 
you certainly forgot to actually make the filesystem on the disk! As you
are still bale to mount a filesystem, I suppose it is an 'a' partition
which was made earlier on this disk. To be sure to have a good partition 
table on the disk proceed as follows:

newfs /dev/rrz0a rz57	#makes a new partition and a new superblock on
			#the beginning of the disk (You now have the
			#superblock to write the partitiontable in

chpt -d /dev/rrz0c
chpt -a /dev/rrz0c	#write a default partition table to disk

chpt -p# #### ##### /dev/rrz0c	#optionally adapt the partition table, you
				#probably won't do this

newfs /dev/rrz0c rz57	#make a filesystem on the whole disk

mount...
df...
Ok... ;-)

This proceeding is probably overkill, but you always need to be sure to
have the partition table written to disk. This for you need to have
a valid superblock on the partition beginning at blocknr. 0

Andreas

--
___________________________________________________________________________
Andreas Meister, Union Bank of Switzerland, Lausanne, Switzerland
e-mail: Andreas.Meister@ubs.ch, zhmte@svewbl01.bussigny.lausanne.ubs.ch
phone: +41 21 702 88 23________here's one straight from the factory________
			



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-01-22  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-21  5:00 Problems with File Systems on Ultrix 4.3 with DEC 5000 Tawei Liao
1996-01-22  5:00 ` Andreas Meister
1996-01-22  5:00 ` Simon Burge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox