[linux-lvm] swap tagged as lvm2

Bernard Fay bernard.fay at gmail.com
Fri Sep 5 13:55:29 UTC 2008


Hi,

We have installed RHEL 4.7 on a single disk (actually two disk in hardware
RAID).  Part of it use regular partions and others LVM2 logical volumes.  To
my surprise, when running pvs or pvscan, the swap partition is shown has
LVM2:

# pvscan
  PV /dev/sda5   VG vgsys            lvm2 [53,19 GB / 32,19 GB free]
  PV /dev/sda3                       lvm2 [65,21 GB]
  Total: 2 [118,39 GB] / in use : 1 [53,19 GB] / in no VG: 1 [65,21 GB]

But if I type fdisk -l /dev/sda, sda3 is a good old swap partition:

# fdisk -l /dev/sda

Disque /dev/sda: 72.7Go, 72746008576 octets
255 têtes, 63 secteurs/piste, 8844 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Boot    Start     End      Blocks   Id    System
/dev/sda1   *         1      13      104391   83  Linux
 /dev/sda2   *        14     332     2562367+  83  Linux
 /dev/sda3   *       333    1899    12586927+  82  Linux swap
 /dev/sda4   *      1900    8844    55785712+   5  Extended
 /dev/sda5   *      1900    8844    55785681+  8e  Linux LVM

I do not think this is a big problem but I am curious of why and could it be
a problem?

Thanks for your help,
Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20080905/c8902a56/attachment.htm>


More information about the linux-lvm mailing list