Ubuntu not using the swap partition
Ioannis Vranos
ivranos at freemail.gr
Wed Mar 26 20:32:41 UTC 2008
Derek Broughton wrote:
>>
>> Well, previously I used CentOS & Scientific Linux, and "df" showed the
>> swap partition there. It looks like this isn't the case with Ubuntu Linux.
>
> I don't think so:
>
> [derek at nautilus ~]$ cat /etc/issue
> CentOS release 4.6 (Final)
> Kernel \r on an \m
>
> [derek at nautilus ~]$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/md0 20161084 13561020 5575928 71% /
> none 2537828 0 2537828 0% /dev/shm
> /dev/md2 218130980 27003928 180046624 14% /home
>
> As somebody else pointed out, since swap isn't a filesystem, it shouldn't
> appear in df - even in CentOS.
>
> As long as you have an entry in /etc/fstab like:
> <SOMETHING> none swap sw 0 0
> you're fine. <SOMETHING> will probably be a UUID= string, as it was created
> by the installer, but could just as easily be /dev/hdc1
As I said, this was the case with my SL 5.x/CentOS 5.x x86
installations. I do not remember for sure regarding my previous SL 4.x
x86 installation.
More information about the ubuntu-users
mailing list