Sun OS Disks

From: Tom Trainor (
Date: Wed Nov 20 1996 - 13:10:16 CST


Once again, thanks for the many responses. (LINDA S GEE )
David Willard <>
Dan Simoes <>
Tim Carlson <> (Tim Evans)
Brent Chivers <>
Alex Finkel <>
"Robert L. Bailey" <> (Jeff Popp
Jochen Bern <> (Bob Leck)
Stephen Harris <> (Thomas White)
"Chan T. Cao" <> (Steve Burk) (Michael Sullivan) (Frank Pardo)
Rich Kulawiec <>
Roy Rapoport <>
john benjamins <johnb@Soliton.COM>
Eric Parr <> (Ira Childress)
Glenn Satchell - Uniq Professional Services <> (Aline H. Runde - MicroModule Systems)
Michael Blandford <>
Rafael Napoles Rodriguez <> (Ramon Castillo) (Peter Watkins)
Claus Assmann <> (Mr Rene Occelli)
"Gary W. Cook" <>
Herbert Wengatz <>
Fedor Gnuchev <>
cwarner@slpma8.ED.RAY.COM (Caleb Warner)
Jason Keltz <> (Steven D. Knudsen)
Brad Young <>
"Roberts, Mike" <> (John Malick) (Roderick W. Failing III) (Gregory M Polanski)
"Trevor Paquette" <> (James Coby) (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.

Also mentioned was pstat...

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 S. Rapoport UNIX/Mac System Administrator 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


Glenn Satchell            | 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: 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