De-activate a swap partition

Andy Green andy at warmcat.com
Sun Mar 19 19:51:19 UTC 2006


Anne Wilson wrote:

> I want to reorganise partitions on hdb - combining some, to make fewer, larger 
> partitions.  gparted says that I can't do that, because hdb11 is being used 
> as a swap partition.  I do have a swap on hda, so could easily manage wihout 
> it temporarily.  Is there any way to do that without rebooting?  I removed it 
> from fstab and did 'mount -a', but that doesn't solve the problem.  I think 
> I'm right in saying that it is not mounted, in a conventional sense, so I 
> don't know how to proceed.

$ apropos swap

...
swapoff [swapon]     (2)  - start/stop swapping to file/device
swapoff [swapon]     (8)  - enable/disable devices and files for paging
and swapping
swapon               (2)  - start/stop swapping to file/device
swapon               (8)  - enable/disable devices and files for paging
and swapping

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060319/e7177334/attachment-0001.bin>


More information about the fedora-list mailing list