Re: [CentOS] Apparently no swap configured

2008-10-30 Thread Ian Masters
Hello, Just in case anyone wants to follow my original problem in the future, I resolved my no swap problem according to Nate's advice as follows: 1. Confirmed that /dev/VolGroup00/swap was not in use by the system 2. Ran the following commands: mkswap /dev/VolGroup00/swap swapon /dev/VolGroup00/

Re: [CentOS] Apparently no swap configured

2008-10-29 Thread nate
Ian Masters wrote: > Just want to double-check before I dive in. > yep your right.. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Nate > If that volume is not in use by anything else you should > be perfectly able to do: > > mkswap /dev/VolGroup00/swap > swapon /dev/VolGroup00/swap > > then add something like this to fstab: > /dev/VolGroup00 swapswapdefaults 0 0 Shouldn't the fstab entry be

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
nate wrote: William L. Maltby wrote: All this raised a question in my mind. What's the value of have a swap managed by LVM? ISTM that: 1) swap is usually configured to be the I think the main reason would be simplicity, assuming you have other volumes created and not just a single VG with a s

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread nate
William L. Maltby wrote: > All this raised a question in my mind. What's the value of have a swap > managed by LVM? ISTM that: 1) swap is usually configured to be the I think the main reason would be simplicity, assuming you have other volumes created and not just a single VG with a single LV in

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread William L. Maltby
On Tue, 2008-10-28 at 00:21 -0700, John R Pierce wrote: > Ian Masters wrote: > > which show your swap partition, whereas on my problem system, 'swapon > > -s' produces no output at all. > > > > ok, that confirms your supposition, you have no swap configured. Although I disagree, some on this

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread William L. Maltby
On Tue, 2008-10-28 at 00:21 -0700, John R Pierce wrote: > Ian Masters wrote: > > which show your swap partition, whereas on my problem system, 'swapon > > -s' produces no output at all. > > > > ok, that confirms your supposition, you have no swap configured. All this raised a question in my m

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote: > Was it Centos 5 that you installed? IIRC, the Centos/RHEL 4 installer > would have asked you about the lack of swap assigned. I have only done > one Centos 5 installation and I did not miss telling it to use the swap > lv as swap so I cannot say whether the Centos 5 instal

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
Ian Masters wrote: > Christopher Chan wrote: >> Well...it won't do that...but it should raise a flag on no swap being >> configured after you were done partitioning and assigning/setting >> filesystems. > > As far as I can remember there was no such 'flag'. That's precisely the > kind of thing tha

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote: > Well...it won't do that...but it should raise a flag on no swap being > configured after you were done partitioning and assigning/setting > filesystems. As far as I can remember there was no such 'flag'. That's precisely the kind of thing that would have made me jittery a

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
Ian Masters wrote: > Christopher Chan wrote: >> Maybe you configured the swap lv but forgot to tell the installer to use >> it as swap. > > Well that's entirely possible. The logical volume manager had me fairly > confused. > > I would have thought the installer might have told me that I had not

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote: > Maybe you configured the swap lv but forgot to tell the installer to use > it as swap. Well that's entirely possible. The logical volume manager had me fairly confused. I would have thought the installer might have told me that I had not set its file system type ... ___

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread John R Pierce
Ian Masters wrote: which show your swap partition, whereas on my problem system, 'swapon -s' produces no output at all. ok, that confirms your supposition, you have no swap configured. ___ CentOS mailing list CentOS@centos.org http://lists.centos

Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
> which show your swap partition, whereas on my problem system, 'swapon > -s' produces no output at all. > Maybe you configured the swap lv but forgot to tell the installer to use it as swap. ___ CentOS mailing list CentOS@centos.org http://lists.cento

Re: [CentOS] Apparently no swap configured

2008-10-27 Thread Ian Masters
John R Pierce wrote: > what does > > # swapon -s > > show? According to 'man swapon', swapon -s means: Display swap usage summary by device. Equivalent to "cat /proc/swaps". Not available before Linux 2.1.25. > for example, one of my systems shows... > > # swapon -s > F

Re: [CentOS] Apparently no swap configured

2008-10-27 Thread John R Pierce
Ian Masters wrote: > Also, as I said /dev/VolGroup00/swap is not listed in /etc/fstab, but it > is listed in /dev/mapper/. Is that good enough confirmation that it is > not in use? > what does # swapon -s show? for example, one of my systems shows... # swapon -s Filename Type Size Used Prio

[CentOS] Apparently no swap configured

2008-10-27 Thread Ian Masters
Nate Thanks very much for the reply. > If that volume is not in use by anything else you should > be perfectly able to do: > > mkswap /dev/VolGroup00/swap > swapon /dev/VolGroup00/swap > > then add something like this to fstab: > /dev/VolGroup00 swapswapdefaults

Re: [CentOS] Apparently no swap configured

2008-10-27 Thread nate
Ian Masters wrote: > Hello, > > I'm in a slightly unusual situation and I'd really appreciate some advice. > > I installed CentOS 5.2 on a server about a month ago. > > Today I happened to check the 'free' command and noticed that the Swap > line reads as follows: > > Swap:0 0

[CentOS] Apparently no swap configured

2008-10-27 Thread Ian Masters
Hello, I'm in a slightly unusual situation and I'd really appreciate some advice. I installed CentOS 5.2 on a server about a month ago. Today I happened to check the 'free' command and noticed that the Swap line reads as follows: Swap:0 0 0 I'm pretty certain that