Re: how to create label fo swap space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Thu, 10 May 2007, mcclnx mcc wrote:

Date: Thu, 10 May 2007 02:50:05 +0800 (CST)
From: mcclnx mcc <mcclnx@xxxxxxxxxxxx>
Reply-To: CentOS mailing list <centos@xxxxxxxxxx>
To: centos@xxxxxxxxxx
Subject:  how to create label fo swap space

I just add a partition /dev/sdb3 and use "mkswap
/dev/sdb3" to make it swap space.  How can I label the
/dev/sdb3 like "SWAP-sdb3"?

what I want is put on /etc/fstab as entry like:

LABEL=SWAP-sdb2         swap                    swap
defaults        0 0

LABEL=SWAP-sdb3         swap                    swap
defaults        0 0

Do you plan to have two swap partitions on the same drive?

As far as I recall this may lead to a reduction in performence. I admit that I can't dig the actual reference.
Maybe more competent users can comment on that?

The Linux Partition Howto has few sections on setting up swap space: http://tldp.org/HOWTO/Partition/index.html

My 2 cents.

Sincerely,

--
  Itay Furman  <centos@xxxxxxxxxxxxxx>
--
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux