[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] swap lv
- From: Mark Phillips <mark ist flinders edu au>
- To: Holger Rauch <Holger Rauch heitec de>
- Cc: linux-lvm msede com
- Subject: Re: [linux-lvm] swap lv
- Date: Tue, 24 Oct 2000 22:40:17 +0930
Holger Rauch [Holger Rauch heitec de] wrote:
> Is it possible to have only one swap partition that resides on an LV? If
> so, how can this be achieved? Are swap LVs resizable?
I'm not quite sure what you mean by your first question. But yes, you
can have a single lv which acts as a swap partition. You need to
create the partition. Then use mkswap on it, and then mount it as
swap. For example, I have the line:
/dev/main_vg/swap_lv none swap sw 0 0
in my /etc/fstab file.
As for resizing a swap partition. What I would do is as follows.
First unmount your swap partition so that you are not using it
anymore. Then delete the partition. Then create it again, making it
a different size. Then run mkswap again and mount it again.
(Not that I have actually tried this myself, but I don't see why it
wouldn't work.)
Cheers,
Mark.
--
_/~~~~~~~~\___/~~~~~~\____________________________________________________
____/~~\_____/~~\__/~~\__________________________Mark_Phillips____________
____/~~\_____/~~\________________________________mark ist flinders edu au_
____/~~\HE___/~~\__/~~\APTAIN_____________________________________________
____/~~\______/~~~~~~\____________________________________________________
__________________________________________________________________________
"They told me I was gullible ... and I believed them!"
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]