cedric.dewijs | 10 Aug 12:11 2008
Picon

Prevent spin-up of ReiserFS HD mounted read-only

Hi Linux fans,

My English is not my first language, I hope the story below is understandable.

I have a xbuntu machine with 2 hard drives, one for the system, one that
is for backups. The drive for backups is an old, noisy hard drive, so therefore
i would like it to spin as little as possible.

In the current configuration, I don't mount the backup drive, and put it
to sleep with HDparm -Y late in the boot process. When it's time to create
the backup, I mount the backup drive, perform the backup, unmount the drive,
and put the drive back to sleep. This works fine, the backup disk only spins
when the backup is being made.

Now i want to mount the backup drive read-only, so the users can bring back
deleted files themselves. When i mount my reiser disk read-only, and put
it to sleep, the drive wakes up. When i then make sure no process is reading
from /backup, and once again put my drive to sleep with HDparm -Y, then again
the drive wakes up.

Is there any way to mount a reiser drive readonly without the drive being
accessed afterwards? I understand the mount proces itself must read the drive,
but after the mount (and putting the drive in sleep mode with HDparm), the
drive should sleep until a user accesses the drive

Thanks in advance for your attention,
Cedric.

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
(Continue reading)

Greg Giddings | 11 Aug 22:58 2008
Picon
Picon

Re: Prevent spin-up of ReiserFS HD mounted read-only

>From: cedric.dewijs <at> telfort.nl
>Date: 2008/08/10 Sun AM 03:11:39 PDT
>To: lfs-chat <at> linuxfromscratch.org
>Subject: Prevent spin-up of ReiserFS HD mounted read-only

>Hi Linux fans,
>
>My English is not my first language, I hope the story below is understandable.
>
>I have a xbuntu machine with 2 hard drives, one for the system, one that
>is for backups. The drive for backups is an old, noisy hard drive, so therefore
>i would like it to spin as little as possible.
>
>In the current configuration, I don't mount the backup drive, and put it
>to sleep with HDparm -Y late in the boot process. When it's time to create
>the backup, I mount the backup drive, perform the backup, unmount the drive,
>and put the drive back to sleep. This works fine, the backup disk only spins
>when the backup is being made.
>
>Now i want to mount the backup drive read-only, so the users can bring back
>deleted files themselves. When i mount my reiser disk read-only, and put
>it to sleep, the drive wakes up. When i then make sure no process is reading
>from /backup, and once again put my drive to sleep with HDparm -Y, then again
>the drive wakes up.
>
>Is there any way to mount a reiser drive readonly without the drive being
>accessed afterwards? I understand the mount proces itself must read the drive,
>but after the mount (and putting the drive in sleep mode with HDparm), the
>drive should sleep until a user accesses the drive
>
(Continue reading)

Mohan | 12 Aug 00:35 2008

Re: Prevent spin-up of ReiserFS HD mounted read-only

On Sun, Aug 10, 2008 at 12:11:39PM +0200, cedric.dewijs <at> telfort.nl wrote:
> Hi Linux fans,
> 
> My English is not my first language, I hope the story below is understandable.
> 
> I have a xbuntu machine with 2 hard drives, one for the system, one that
> is for backups. The drive for backups is an old, noisy hard drive, so therefore
> i would like it to spin as little as possible.
> 
> In the current configuration, I don't mount the backup drive, and put it
> to sleep with HDparm -Y late in the boot process. When it's time to create
> the backup, I mount the backup drive, perform the backup, unmount the drive,
> and put the drive back to sleep. This works fine, the backup disk only spins
> when the backup is being made.
> 
> Now i want to mount the backup drive read-only, so the users can bring back
> deleted files themselves. When i mount my reiser disk read-only, and put
> it to sleep, the drive wakes up. When i then make sure no process is reading
> from /backup, and once again put my drive to sleep with HDparm -Y, then again
> the drive wakes up.
> 
> Is there any way to mount a reiser drive readonly without the drive being
> accessed afterwards? I understand the mount proces itself must read the drive,
> but after the mount (and putting the drive in sleep mode with HDparm), the
> drive should sleep until a user accesses the drive

It is entirely possible that some sort of indexing or other daemon is
accessing the drive without your direct input.  Try looking at the
daemons you have running and possibly any cron jobs that might read from
/backup at some point.
(Continue reading)

Randy McMurchy | 12 Aug 13:05 2008

BLFS-6.3-rc3 has been released!

The BLFS Development team is pleased to announce the release of the
6.3-rc3 version of BLFS. This is a release candidate of the 6.3 version,
due to be released on August 24th. For additional information about the
release, along with download and format options, see
http://www.linuxfromscratch.org/blfs/6.3-release_notes.html

-- 
Randy

rmlscsi: [bogomips 1003.26] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
06:03:00 up 13:10, 1 user, load average: 0.00, 0.01, 0.00
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Jeremy Henty | 22 Aug 23:11 2008

Shouldn't *we* have one too?


    http://www.besttechie.net/forums/Linux-Humor-t14545.html

Jeremy Henty 
--
I compiled  Linux From Scratch, and  all I got was  this lousy command
line.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Matthias Feichtinger | 23 Aug 15:45 2008
Picon

Re: Shouldn't *we* have one too?

Am Freitag, 22. August 2008 23:11 schrieb Jeremy Henty:
>    http://www.besttechie.net/forums/Linux-Humor-t14545.html
>
>Jeremy Henty
>--
>I compiled  Linux From Scratch, and  all I got was  this lousy command
>line.
I got bored while downloading (2,4KB/s) 66%, stopped.
-- 
Fuer die p.t.Leser: Die naechste Zeile enthaelt alle Informationen. LG 
Matthias:-)
.--. -.-- .-. --.. .-. .- ..-. ..- -. .... -.-. --. .--- ...- .-. .- ...- .- .-
 .-. . .-. ..-. --. -. --.- --. .... .- --.- .-.. -.- .--. .. --- .-. ...- ..
 ...- .-. .- .- -. --.- -... --. -. --.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Randy McMurchy | 24 Aug 14:39 2008

Re: Shouldn't *we* have one too?

Matthias Feichtinger wrote these words on 08/23/08 08:45 CST:
> I got bored while downloading (2,4KB/s) 66%, stopped.

Too bad. It's quite humorous. Well, I enjoyed it anyway. Thanks
Jeremy!

-- 
Randy

rmlscsi: [bogomips 1003.25] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
07:38:00 up 8 min, 1 user, load average: 0.42, 0.47, 0.29
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Robert Connolly | 25 Aug 00:48 2008
Picon

lotto 649

Hi. I heard rumors about lotto statistics before, so I decided to check it 
out. I'm using Canadian lotto, but this works with any.

I got a copy of all past 649 lotto numbers from www.wclc.com. It's a pdf, and 
I converted it to text, cut out the actual lotto numbers, and made a list. 
Then I made statistics for how often each number comes out, and I was blown 
away to find that the numbers 1, 2, 3, and 4 have come out over 5000 times 
each, while the numbers 10-49 come out 300-400 times each. All the numbers 
below 10 are favorites. I'm not sure, but the only thing that makes sense to 
me is that the weight and aerodynamics of the paint cause single digit balls 
to float better during the draw. I would be interested to know if this is 
true with other lotto games (even bingo).

I have my notes here:
http://www.linuxfromscratch.org/~robert/lotto-649/readme.txt

With this, it's highly recommended to pick one or two numbers below 10, when 
choosing lotto numbers. All the numbers above 10 are drawn almost equally.

I've tried to create a random number generator, but the ones I write end up 
biased to low numbers and I don't understand why.

This:
for ((i=1;i<=99999;i+=1)); do
echo $(($(echo $(head -n100 /dev/urandom | od -N 30) | 
cut -d ' ' -f2,3,4,5,6,7,8,9 | \
	sed 's/ //g') % 49 +1)) | sed -e 's/-//' -e '/^0/d' >> rng-results.txt
done

and:
(Continue reading)

Robert Connolly | 25 Aug 05:23 2008
Picon

Re: lotto 649

I'm very sorry. I just realized why numbers 1-9 were favorites. When I grep 
for "1" all numbers including the number 1 will match.

robert

On Sunday August 24 2008 06:48:57 pm Robert Connolly wrote:
> Hi. I heard rumors about lotto statistics before, so I decided to check it
> out. I'm using Canadian lotto, but this works with any.
>
> I got a copy of all past 649 lotto numbers from www.wclc.com. It's a pdf,
> and I converted it to text, cut out the actual lotto numbers, and made a
> list. Then I made statistics for how often each number comes out, and I was
> blown away to find that the numbers 1, 2, 3, and 4 have come out over 5000
> times each, while the numbers 10-49 come out 300-400 times each. All the
> numbers below 10 are favorites. I'm not sure, but the only thing that makes
> sense to me is that the weight and aerodynamics of the paint cause single
> digit balls to float better during the draw. I would be interested to know
> if this is true with other lotto games (even bingo).
>
> I have my notes here:
> http://www.linuxfromscratch.org/~robert/lotto-649/readme.txt
>
> With this, it's highly recommended to pick one or two numbers below 10,
> when choosing lotto numbers. All the numbers above 10 are drawn almost
> equally.
>
> I've tried to create a random number generator, but the ones I write end up
> biased to low numbers and I don't understand why.
>
> This:
(Continue reading)

Randy McMurchy | 25 Aug 18:06 2008

BLFS-6.3 has been released!

The BLFS Development team is pleased to announce the release of the
6.3 version of BLFS. For additional information about the release,
along with download and format options, see
http://www.linuxfromscratch.org/blfs/6.3-release_notes.html

-- 
Randy

rmlscsi: [bogomips 1003.25] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
11:03:00 up 1 day, 3:33, 1 user, load average: 0.08, 0.04, 0.00
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Gmane