swap problem again!!

From: Andre Viveiros Maciel <andre_at_Net.unigranrio.br>
Date: Wed, 01 Apr 1998 09:22:11 -0300

Hi managers,

Again i am having trouble with swap areas.
At the first time i put 5 disks with 5 swap areas, but 2 disks crashes
and i change for another 2 old ones.

So in first time a did :

1 - Use the disklabel
2 - Use the newfs -T ufs....
3 - Use the swapon command
4 - mount the disks in the specific directories

Works fine.

But now when i put the old disks, i do all the procedures above and
receive a message:

"new swap area would overlap mounted filesystems, another active swap
area or reserved partiotions.
umount/relabeling required before swapping on /dev/rzxx (start 121072
end 393215) /dev/rzxx mounted on /directory (start 0 end 2050859)"

The problem is, if a create a swap area i can`t mount the directory, and
if mount the directory, i can`t create a swap area.

Here is the result of a disklabel in one of my disks:

#disklabel -r /dev/rrz5c
bytes/sector: 512
.
.
.

8 partitions:
# size offset fstype [fsize bsize cpg]
  a: 131072 0
ADVfs # (Cyl. 0 - 82*)
  b: 401408 131072 unused 1024 8192 #
(Cyl. 82*- 336*)
  c: 4110480 0 4.2BSD 1024 8192 16 #
(Cyl. 0 - 2594)
  d: 1191936 532480 unused 1024 8192 # (Cyl.
336*- 1088*)
  e: 1191936 1724416 unused 1024 8192 # (Cyl.
1088*- 1841*)
  f: 1194128 2916352 unused 1024 8192 # (Cyl.
1841*- 2594*)
  g: 1787904 532480 4.2BSD 1024 8192 16 # (Cyl.
336*- 1464*)
  h: 1790096 2320384 unused 1024 8192 # (Cyl.
1464*- 2594*)


Do i have to edit the label of this disk?
How can i do this?

Thanks Andre Maciel
Received on Wed Apr 01 1998 - 14:20:33 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT