Sponsored Content
Operating Systems Linux How to give UUID to a swap partition? Post 302155348 by lechuga on Thursday 3rd of January 2008 04:24:31 PM
Old 01-03-2008
The swap partiotion has no uuid. Check this:

[root@sirim ~]# cat /etc/fstab | grep -i swap
LABEL=SWAP-sda3 swap swap defaults 0 0

[root@sirim ~]# findfs LABEL=SWAP-sda3
/dev/sda3

[root@sirim ~]# hal-device | grep sda3 -A 9
9: udi = '/org/freedesktop/Hal/devices/volume_label_SWAP_sda3'
volume.ignore = true (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_label_SWAP_sda3' (string)
volume.partition.flags = { } (string list)
volume.partition.uuid = '' (string)
volume.partition.label = '' (string)
volume.partition.type = '0x82' (string)
volume.partition.scheme = 'mbr' (string)
info.product = 'SWAP-sda3' (string)
volume.partition.media_size = 60011642880 (0xdf8f90000) (uint64)
volume.partition.start = 58934131200 (0xdb8bf7a00) (uint64)
volume.size = 1077511680 (0x40398600) (uint64)
volume.num_blocks = 2104515 (0x201cc3) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 3 (0x3) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Swap Partition Space

first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-) 1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory? i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies

2. UNIX for Dummies Questions & Answers

Linux Swap Partition

How big do I set the swap partition when i'm setting up my hard drive to install RedHat. (Using Partition Magic) thanks! primal (2 Replies)
Discussion started by: primal
2 Replies

3. UNIX for Dummies Questions & Answers

Linux/Windows Fat32 Swap partition.

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)
Discussion started by: djtrippin
2 Replies

4. Linux

swap partition?

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)
Discussion started by: byblyk
7 Replies

5. Solaris

swap partition showing mounted in df -h

Dear All Anyone can help me what is the problem of swap partition? swap partition is showing mounted in df -h command output. Regards prakash (1 Reply)
Discussion started by: pshelke
1 Replies

6. Filesystems, Disks and Memory

Partition 1 swap not mounting ?

Hi, running mount, I get the following, no part1 swap as part1 swap has been created and is listed below. System works fine anyway. As I cannot unmount part1, what is a standard procedure to make part1 on. Jack ============= .. $ free total used free shared buffers cached Mem:... (2 Replies)
Discussion started by: jack2
2 Replies

7. UNIX for Advanced & Expert Users

Generate UUID for a host

Hello Experts, Is there a way to generate Universally Unique identifiers on all Unix flavours such as Solaris, RHELinux,Suse Linux, MacOS,HP UX etc? If i can get a system command or a system call or an algorithm/script/program to generate a unique identifier, it will be helpful. Thanks in... (1 Reply)
Discussion started by: GajendraSharma
1 Replies

8. UNIX for Dummies Questions & Answers

Size of swap partition during installation

Greetings. I've been into computers since the '80s, but this is my first attempt at Linux. I'm installing Debian Lenny on a PIII 733 with 10GB hard drive and 512MB Ram. I intend to use the machine primarily as a development server, with things like mySQL, Apache, php, etc. I don't really want... (22 Replies)
Discussion started by: fguy
22 Replies

9. HP-UX

Could I mount a swap/dump partition on /tmp?

Hey Guys. Let show our disk-mapping structure on HP-UX B11.11 with df : # df /home (/dev/vg00/lvol5 ): 18979652 blocks 1224395 i /opt (/dev/vg00/lvol4 ): 120276192 blocks 1894100 i /var (/dev/vg00/lvol6 ): 19380328 blocks ... (3 Replies)
Discussion started by: aggadtech08
3 Replies

10. BSD

Find Partition/Slice UUID

I thought I had figured this out at one point, but I can't remember. Is there a way/command to get the UUIDs of a disk's partitions/slices in FreeBSD? Linux has the blkid command, which doesn't seem to be available. (2 Replies)
Discussion started by: AntumDeluge
2 Replies
VOLDUMP(8)						       AFS Command Reference							VOLDUMP(8)

NAME
voldump - Dump an AFS volume without using the Volume Server SYNOPSIS
voldump -part <partition> -volumeid <volume id> [-file <dump file>] [-verbose] [-help] voldump -p <partition> -vo <volume id> [-f <dump file>] [-ve] [-h] DESCRIPTION
voldump dumps an AFS volume in the format used by vos dump without using the Volume Server. It must be run on the file server machine and usually must be run as the superuser "root" to have permissions to read the file server data. It's primary use is to recover data from a file server machine where the Volume Server cannot be started for some reason. The dump output will go to standard output, or to a file if -file is specified. vos restore can be used to load the resulting dump into a new AFS volume. voldump always does a full dump. CAUTIONS
Normally, use vos dump instead of this command. voldump is a tool of last resort to try to extract data from the raw data structures stored on the file server machine and is not as regularly tested or used as the normal vos dump implementation. If the AFS volume being dumped changes while voldump is running, the results may be inconsistent. If the File Server and Volume Server are running, stop them with bos shutdown or a similar method before running this command. OPTIONS
-part <partition> Names the partition on which the volume to be dumped is located. voldump does not take the normal full range of ways of specifying a partition. Instead, partition must be either a single letter between "a" and "z", corresponding to /vicepa through /vicepz, or the full path to the file server partition. "aa" is not recognized; use /vicepaa instead. -volumeid <volume id> Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name. -file <dump file> Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output. -verbose Asks for a verbose trace of the dump process. This trace information will be sent to standard error. EXAMPLES
The following command dumps the volume 1936964939 on the /vicepb partition to the file /tmp/volume.dump: % voldump -part /vicepb -volumeid 1936964939 -file /tmp/volume.dump PRIVILEGE REQUIRED
The issuer must have read access to the file server data stored in the specified partition. Usually, this means that the issuer must be the local superuser "root" on the file server machine. SEE ALSO
bos_shutdown(8), restorevol(1), volserver(8), vos_dump(1), vos_restore(1) COPYRIGHT
Copyright 2005 Russ Allbery <rra@stanford.edu> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS. OpenAFS 2012-03-26 VOLDUMP(8)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy