SWAPLABEL(8) Linux Programmer's Manual SWAPLABEL(8)NAME
swaplabel - Print or change the label / UUID of a swap area
SYNOPSIS
swaplabel [-L label] [-U UUID] device
DESCRIPTION
swaplabel will display or change the label / UUID of a swap partition located on device (or regular file).
If the optional arguments -L and -U are not present, swaplabel will simply display the swap area label and UUID of device.
If an optional argument is present, then swaplabel will change the appropriate value of device. These values can also be set during swap
creation using mkswap(8). The swaplabel utility allows to change the label or UUID on actively used swap device.
OPTIONS -h, --help
Print help and exit.
-L, --label label
Specify a new label for device. Swap partition labels can be at most 16 characters long. If label is longer than 16 characters,
swapinfo will truncate it and print a warning message.
-U, --uuid uuid
Specify a new UUID for device. UUID must be in the standard 8-4-4-4-12 character format, such as is output by uuidgen(1).
AUTHOR
swaplabel was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>.
AVAILABILITY
swaplabel is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO mkswap(8), swapon(8), uuidgen(1)Linux 2 April 2010 SWAPLABEL(8)
Check Out this Related Man Page
FINDFS(8) System Administration FINDFS(8)NAME
findfs - find a filesystem by label or UUID
SYNOPSIS
findfs NAME=value
DESCRIPTION
findfs will search the block devices in the system looking for a filesystem or partition with specified tag. The currently supported tags
are:
LABEL=<label>
Specifies filesystem label.
UUID=<uuid>
Specifies filesystem UUID.
PARTUUID=<uuid>
Specifies partition UUID. This partition identifier is supported for example for GUID Partition Table (GPT) partition tables.
PARTLABEL=<label>
Specifies partition label (name). The partition labels are supported for example for GUID Partition Table (GPT) or MAC partition
tables.
If the filesystem or partition is found, the device name will be printed on stdout.
The complete overview about filesystems and partitions you can get for example by
lsblk --fs
partx --show <disk>
blkid
EXIT STATUS
0 success
1 label or uuid cannot be found
2 usage error, wrong number of arguments or unknown option
AUTHOR
findfs was originally written by Theodore Ts'o <tytso@mit.edu> and re-written for the util-linux package by Karel Zak <kzak@redhat.com>.
ENVIRONMENT
LIBBLKID_DEBUG=all
enables libblkid debug output.
SEE ALSO blkid(8), lsblk(8), partx(8)AVAILABILITY
The findfs command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux March 2014 FINDFS(8)
I run a dual boot WinXP/Red Hat 8 system on my laptop. Since my hard drive is inherently small(laptop) I am trying to creat a swap partition for keeping mutually used files such as music/video etc... I have created a 2.5GB Fat32 partition with Partition Magic Pro and have windows recognizing the... (2 Replies)
What does a swap partition do exactly? I was messing arround with a linux machine at my school and i deleted the swap partition using fdisk and then rebooted the machine and it worked fine and wrote a swap partition back in...lol. Is it a nessary part of the OS to use that partition? (7 Replies)
Hi All,
Here is output of swapinfo -t from a server which has been giving
TNS-00519: Operating system resource quota exceeded
HPUX Error: 12: Not enough space
The server has been stable for 7 days now since some more swap space was added.
2 questions
1. Will the above error occur... (2 Replies)
Hi,
I having problem with my linux machine
it have 6Gb physical memory and somehow it always almost coming to the bottom neck and than it start writing to the swap memory
you can see that there is more than 4G in cahce, is there any way to clean the cache or to limit it to 2Gb?
host1... (6 Replies)
Hello Guys,
Sometimes it is necessary to add more swap space after installation. For example, you may upgrade the amount of RAM in your system from 64 MB to 128 MB, but there is only 128 MB of swap space. It might be advantageous to increase the amount of swap space to 256 MB if you perform... (11 Replies)
If you want to submit your favorite UNIX.COM forum to RSS news feeds registries or directories, here is how:
The top level RSS link to the UNIX forums is:
https://www.unix.com/external.php
This is the default for the RSS type, which is:
https://www.unix.com/external.php?type=RSS
... (11 Replies)
Hello and thanks in advance.
I have a Sun box with raid 1 on the O/S disks using solaris svm.
I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space.
I have been warned not to do this by some... (3 Replies)
Dear Folks
Is there anyway to give a UUID to a swap partition? mkswap on CentOS 5 (util-linux-2.13-0.45.el5_1.1) appears to override this option ;-(
# swapoff -a
# mkswap -L swap1 /dev/sda3
Setting up swapspace version 1, size = 4293591 kB
LABEL=swap1, no uuid
And there's no... (3 Replies)
Hi,
I am facing a weird problem in one ofmy linux boxes.
top & ps -ef commands hang on the server.
swap is not at all being used on the server.
Below are the details of swap:
# swapon -s
Filename Type Size Used Priority... (2 Replies)
Hi
Anyone out there know how to change the linux ftp server message.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 197 bytes in 0 transfers.
221-Thank you for using the FTP service on kgsainss103.
221 Goodbye.
the end message Goodbye. to... (2 Replies)
hi every body
i am trying to remove logical volume i configured as a swap device but when i removed by smh i ran " swapinfo" it keeps the device and didn't feel that device removed also i "lvremove /dev/vg01/swapvol" also swapinfo not feel
i want it feel that i reduced the swap without reboot... (4 Replies)
here is the output of swapinfo command
==> swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192000 0 8184000 0% 0 - 1 /dev/vg00/swap
reserve - 8184000 -8184000
memory ... (5 Replies)
Hi,
On my linux system i find the below two files which occupy good space.
# du -sh /root/myswapfile /swap2
1.1G /root/myswapfile
1001M /swap2
# ls -ltr /root/myswapfile /swap2
-rw-------. 1 root root 1073741824 Jan 27 2017 /root/myswapfile
-rw-------. 1 root root 1048576000 Jan... (11 Replies)