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/
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
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
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
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
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
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
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
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
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
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
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 ...
___
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
> 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
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
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
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
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
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
19 matches
Mail list logo