From: zhmte@zh014.ubs.ubs.ch (Andreas Meister)
Subject: Re: Problems with File Systems on Ultrix 4.3 with DEC 5000
Date: 1996/01/22 [thread overview]
Message-ID: <4dvf6m-cbt@svstch.ubs.ch> (raw)
In-Reply-To: 4dssui$n10@agate.berkeley.edu
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________
next prev parent reply other threads:[~1996-01-22 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
1996-01-22 5:00 ` Simon Burge
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox