View Full Version : swap
20th April 2008, 06:27 PM
Is anyone else out there not seeing swap partition in system monitor. I have checked fstab and the swap entry is there. tried mount -a but swap still is not showing. No problem with system, cannot find anything in the logs. Would be glad for comments to check whether I should post a bug.
20th April 2008, 06:31 PM
Swap works fine for me on Fedora 9 preview:
[root@martind ~]# swapon -s
Filename Type Size Used Priority
/dev/sda3 partition 2048276 0 -1
20th April 2008, 06:57 PM
I'm seeing swap with 'System Monitor' on F8, both i686 & x86_64 are fine.
20th April 2008, 07:40 PM
i dont see a swap.... but thats because I dont have one :)
20th April 2008, 11:30 PM
Ok I should have put F9 x64 preview. Swap ok on FC6 and F8 just not being picked up in f9.
21st April 2008, 02:13 AM
Right seems I have an individual problem just on my machine/install of f9 preview, trying swapon -s I do not get anything even after swapon -a. At reboot I get a message unable to resume /dev/sdb7 which is the swap file. I can more than live without swap on this f9 anyway and I am now happy that it is just my install and a bug report is not needed. However if anyone has any ideas or is interested this is what I have tried
1. deleted swap partition rebooted and then made a new swap
2 edited out swap from fstab rebooted then replaced it and used mount - a and swapon -a
3 different combinations of above.
4 tried to use another swap partition that is on another drive
The only thing I have not tried is a cold start up yet as I have been restarting from one OS to the other the resume error interests me. So that may be a possiblity.
here is fdisk -l for the drive
/dev/sdb1 * 1 116697 40960633+ 7 HPFS/NTFS
/dev/sdb2 116698 175045 20480148 7 HPFS/NTFS
/dev/sdb3 350089 445273 33409935 5 Extended
/dev/sdb4 175046 350088 61440093 83 Linux F9
/dev/sdb5 350089 350380 102478+ 83 Linux FC6 boot
/dev/sdb6 350381 437901 30719857+ 83 Linux FC6
/dev/sdb7 437902 445224 2570359+ 82 Linux swap / Solaris
I am not sure what the + means in relation to the swap the other swap on other drive does not have this
/dev/sdc6 11487 11741 2048256 82 Linux swap / Solaris
I am really impressed with the speed compared to the f8 and looking at load and memory usage f9 seems to be a lot easier on my system. Only real niggle on the preview is that to get partitions automatically mounted in computer and on desktop as a regular user, In fact nothing is shown at all in /media but the icons for each are present in computer window.Once I have logged in to gnome as root going back and logging in as a user everything is there.
23rd April 2008, 12:09 PM
Right I have sorted the swap issue.
After not getting anywhere with $ swapon -a (this mounts swap partitions in fstab). I looked at :
$ info mkswap
As I really did not know what I was doing I thought I would play with the mkswap -L(give swap a label) as /etc/fstab refers to labels. I had confirmed using
$ fdisk -l
that the swap partition was already there.
Using this command in my case:
$ mkswap -L swap /dev/sdb7 (my swap partition)
brought up the following:
I tried then the swapon- a command followed by swapon -s still no swap partition recorded in /proc/swaps.
I then thought as UUID is used to mount the / partition in the F9 /etc/fstab I would edit the line:
LABEL=SWAP-sdb7 /swap swap defaults 0 0
UUID=efdf46cb-df25-4689-aa0c-ff7cda520081 /swap swap defaults 0 0
I then used:
$ swapon -a
$ swapon -s
Filename Type Size Used Priority
/dev/sdb7 partition 2570348 0 -1
Now checking system manager I have swap being recorded and everything seems fine. I think that the problem may have been that I was reusing the original swap partition set up when I installed FC6, so perhaps F9 is not picking up old swap partitions.Not certain if I should submit a bug on this as again this may be just my set up.
Reference my problem with partitions not showing up as user. I had to remove the livna nvidia xx packages as it killed my x. Going back to F9 nvidia drivers has solved this problem. Though no matter how I set up the partitions , on next boot they get spread everywhere. Desktop does not seem to be able to remember where they are put.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.