I want to resize my swap partition from 1.4gb to 7gb.
Some system data below:
Welcome to SUSE Linux Enterprise Server 11 SP3 for VMware (x86_64) - Kernel \r (\l).
# uname -a
Linux Platinium2 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linux
# swapon -s
Filename Type Size Used Priority
/dev/sda1 partition 1532924 0 -1
# fdisk -l
Disk /dev/sda: 591.6 GB, 591631745024 bytes
255 heads, 63 sectors/track, 71928 cylinders, total 1155530752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00033b0e
Device Boot Start End Blocks Id System
/dev/sda1 2048 3067903 1532928 82 Linux swap / Solaris
/dev/sda2 * 3067904 471859199 234395648 83 Linux
/dev/sda3 471859200 1155530751 341835776 83 Linux
# cat /etc/fstab
/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sda3 /local/apps ext3 noatime,acl,user_xattr 1 2
# free -k
total used free shared buffers cached
Mem: 16392148 1273944 15118204 0 149864 760472
-/+ buffers/cache: 363608 16028540
Swap: 1532924 0 1532924
Thanks,
Paul