Out of Free Storage error

Hugh Rutledge hugh at descartes.intlpress.com
Thu Apr 1 10:48:13 EST 1999


The 

 mkswap /dev/hda6

gives

Setting up swapspace, size = 35057664 bytes

But 
swapon -a

still gives

swapon: /dev/hda6: Device or resource busy

and 

swapon -s

gives 

swapon: /proc/swaps: No such file or directory

There are no /proc/swap* files 

And fstool still opens with the warning
Partition /dev/hda6 seems to have been deleted.
Shall I remove it from /etc/fstab.

Thus mkswap reports itself successful but the other indications are not 
positive.

Hugh


************************************************************
International Press is the editor of
Advances in Theoretical and Mathematical Physics
Asian Journal of Mathematics
Methods and Applications of Analysis
Journal of Combinatorics-- the print version of the Electronic 
	Journal of Combinatorics

contact us at:
journals at descartes.intlpress.com
fax 617-491-6779
phone 617-491-6560


On Thu, 1 Apr 1999, Patrick McManus wrote:

> In a previous episode Hugh Rutledge said...
> :: 
> :: Reply is:
> :: 
> :: swapon:  /proc/swaps:  No such file or directory
> :: 
> :: Superuser can not make /proc/swaps as a directory.  There is an extremely
> :: large file /proc/kcore
> :: 
> 
> a] /proc/kcore is probably about the size of your RAM, eh? (hint
> things in /proc don't physically exist on disk, its a metaphor)
> 
> b] make sure you have /dev/hda6 defined in /etc/fstab
> 
> something like:
> /dev/hda6               swap                    swap    defaults 0 0
> 
> make sure you've initialized the partition (mkswap /dev/hda6)..
> 
> then run swapon -a 
> 
> .. swapon should be in your startup scripts and it will be automatic
> for you once the partition is initialized and in fstab.
> 
> -P
> 
> :: > :: /dev/hda6          296      296      312    34240+  82  Linux swap
> 

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list