--- In LINUX_Newbies@
>
> On Wed, Sep 23, 2009 at 18:01, Andrew <andrew@...> wrote:
> > I think I need more swap space. Can I add free space to my swap partition without without destroying the
> > data partition?
>
> What makes you think you need more swap? What are teh specs on the
> system? What kind of processor, and how much RAM. And again, WHY do
> you need more swap?
>
> Keep Reading...
I think I need more swap because I appear to be running out of free memory.
vmstat 1
r b swpd free buff cache si so bi bo
1 0 457504 22116 15400 954332 0 0 0 0
0 0 457504 22116 15404 954416 0 0 88 0
root@andrew-
total used free shared buffers cached
Mem: 3992768 3964224 28544 0 15916 937676
-/+ buffers/cache: 3010632 982136
Swap: 4883720 457744 4425976
CPU = AMD Phenom II
Memory = 4 GB DDR3
After looking at the output from free, perhaps I need more RAM. But I wouldn't expect an Opera browser, and World of Warcraft, and nothing else, to eat up all the RAM like that.
Andrew
============
> > I have a 1.5 TB disk, with 650 GB for the OS as sda1, and a 2 GB swap partition as sda5.
> >
> > Device Boot Start End Blocks Id System
> > /dev/sda1 * 1 90593 727688241 83 Linux
> > /dev/sda2 90594 91201 4883760 5 Extended
> > /dev/sda5 90594 91201 4883728+ 82 Linux swap / Solaris
> >
> > /etc/fstab
> > # / was on /dev/sda1 during installation
> > UUID=58cbf81c-
> > # swap was on /dev/sda5 during installation
> > UUID=2b274bf9-
> > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,
> >
> > I would think I would boot from the live CD, use fdisk to enlarge sda5, but I don't see an option to add space in the fdisk menu. So what tool would I use for this?
>
> parted would let you, and assuming you have the 350GB or so of
> UNALLOCATED space on that disk that it looks like you do, you could,
> theoretically at least, stop swap, resize the partition, then restart
> swap...
>
> But again, why do you think you need more swap? What are you running
> on that system.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment