Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-general] Re: Spindown

Expand Messages
  • Mike (mwester)
    /dev/sdb3 is the USB port labeled Disk 1 with Linksys R63 and Unslung 6.8 firmware. Are you sure that it s swapping on the flash device and not on the
    Message 1 of 15 , Nov 19, 2006
    View Source
    • 0 Attachment
      /dev/sdb3 is the USB port labeled "Disk 1" with Linksys R63 and Unslung 6.8
      firmware. Are you sure that it's swapping on the flash device and not on
      the external disk?
      Mike (mwester)

      ----- Original Message -----
      From: "Ovidiu Sas" <sip.nslu@...>
      To: <nslu2-general@yahoogroups.com>
      Sent: Sunday, November 19, 2006 7:03 PM
      Subject: Re: [nslu2-general] Re: Spindown


      Here's the output on my slug:
      # cat /proc/swaps
      Filename Type Size Used Priority
      # free
      total used free shared buffers
      Mem: 30524 28360 2164 0 3044
      Swap: 0 0 0
      Total: 30524 28360 2164
      #

      Check if you have some other script that is invoking the /sbin/swapon
      command.


      Regards,
      Ovidiu Sas

      On 11/19/06, Jørgen Lindskov Knudsen <jlk@...> wrote:
      >
      >
      >
      >
      >
      >
      > Thanks, it's in the rc.1 file - however I still get the sdb3 partition
      > listed in /proc/swaps - isn't that an indication that the nslu swaps on
      the
      > flash drive anyway?
      >
      > Regards,
      > Jørgen
      >
      > > -----Original Message-----
      > > From: nslu2-general@yahoogroups.com
      >
      > > [mailto:nslu2-general@yahoogroups.com] On Behalf Of Ovidiu Sas
      > > Sent: søndag, 19. november 2006 20:20
      > > To: nslu2-general@yahoogroups.com
      > > Subject: Re: [nslu2-general] Re: Spindown
      > >
      > > Hi Jørgen,
      > >
      > > If you have the /.ext3flash, the swap should be automatically
      > > disabled.
      > > Check /etc/rc.d/rc.1. You should have the following test on it:
      > >
      > > if ( [ -f /.ext3flash ] ) ; then
      > > ....
      > > /bin/echo "Removing swap from ext3flash:"
      > > /sbin/swapoff /dev/${dsk}3
      > > fi
      > >
      > >
      > > Hope this helps,
      > > Ovidiu Sas
      > >
      > > On 11/19/06, Jørgen Lindskov Knudsen <jlk@...> wrote:
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > > I have enabled the ext3flash mechanism as apecified below
      > > (I'm having
      > > > a 2 Gb flash as boot disk in the Disk 2 USB slot. Horever, the
      > > > mechanism does not seem to work.
      > > >
      > > > When I run
      > > > cat /proc/swaps
      > > > I get:
      > > >
      > > > Filename type Size Used Priority
      > > > /dev/sdb3 partition 120480 0 -1
      > > >
      > > > which to me indicate that swapping is still enabled. If I
      > > explicitly
      > > > execute /sbin/swapoff, the sdb3 entry disappears.
      > > >
      > > > To help identifying the problem, output from
      > > > ls -l /.ext3flash
      > > > is:
      > > > -rw-r--r-- 1 root root o Nov 11 22:16 /.ext3flash
      > > >
      > > > Can anyboby help? Does the ext3flash not work, and if so,
      > > how do I
      > > > write in a boot diversion script to do the missing commands.
      > > >
      > > > Regards,
      > > > Jorgen
      > > >
      > > > > -----Original Message-----
      > > > > From: nslu2-general@yahoogroups.com >
      > > > [mailto:nslu2-general@yahoogroups.com] On Behalf Of Mike
      > > Westerhof >
      > > > Sent: fredag, 14. april 2006 18:56 > To:
      > > > nslu2-general@yahoogroups.com > Subject: Re: [nslu2-general] Re:
      > > > Spindown > > > > So should I ignore this rc.bootbin script and
      > > > simply create the > > ext3flash file as instructed at > >
      > > > http://www.nslu2-linux.org/wiki/Unslung/Ext3flash
      > > > >
      > > > > Yes, the ext3flash mechanism is the best way to handle true >
      > > > flash devices; you do not want to swap on a flash device.
      > > > >
      > > > >
      > > > > Also I am planning on sticking with 5.5 beta for now.
      > > Does > this
      > > > mean I must run the flash memory card on port 1 and the >
      > > HDD on port
      > > > 2 as stated in > http://www.nslu2-linux.org/wiki/Unslung/Ext3flash
      > > > >
      > > > > Yes.
      > > > >



      Yahoo! Groups Links
    Your message has been successfully submitted and would be delivered to recipients shortly.