Extending swap space

I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.

[root@rac1 ~]# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
        32.3kB  1049kB  1016kB           Free Space
 1      1049kB  525MB   524MB   primary  ext4         boot
 2      525MB   21.5GB  20.9GB  primary               lvm
        21.5GB  21.5GB  1370kB           Free Space
 3      21.5GB  24.7GB  3216MB  primary
 4      24.7GB  32.2GB  7518MB  primary
        32.2GB  38.7GB  6445MB           Free Space

[root@rac1 ~]# pvs /dev/sda
  Failed to read physical volume "/dev/sda"
[root@rac1 ~]# pvs
  PV         VG      Fmt  Attr PSize  PFree
  /dev/sda2  vg_rac1 lvm2 a--  19.51g     0
  /dev/sda3  vg_rac1 lvm2 a--   2.99g     0
  /dev/sda4  vg_rac1 lvm2 a--   7.00g 92.00m

[root@rac1 ~]# vgs
  VG      #PV #LV #SN Attr   VSize  VFree
  vg_rac1   3   2   0 wz--n- 29.50g 92.00m
[root@rac1 ~]# pvs
  PV         VG      Fmt  Attr PSize  PFree
  /dev/sda2  vg_rac1 lvm2 a--  19.51g     0
  /dev/sda3  vg_rac1 lvm2 a--   2.99g     0
  /dev/sda4  vg_rac1 lvm2 a--   7.00g 92.00m
[root@rac1 ~]# lvs
  LV      VG      Attr      LSize  Pool Origin Data%  Move Log Cpy%Sync Convert
  lv_root vg_rac1 -wi-ao--- 27.75g
  lv_swap vg_rac1 -wi-ao---  1.66g
[root@rac1 ~]#

As you can see above that 6445MB is free above and I want to take 4 GB out of that to extend the swap space.

I tried this command but failed. Can you suggest please how to extend the space? Please let me know if you need more info.

[root@rac1 ~]# lvresize /dev/vg_rac1/lv_swap -L +4G
  Extending logical volume lv_swap to 5.66 GiB
  Insufficient free space: 1024 extents needed, but only 23 available

Thanks

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.