Sun OS Disks

From: Tom Trainor (tjtraino@to.mobil.com)
Date: Wed Nov 20 1996 - 13:10:16 CST


Managers:

Once again, thanks for the many responses.

u2is9lsg@gregsun.crrel.usace.army.mil (LINDA S GEE )
David Willard <dwillard@scires.com>
Dan Simoes <dans@ans.net>
Tim Carlson <tim@santafe.edu>
tkevans@eplrx7.es.dupont.com (Tim Evans)
Brent Chivers <bchivers@karoshi.mitretek.org>
Alex Finkel <afinkel@pfn.com>
"Robert L. Bailey" <rlb@cruiser.engin.umb.edu>
popp@luey.redars.ca.boeing.com (Jeff Popp
Jochen Bern <bern@penthesilea.uni-trier.de>
bleck@zephyr.eng.hou.compaq.com (Bob Leck)
Stephen Harris <sweh@mpn.com>
twhite@bear.com (Thomas White)
"Chan T. Cao" <cao@workgroup.com>
steve.burk@reuters.com (Steve Burk)
mike@trdlnk.com (Michael Sullivan)
fpardo@tisny.com (Frank Pardo)
Rich Kulawiec <rsk@itw.com>
Roy Rapoport <rsr@aonix.com>
john benjamins <johnb@Soliton.COM>
Eric Parr <eparr@gsscwest.com>
raju@hoho.ecologic.net
irac@gate.comdata.com (Ira Childress)
Glenn Satchell - Uniq Professional Services <Glenn.Satchell@uniq.com.au>
runde@mlode.mms.com (Aline H. Runde - MicroModule Systems)
Michael Blandford <mikey@lanl.gov>
Rafael Napoles Rodriguez <rnapoles@reduno.com.mx>
ramon@qed.com.mx (Ramon Castillo)
u00y0123@hsc.hac.com
peter@jrc.nl (Peter Watkins)
Claus Assmann <ca@informatik.uni-kiel.de>
rene@iusti.univ-mrs.fr (Mr Rene Occelli)
"Gary W. Cook" <gcook@netcom.com>
Herbert Wengatz <hwe@uebemc.siemens.de>
Fedor Gnuchev <qwe@ht.eimb.rssi.ru>
cwarner@slpma8.ED.RAY.COM (Caleb Warner)
Jason Keltz <cs911089@red.ariel.cs.yorku.ca>
sdknuds@sandia.gov (Steven D. Knudsen)
Brad Young <bbyoung@amoco.com>
"Roberts, Mike" <cmrobert@tva.gov>
john@starinc.com (John Malick)
rf0077@s4690.williams-int.com (Roderick W. Failing III)
gmp@adc.com (Gregory M Polanski)
"Trevor Paquette" <TrevorPaquette@aec.ca>
James.E.Coby.Jr@cdc.com (James Coby)
allan@NMHG.com (Allan Warrior)

As I suspected, the b partition is for swap and it is defined by default that
way. There are other ways to define extra swap in the file system as well. I
also got a lot of good comments about tools to use to look for the swap...If
you are really interested, I can forward the replies I got. However, one of
the listers gave a url for the "Sun-managers mailing list search engine", i.e.
DATAMAN!

Also mentioned was pstat...

http://www.dataman.nl/cgi-bin/sunmanagers

and if you search for "sunos disk partitions" the 7th item sums up what I was
looking for... Basically, there are some subtle gotchas here.....

But I'm including the best couple of answers I got....
--------------------------------------------------------------------------------
Surprise! :)

I got bitten by this bug myself; I had put a new disk on a machine and
tried to move the boot partition and others onto it, putting /usr on b, and
then could not access it.

SunOS by default uses the b partition for swap. To the best of my knowledge,
there's no way around it.

-roy
Roy S. Rapoport rsr@aonix.com UNIX/Mac System Administrator
http://www.aonix.com Phone: 415-543-1314x280 Fax: 415-543-0145
         How come there are no 'Sendmail for Dummies' books?

--------------------------------------------------------------------------------
By default the SunOS kernel will use the 'b' partition from the
same disk as the root filesystem as a swap device. The swap-type
commands don't display the swap device (they do under Solaris
but that's just one of many improvements).

You can check /etc/fstab to see if there are any other devices
specified of type 'swap' - these will be additional swap
partitions.

regards,

--
Glenn Satchell                    glenn@uniq.com.au  | There's  a fine  line
--------------------------------------------------------------------------------
Try "dkinfo sd0" and it will tell you some
info about the partitions without having to go into "format".

Les Greene Hughes Space/Comm --------------------------------------------------------------------------------

--

Tom Trainor Email: tjtraino@to.mobil.com Mobil Oil Corp. Phone: 703-846-3924 3225 Gallows rd / Rm 2B-308 Fax: 703-846-1460 Fairfax Va. 22037-0001



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:16 CDT