* Disk repartioning.
@ 1995-07-27 4:00 THE INTERNET SURFER
1995-07-28 4:00 ` Stephen Mullin
1995-07-28 4:00 ` Allan Gottlieb
0 siblings, 2 replies; 3+ messages in thread
From: THE INTERNET SURFER @ 1995-07-27 4:00 UTC (permalink / raw)
Hi there,
I am only 2 days old with osf/1 3.2 and installing it on our new
dec alphas 250 (4/266). I have used the basic and default installation
and my disk has been partitioned by the install program itself.
My problem is that it did create partitions on all of 1 GB disk but
only 500 M are available on two partitions / and /usr. I want to get
the rest of the disk in use and I have completely filled the /usr
partition (about 400 M ) by installing gnu and X stuff.
How can I mount the rest of the partitions or increase the size of
the /usr partition with out going through all the compilation process
again.
I will really appreciate your early and detailed response.
regards
MIAN
# disklabel -r rz0
# /dev/rrz0a:
type: SCSI
disk: RZ26L
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 83
tracks/cylinder: 8
sectors/cylinder: 664
cylinders: 3117
sectors/unit: 2050860
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 197*)
b: 262144 131072 unused 0 0 # (Cyl. 197*- 592*)
c: 2050860 0 unused 0 0 # (Cyl. 0 - 3088*)
d: 552548 393216 unused 0 0 # (Cyl. 592*- 1424*)
e: 552548 945764 unused 0 0 # (Cyl. 1424*- 2256*)
f: 552548 1498312 unused 0 0 # (Cyl. 2256*- 3088*)
g: 819200 393216 4.2BSD 1024 8192 16 # (Cyl. 592*- 1825*)
h: 838444 1212416 unused 0 0 # (Cyl. 1825*- 3088*)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Disk repartioning.
1995-07-27 4:00 Disk repartioning THE INTERNET SURFER
1995-07-28 4:00 ` Stephen Mullin
@ 1995-07-28 4:00 ` Allan Gottlieb
1 sibling, 0 replies; 3+ messages in thread
From: Allan Gottlieb @ 1995-07-28 4:00 UTC (permalink / raw)
In article <3v9mrl$8rr@nunki.usc.edu> mian@nunki.usc.edu (THE INTERNET SURFER) writes:
> My problem is that it did create partitions on all of 1 GB disk but
> only 500 M are available on two partitions / and /usr. I want to get
> the rest of the disk in use and I have completely filled the /usr
> partition (about 400 M ) by installing gnu and X stuff.
> How can I mount the rest of the partitions or increase the size of
> the /usr partition with out going through all the compilation process
> again.
>
> 8 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 131072 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 197*)
> b: 262144 131072 unused 0 0 # (Cyl. 197*- 592*)
> c: 2050860 0 unused 0 0 # (Cyl. 0 - 3088*)
> d: 552548 393216 unused 0 0 # (Cyl. 592*- 1424*)
> e: 552548 945764 unused 0 0 # (Cyl. 1424*- 2256*)
> f: 552548 1498312 unused 0 0 # (Cyl. 2256*- 3088*)
> g: 819200 393216 4.2BSD 1024 8192 16 # (Cyl. 592*- 1825*)
> h: 838444 1212416 unused 0 0 # (Cyl. 1825*- 3088*)
>
I like this program (disklabel). You are currently using partitions a
(root) b (swap, even though disklabel says unused) and g (usr).
Look at the last (comment) field giving the cylinders. c is your
whole disk and a,b,g are contiguous and use about 60% of it. h is the
rest of the disk so you need to newfs it.
I WOULD WAIT A FEW DAYS TO SEE IF ANYONE NOTES ANY ERRORS IN WHAT I
HAVE BELOW BEFORE USING IT.
MAKE A FULL BACKUP OF EVERYTHING FIRST.
To "mount the h partition" should be simple. Go to single user mode
and do the following five lines ONCE.
cd /
mount /usr
newfs /dev/rrz0h
mkdir /xxx # could be any name you choose
mount /dev/rz0h /xxx
To use this space (say for gnu products) I would suggest the following
(I am assuming your current gnu material is in /usr/gnu)
mkdir /xxx/usr.gnu
cd /usr
tar cf - gnu | 'cd /xxx/usr.gnu; tar xpf -'
rm -rf gnu
ln -s /xxx/usr.gnu /usr/gnu
Now /usr/gnu is a symlink over to /xxx/usr.gnu, which contains all the
files /usr/gnu had before we started.
Personally I do this for all non dec-supplied files. That is I like
to have the distribution of the OS in filesystems disjoint from other
files. For example, I have a directory /xxx/usr.local as well. You
might have some like /xxx/usr.src.gnu if you keep the gnu source after
building, etcetera.
After testing, put /dev/rz0h into /etc/fstab (look at the file to see
the format) and reboot back to multi-user mode.
Good Luck!
--
Allan Gottlieb gottlieb@nyu.edu
New York University http://cs.nyu.edu/cs/faculty/gottlieb/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Disk repartioning.
1995-07-27 4:00 Disk repartioning THE INTERNET SURFER
@ 1995-07-28 4:00 ` Stephen Mullin
1995-07-28 4:00 ` Allan Gottlieb
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Mullin @ 1995-07-28 4:00 UTC (permalink / raw)
To: mian
MIAN,
g: 819200 393216 4.2BSD 1024 8192 16 # (Cyl. 592*- 1825*)
h: 838444 1212416 unused 0 0 # (Cyl. 1825*- 3088*)
^ ^
| |
newfs -m 0 rz0h rz26l (make this partition, see|______|
mkdir /usr1; mount /dev/rz0h /usr1
- add that entry to /etc/fstab
- move all the baggage you put /usr to /usr1
- put all your localized code in /usr1/local & put it in your path
- DON'T mix your code on a vendors partition (unless RAID {';>)
You found man pages for disklabel..why not man newfs and mount?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-07-28 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-27 4:00 Disk repartioning THE INTERNET SURFER
1995-07-28 4:00 ` Stephen Mullin
1995-07-28 4:00 ` Allan Gottlieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox