ts-7000
[Top] [All Lists]

Re: [ts-7000] NFS-swap chicken and egg.....

To:
Subject: Re: [ts-7000] NFS-swap chicken and egg.....
From: Adriano Winter Bess <>
Date: Thu, 29 Sep 2005 19:00:31 -0300
On Thu, Sep 29, 2005 at 09:12:08PM -0000, Yan Seiner wrote:
> [...]
> I need more memory or swap to run apt-get.  But to run swap over nfs I
> need nbd-server from the apt repository, so that means I have to run
> apt-get...  But I need nbd-server to set up swap over nfs.... You get
> the idea....
> 
> So, how have others overcome this?  How do you run apt-get?

There is a workaround:

$ dd if=/dev/zero of=/tmp/myswap.img bs=1k count=128M
$ mkswap /tmp/swap.img
$ losetup /dev/loop0 /tmp/swap.img
$ swapon /dev/loop0

Enjoy apt-get! ;)

Regards,
Adriano
-- 
Adriano Winter Bess
awbess -at- gmail com
adrianob -at- das ufsc br



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU