From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411935.tru64-unix-managers.marc@archive.invalid> From: "jean.schuller" Date: Mon, 16 Nov 1998 14:07:39 +0000 To: tru64-unix-managers Subject: SUMMARY : swapon problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411935 =09Hi all, =09Many thanks for the fast response from : =09- Jim Belonis who says: It sounds like you have a disk partitioning error. You should use the disklabel command to view the current partition table and see if it makes sense. The error message claims that the intended swap partition overlaps with some other partition which is already mounted. I.e. they both have some of the same blocks allocated. =09- Blake Roberts who says: Your C partition is formatted and overlaps both your A and B partitions. That's why it is in use. You will need to adjust the offset of the C partition (or any other partition) and make sure that it is not overlapping the B partition in order to set up the swap space. =09- Olle Eriksson who says: It means that b is overlapped by c which is marked as "in use". as you probably don't have a file system in the c-partition change the type to "unused" for the c-partition =09- Doug Johnson who says: I believe the complaint is because partition c is marked in use. If it really isn't being used you can set it to "unused" by using disklabel -s. Tread carefully on these waters though, you don't want to loose any data. =09- Martin Mokrejs who says: That means you have improperlyu set the diskalabel info. It means you are not actually using swapspace now, which is OK. The partition a is using whole disk space. You can't use swap on this drive. What about rz2, rz1, rz0 ??? If you find some NON-overlapping partition of type b on any of the other drives, change the swap-value in /etc/rc.config, and if want, create ln -s /dev/rzXb /sbin/swapdefault reboot =09- T. S. Horsnell who says: Use disklabel -s to change the filesystem type on partition b to swap, and change c to unused. I'm surprised you dont get complaints that partition a overlaps c as well. =09- Dr. Thomas P. Blinn who says: The "c" partition on the disk is marked as containing a UFS file system. Most likely it does not actually have a UFS file system, since "a" actually does have a UFS file system in it. Edit the disklabel (e.g., using the disklabel -e /dev/rrz3a command) and mark the "c" partition "unused". Mark the "b" partition "swap". Then swapon will not be concerned that you've labelled the disk with a non-existent "c" as UFS since it won't be that way any more. =09- Alan Rollow who says: It means that swapon is now smart enough to verify whether a partition is safe to use or not. In this case it believes it isn't because of the partitions it overlaps has an fstype field value indicating it is in use; not unused. Look at the whole disklabel to see what partitions, your page/swap overlaps to verify they actually aren't in use. Then, either edit the disklabel to change the fstype field to unused for those partitions, or answer "y" to the question. =09- Steffi Laurentius who says: I think the problem is the disklabel which shows the c-partition to be in use with a BSD file system. Edit your disklabel (carefully) and cange c to unused, and all should work. =09- rajeshar who says: I think you could use diskconfig utility for doing this. =09After having analysed my disklabel, I answered (courageously ??) Yes after the CONTINUE question and now all works fine. Thanks so much to all who spend time to help me. =09JEAN ---------------------------------------------------------------------------= -- jean.schuller@ires.in2p3.fr _/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ =20 _/ _/_/_/-/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ =20 local call: 0388106630 Institut de Recherches Subatomiques foreign call: (33)388106630 Bo=EEte Postale 28=20 local fax : 0388106234 23, Rue du Loess foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France ---------------------------------------------------------------------------= --