Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Installation? (http://www.linux-archive.org/ubuntu-user/499318-installation.html)

MR ZenWiz 03-09-2011 06:43 PM

Installation?
 
On Wed, Mar 9, 2011 at 11:38 AM, Knute Johnson <ubuntu@knutejohnson.com> wrote:
> I just installed 10.10 desktop and I'm not sure if I got a swap partition.
> *Should I have a swap partition? *How do I tell for sure whether I do?
>
Run 'df.'

Whether or not you "should" have a swap partition depends on how much
memory you have and how much disk accessing your system does on a
regular basis.

Technically, even if you "need" swap space, you can create a swap file
if there's no partition.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Knute Johnson 03-09-2011 06:44 PM

Installation?
 
On 03/09/2011 11:43 AM, Karl Larsen wrote:

On 03/09/2011 12:38 PM, Knute Johnson wrote:

I just installed 10.10 desktop and I'm not sure if I got a swap
partition. Should I have a swap partition? How do I tell for sure
whether I do?

Thanks,


Tell us how much RAM you have.

73 Karl





--

--

Knute Johnson
ubuntu@knutejohnson.com

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Knute Johnson 03-09-2011 06:51 PM

Installation?
 
On 03/09/2011 11:43 AM, MR ZenWiz wrote:

On Wed, Mar 9, 2011 at 11:38 AM, Knute Johnson<ubuntu@knutejohnson.com> wrote:

I just installed 10.10 desktop and I'm not sure if I got a swap partition.
Should I have a swap partition? How do I tell for sure whether I do?


Run 'df.'

Whether or not you "should" have a swap partition depends on how much
memory you have and how much disk accessing your system does on a
regular basis.

Technically, even if you "need" swap space, you can create a swap file
if there's no partition.




I usually install Xubuntu and I've always ended up with a swap partition.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 73874656 6571380 63550624 10% /
none 506436 268 506168 1% /dev
none 512040 112 511928 1% /dev/shm
none 512040 80 511960 1% /var/run
none 512040 0 512040 0% /var/lock

I don't remember for sure but I thought it showed up in the df output
before.


Thanks,

--

Knute Johnson
ubuntu@knutejohnson.com

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Lucio M Nicolosi 03-09-2011 06:52 PM

Installation?
 
On Wed, Mar 9, 2011 at 4:43 PM, MR ZenWiz <mrzenwiz@gmail.com> wrote:
> On Wed, Mar 9, 2011 at 11:38 AM, Knute Johnson <ubuntu@knutejohnson.com> wrote:
>> I just installed 10.10 desktop and I'm not sure if I got a swap partition.
>> *Should I have a swap partition? *How do I tell for sure whether I do?
>>
> Run 'df.'
>
> Whether or not you "should" have a swap partition depends on how much
> memory you have and how much disk accessing your system does on a
> regular basis.
>
> Technically, even if you "need" swap space, you can create a swap file
> if there's no partition.


" df. " is not right.

"df" in my system doesn't show swap.

Perhaps you should try "swapon -s"

It will display a swap partition if it exists.

L.


--
L M Nicolosi, Eng.
GNU-Linux Regist. User #481505 - http://counter.li.org/
Ubuntu 10.10 AMD64

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Knute Johnson 03-09-2011 06:59 PM

Installation?
 
On 03/09/2011 11:52 AM, Lucio M Nicolosi wrote:

On Wed, Mar 9, 2011 at 4:43 PM, MR ZenWiz<mrzenwiz@gmail.com>
wrote:

On Wed, Mar 9, 2011 at 11:38 AM, Knute
Johnson<ubuntu@knutejohnson.com> wrote:

I just installed 10.10 desktop and I'm not sure if I got a swap
partition. Should I have a swap partition? How do I tell for
sure whether I do?


Run 'df.'

Whether or not you "should" have a swap partition depends on how
much memory you have and how much disk accessing your system does
on a regular basis.

Technically, even if you "need" swap space, you can create a swap
file if there's no partition.



" df. " is not right.

"df" in my system doesn't show swap.

Perhaps you should try "swapon -s"

It will display a swap partition if it exists.

L.




Filename Type Size Used Priority
/dev/sdb5 partition 3068924 0 -1


It doesn't format well but seems to say there is a partition number 5
that is swap?


Thanks,

--

Knute Johnson
ubuntu@knutejohnson.com

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Tom H 03-09-2011 07:06 PM

Installation?
 
On Wed, Mar 9, 2011 at 2:59 PM, Knute Johnson <ubuntu@knutejohnson.com> wrote:
> On 03/09/2011 11:52 AM, Lucio M Nicolosi wrote:
>>
>> Perhaps you should try "swapon -s"
>
> Filename * * * * * * * * * * * * * * * *Type * * * * * *Size * *Used
> *Priority
> /dev/sdb5 * * * * * * * * * * * * * * * partition * * * 3068924 0 * * * -1
>
> It doesn't format well but seems to say there is a partition number 5 that
> is swap?

That's more or less the Ubuntu default:

"/" on sda1
swap on sda5 (with sda2 as an extended partition)

In your case, it's sdb.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

David Curtis 03-09-2011 07:09 PM

Installation?
 
On Wed, Mar 9, 2011 at 2:38 PM, Knute Johnson <ubuntu@knutejohnson.com> wrote:

I just installed 10.10 desktop and I'm not sure if I got a swap partition. *Should I have a swap partition? *How do I tell for sure whether I do?


Swap is always recommended as linux optimises RAM use with it, regardless of how much RAM you have.


https://help.ubuntu.com/community/SwapFaq

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

MR ZenWiz 03-09-2011 07:36 PM

Installation?
 
On Wed, Mar 9, 2011 at 12:09 PM, David Curtis <dave.c.curtis@gmail.com> wrote:
:
>
> Swap is always recommended as linux optimises RAM use with it, regardless of
> how much RAM you have.
>
Swap space is used for anonymous memory (i.e., that which does not
already map to a file) when the system needs more than you have. If
you never use more memory than you have physically available,
technically you do not need swap space. If you have 32GB of memory
and never use more than 4GB of it (and you don't hibernate your
machine), you do not need swap space.

> https://help.ubuntu.com/community/SwapFaq
>
Interesting article about what swap is used for, but I didn't see any
blanket "always" recommendation for swap there.

However, I agree that a swap space (partition or file) at least the
same size as memory is good, double better. It really depends on how
you use memory (and disk) and how much you have, as I said up front.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

"Pongo A. Pan" 03-09-2011 07:51 PM

Installation?
 
On Wed, 2011-03-09 at 15:06 -0500, Tom H wrote:
> On Wed, Mar 9, 2011 at 2:59 PM, Knute Johnson <ubuntu@knutejohnson.com> wrote:
> > On 03/09/2011 11:52 AM, Lucio M Nicolosi wrote:
> >>
> >> Perhaps you should try "swapon -s"
> >
> > Filename Type Size Used
> > Priority
> > /dev/sdb5 partition 3068924 0 -1
> >
> > It doesn't format well but seems to say there is a partition number 5 that
> > is swap?
>
> That's more or less the Ubuntu default:
>
> "/" on sda1
> swap on sda5 (with sda2 as an extended partition)
>
> In your case, it's sdb.
>
Perhaps the OP should also try "sudo parted --list" in a terminal. I
forget if parted is installed by default in 10.10. It seems to be in
natty.

pongo@seneca:~$ sudo parted --list
[sudo] password for pongo:
Model: ATA ST31000333AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 419MB 419MB primary ext2 boot
2 419MB 10.9GB 10.5GB primary linux-swap(v1)
3 10.9GB 1000GB 989GB extended
5 10.9GB 110GB 98.9GB logical ext4
6 110GB 895GB 785GB logical ext4
7 895GB 992GB 96.4GB logical ext4
8 992GB 1000GB 8613MB logical fat32

Pretty unambiguous. Don't look at me! LL's partition scheme.

--
pongo pan
Wed, 09 Mar 2011 12:49:27 -0800
Seneca up 52 min, 3 users, load average: 0.01, 0.03, 0.07
AMD Phenom(tm) II X6 1055T Processor
Memory: 8190448 kB, free memory: 6177408 kB
MB: GA-790XT-USB3 Gigabyte Technology Co., Ltd.
Linux 2.6.38-5-generic
Ubuntu natty (development branch), Gnome 2.32.1



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Tom H 03-09-2011 08:10 PM

Installation?
 
On Wed, Mar 9, 2011 at 3:51 PM, Pongo A. Pan <pongo_pan@charter.net> wrote:
>
> Perhaps the OP should also try "sudo parted --list" in a terminal. *I
> forget if parted is installed by default in 10.10. *It seems to be in
> natty.
>
> *pongo@seneca:~$ sudo parted --list
> *[sudo] password for pongo:
> *Model: ATA ST31000333AS (scsi)
> *Disk /dev/sda: 1000GB
> *Sector size (logical/physical): 512B/512B
> *Partition Table: msdos
>
> *Number *Start * End * * Size * *Type * * *File system * * Flags
> *1 * * *32.3kB *419MB * 419MB * primary * ext2 * * * * * *boot
> *2 * * *419MB * 10.9GB *10.5GB *primary * linux-swap(v1)
> *3 * * *10.9GB *1000GB *989GB * extended
> *5 * * *10.9GB *110GB * 98.9GB *logical * ext4
> *6 * * *110GB * 895GB * 785GB * logical * ext4
> *7 * * *895GB * 992GB * 96.4GB *logical * ext4
> *8 * * *992GB * 1000GB *8613MB *logical * fat32
>
> Pretty unambiguous. *Don't look at me! LL's partition scheme.

If parted isn't installed, "fdisk -l" will give the same information.

Neither'll tell you whether swap's active though.

(What's LL? Lucid?!)

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 06:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.