Re: Kernel update includes nouveau module that clobbers nVidia drivers

2010-06-16 Thread Sven Joachim
On 2010-06-17 00:35 +0200, AG wrote:

> Since the last testing update I have rebooted and found myself being
> ensnarled in what seems to be a kernel issue, whereby a module
> "nouveau" by default seizes control of the graphics card which
> prevents the nVidia driver from loading.

If you had installed the Nvidia driver the Debian way, this would not
have happened, because the nvidia-kernel-common package blacklists the
nouveau module which is the recommended way to prevent it from loading.
See modprobe.conf(5).

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87eig6tbrv@turtle.gmx.de



Re: Any experience with Brother MFC-420 CN printer?

2010-06-16 Thread Peter Tenenbaum
I finally found some time to look into this more deeply.  Turns out it was
never a printer or driver problem at all.  The problem was that my
cupsd.conf was set so restrictively that not even root could print!  I
reconfigured so that root and I can print, and everything is now fixed.

Duh.  Well, this is how Linux newbies learn, I suppose, and I'm having fun
in the process.

-PT

On Mon, Jun 14, 2010 at 10:41 PM, Peter Tenenbaum  wrote:

> Additional information:  looking in the error log, I see that I did in fact
> get this error the last time I tried to print:
>
> E [14/Jun/2010:22:35:43 -0700] Returning IPP client-error-not-authorized for 
> Print-Job (ipp://localhost:631/printers/Mrs.Cat) from localhost
>
> This looks like a configuration error (in cupsd.conf?), but for the life of
> me I don't know how to fix it.
>
> -PT
>
>
> On Mon, Jun 14, 2010 at 10:00 PM, Peter Tenenbaum wrote:
>
>> I've been migrating my computer resources over from a 6 year old WXP
>> computer to a brand-new Debian Linux one.  Most recently I tried to migrate
>> our old printer, a Brother MFC-420 CN printer / scanner / fax with USB
>> connection.  Brother has CUPS and LPD drivers for it, and they have 2 sets
>> of instructions for installing the drivers (one pretty much automatic, one
>> more manual).
>>
>> I've tried both sets of instructions, and it almost works.  The printer is
>> detected by the computer when it is first connected; the install appears to
>> go correctly, and the printer appears correctly in the CUPS browser
>> interface.  When I send print jobs, no errors appear, and the print jobs are
>> shown as "completed" in the CUPS browser interface.  However, no printed
>> pages ever appear.  Printing from the command line, applications, test
>> prints -- none of them result in printed output.
>>
>> Has anyone else had problems like this?  Any suggestions for how to
>> resolve?
>>
>> I realize that this is something of a long shot, but I have to say that
>> the responses I've gotten to questions and problems on this list have been
>> borderline-miraculous in fixing my problems, so I figured I'd give it a
>> shot!  I've also asked the Linux support people at Brother for assistance.
>>
>> Thanks in advance,
>> -PT
>>
>
>


Re: spamassassin: rules set manually updating.

2010-06-16 Thread Camaleón
On Thu, 17 Jun 2010 07:40:55 +0700, Sthu Deus wrote:

>> Check "/etc/default/spamassassin" file, there is a variable ("CRON=0")
>> that you can modify to get a cron job task for SA rules auto-updating.
> 
> Yes, but does it need running SA as daemon, that is to specify in the
> same file allow daemon?

Mmm, I think no. If you don't want to run "spamd", just leave that option 
disabled ("ENABLED=0").

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.17.06.06...@gmail.com



Re: turn off all logging

2010-06-16 Thread Tzafrir Cohen
On Wed, Jun 16, 2010 at 12:17:40PM +0200, Steve Dierker wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> > Alternatively, you could mount /var/log as tmpfs, so it writes to RAM
> > instead of to disk.
> 
> I would suggest to mount /var/log as tmpfs and backup it per cronjob to
> your harddrive every hour.
> So you are minimizing the write access to your harddrive but have the
> advantage of logs.

BTW: anybody interested in http://packages.debian.org/flashybrid ?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100617052954.gc17...@pear.tzafrir.org.il



Re: problems with dell poweredge server R140 (rack)

2010-06-16 Thread Tzafrir Cohen
On Tue, Jun 15, 2010 at 10:14:29PM +0300, Eero Volotinen wrote:
> > Maybe having bnx2 driver in a usb disk, and installing it when lenny
> > installer ask ?
> 
> Well, maybe. Any instructions how to put bnx2 driver on usb disk?

Yes: doewnload that deb file and put it on a USB disk that is connected
to the machine when the installation start.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100617052642.gb17...@pear.tzafrir.org.il



Re: Triple boot with MS XP

2010-06-16 Thread Huang, Tao
On Thu, Jun 17, 2010 at 11:03 AM, ABSDoug  wrote:
> I've never heard this term "Symlink". I'm off to Google, but if you care to 
> elaborate, please feel free!
>

i didn't notice that you are not familiar with the symbolic link solution.
actually, it's the simplest way.
i should have mentioned it in the first place.

$ man ln

and you'll have a rough idea about it.

let's say you winxp "C:" partition is mounted to "/media/xp" .
and the iTunes dir being sth like "c:\document and settings\user\...\iTunes" .
to link it to somewhere under \home, you do

$ ln -s "/media/xp/document and settings\user\...\iTunes"
"$HOME/path/to/your/destination"

such links are frequently used to share config files.

you can make symlinks between files or dirs.
be careful about the trailing slash. it's the same set of rules with mv and cp.

there's also a "--bind / --move" option for mount (check out the man page)
but symbolic links are totally enough for your case.


Tao


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktim5h428ia_yaicchucpk5bkdornfr7w48xja...@mail.gmail.com



Re: Kernel update includes nouveau module that clobbers nVidia drivers

2010-06-16 Thread Mitchell Laks
On 23:35 Wed 16 Jun , AG wrote:
> I pass this along and hope that this helps anyone who finds
> themselves similarly disposed.

this also bit a number of others on the list. If you see my post, I banned the 
nouveau module
from my kernel as well as the nouveau packages from xxorg-* and then build my 
binary nvidia kernel
and it worked as well.

Mitchell


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100617042728.ga2...@earthlink.net



Symlinks (was Re: Triple boot with MS XP)

2010-06-16 Thread Ron Johnson

On 06/16/2010 10:03 PM, ABSDoug wrote:

--- On Wed, 6/16/10, Ron Johnson  wrote:

 > Symlink the NTFS iTunes directory to some place under
 > $HOME.

I've never heard this term "Symlink". I'm off to Google, but if you care
to elaborate, please feel free!


(That's the way for a newbie to engender cooperation.)





(Symbolic links are just about the single coolest feature of 
Unix-style file systems, and are just about everywhere in /etc, 
/usr, /var, ...)


http://en.wikipedia.org/wiki/Symbolic_link

The name just about says it all: a *symbolic* link from one file to 
another.  For example:


$ df /mnt/windows
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda2 36138212  19393344  16744868  54% /mnt/windows

$ ls -1 /mnt/windows/"Documents and Settings"
All Users
anabelle
Compaq_Owner
Default User
Heather
ian
LocalService
NetworkService
Ron
Ron Sr

$ ln -sf /mnt/windows/"Documents and Settings"/Ron/"My Documents" \
 Windows_Docs

$ ls -aFl Windows_Docs
lrwxrwxrwx 1 ron ron 52 Jun 16 22:47 Windows_Docs -> \
 /mnt/windows/Documents and Settings/Ron/My Documents/

$ ls -aFl Windows_Docs/
total 13
drwxrwxrwx 1 root root 4096 Nov 29  2007 ./
drwxrwxrwx 1 root root 4096 May 17  2006 ../
-rwxrwxrwx 1 root root   74 Nov 29  2007 desktop.ini*
drwxrwxrwx 1 root root0 Nov 29  2007 My Music/
drwxrwxrwx 1 root root 4096 Nov 29  2007 My Pictures/
drwxrwxrwx 1 root root0 Dec 13  2005 My Videos/

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c199b9f@cox.net



Re: Triple boot with MS XP

2010-06-16 Thread ABSDoug
--- On Wed, 6/16/10, Ron Johnson  wrote:

> Gmail doesn't seem to suffer the non-wrapping problem.

I'll go subscribe right now.



  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/27333.6528...@web52001.mail.re2.yahoo.com



Re: Triple boot with MS XP

2010-06-16 Thread ABSDoug
--- On Wed, 6/16/10, Ron Johnson  wrote:

> Symlink the NTFS iTunes directory to some place under
> $HOME.

I've never heard this term "Symlink". I'm off to Google, but if you care to 
elaborate, please feel free!



  

Re: spamassassin: rules set manually updating.

2010-06-16 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

> Check "/etc/default/spamassassin" file, there is a variable
> ("CRON=0") that you can modify to get a cron job task for SA rules
> auto-updating.

Yes, but does it need running SA as daemon, that is to specify in the
same file allow daemon?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c196f19.51a3cc0a.1668.d...@mx.google.com



Re: Triple boot with MS XP

2010-06-16 Thread Ron Johnson

On 06/16/2010 07:16 PM, ABSDoug wrote:
[snip]


He's right&  it was on my to do list. I just went over to settings, I couldn't 
find anything to fix it. SO annoying. I looked at GMail, didn't see setting for 
this either. I like doing E-mail off the web, but that might have to change.



Gmail doesn't seem to suffer the non-wrapping problem.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c196ccd.7000...@cox.net



Re: Triple boot with MS XP

2010-06-16 Thread Ron Johnson

On 06/16/2010 07:10 PM, ABSDoug wrote:

--- On Wed, 6/16/10, Huang, Tao  wrote:


[snip]

The main reason I'd like access for XP is iTunes for my iPhone. Seems silly to have 
16GB of information repeated for XP&  Linux /home.



Symlink the NTFS iTunes directory to some place under $HOME.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c196a87.90...@cox.net



Re: Triple boot with MS XP

2010-06-16 Thread ABSDoug
--- On Wed, 6/16/10, Ron Johnson  wrote:

> No sane person would.  If you *do* treat "storage" as
> /home, then 
> You're Doing It Wrong.

The main reason I'd do this is access for XP, iTunes for my iPhone. Seems silly 
to have 16GB of information repeated for an XP & Linux /home. So right now my 
/home folders are all empty & this "Storage" partition holds what would go in 
/home. I'm not sure one's sanity comes into question here...?

> What you do a bad job of is using Yahoo, somehow blasting
> the thread 
> model, and not word wrapping.  I lay most of the blame
> on Yahoo.

He's right & it was on my to do list. I just went over to settings, I couldn't 
find anything to fix it. SO annoying. I looked at GMail, didn't see setting for 
this either. I like doing E-mail off the web, but that might have to change.






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/481745.29703...@web52004.mail.re2.yahoo.com



Re: Triple boot with MS XP

2010-06-16 Thread ABSDoug
--- On Wed, 6/16/10, Huang, Tao  wrote:

<<< why do you need to access the /home partition when using winxp? ntfs 
doesn't support POXIS file ownership and permissions natively. so keep you 
/home partition to a linux filesystem. you can have a separate storage 
partition for shared documents and files, mount it to the /home hierarchy or 
somewhere else, and access it with each of your installed os. >>>

Thanks for you advice, I'm going to explore these options. The main reason I'd 
like access for XP is iTunes for my iPhone. Seems silly to have 16GB of 
information repeated for XP & Linux /home.

> btw, what's keeping you from moving your winxp into virtualization?

Video games mostly. But I don't play that often. I've got a computer I'm about 
to put together as Linux only, so I'm sure I'll start virtualization with it.


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/581617.24596...@web52008.mail.re2.yahoo.com



Kernel update includes nouveau module that clobbers nVidia drivers

2010-06-16 Thread AG
Since the last testing update I have rebooted and found myself being 
ensnarled in what seems to be a kernel issue, whereby a module "nouveau" 
by default seizes control of the graphics card which prevents the nVidia 
driver from loading.


Here's some history [1]

However, for some nouveau doesn't seem to work as one would hope [2].  
The problem is that nVidia drivers don't load and therefore xorg can't 
find any screens and X doesn't load.


The resolution to this problem seems to boil down to two solutions:

1. If you use grub2 then edit

/etc/default/grub

then add

nouveau.modeset=0

to the end of the line that reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

("quiet" seems a typical default option), so that that line now reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet nouveau.modeset=0"

run

update-grub2

and reboot. [3]

2.  Add repository for experimental to apt sources, and in addition to 
the usual group you'd download to upgrade your kernel (i.e. 
module-assistant, nvidia-kernel-source, build-essential, etc.) also install


nvidia-glx
nvidia-kernel-dkms

and pursue the usual update process and reboot. [4]


Option 1 didn't work for me, but that might be because I am using lilo 
and not grub


So I removed nouveau directly and then went for option 2 and rebooted.

Then I stopped the *DM

/etc/init.d/*dm stop

and installed the NVIDIA-*-pkg*.run and restarted my *DM

/etc/init.d/*dm start

All seems to be fine now.  How sustainable this is though, I don't know

I pass this along and hope that this helps anyone who finds themselves 
similarly disposed.


AG

=

[1] http://groups.google.com/group/linux.debian.user/msg/9ab8ecdc1149f898
http://www.nvnews.net/vbulletin/showthread.php?t=151694&page=2
[2] http://www.nvnews.net/vbulletin/showpost.php?p=2263528&postcount=1
[3] http://www.nvnews.net/vbulletin/showpost.php?p=2263801&postcount=8 
and http://www.nvnews.net/vbulletin/showpost.php?p=2263812&postcount=12
[4] 
http://www.nvnews.net/vbulletin/showpost.php?s=751d48d7876bf377b3e02695fa186dde&p=2263851&postcount=14 



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c1951a8.1060...@gmail.com



Re: Triple boot with MS XP

2010-06-16 Thread Rob Owens
On Tue, Jun 15, 2010 at 09:13:11PM -0700, ABSDoug wrote:
> If this isn't on topic, sorry ahead of time & perhaps you can point me in the 
> right place?
> 
> I've been reading up on having a separate partition for your /home files. For 
> quite some time, I've been using a ntfs partition named "storage" as it makes 
> re-install or fresh install of OS much easier. While it's WAY neat that 
> two different distros of Linux can share the /home partition, I still need MS 
> at times. I figure I can't be the only one, but after looking on the net, I 
> couldn't decide the best way. I could use Linux to pull files off of the MS 
> XP ntfs partition easy enough, but it seems cheesy. All the options to allow 
> XP to see the Linux partition have permission issues as well as hidden 
> extensions that can't be hidden. Dangerous trumps cheesy. It would seem 
> grabbing what I need in XP partition from within Linux is the answer... is 
> there something I've overlooked? I'm gunna get into virtualization at some 
> point, but I'm just not ready to nuke XP, there are times it's the only thing 
> I can get to work (like my Netbook internal 3G)
> 
For virtualization, check out virtualbox-ose.  It will run Windows XP
just fine from your Debian system.  Backports.org has a much newer
version than what is in the standard Lenny repositories.

There are Windows drivers available to access ext2 partitions (and maybe
ext3 partitions), but I have never used them.  I only know they exist.

For my parents, who dual boot XP and Ubuntu, I set up a separate FAT32
partition.  It is readable/writable by both Windows and Linux.  

Accessing an NTFS drive from Linux seems pretty safe these days, even if
most of the drivers for doing so are loaded with caution statements.

My preference is to not let /home be writable by Windows.  Windows is
likely to get malware, so I'd rather limit what it can access in terms
of my files.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616221308.ga30...@aurora.owens.net



Re: VLC no longer plays *.wmv video format

2010-06-16 Thread Ron Johnson

On 06/16/2010 02:21 PM, AG wrote:

Up until a few days ago, VLC used to play *.wmv format video files just


What version of vlc and what branch of Debian?


fine. Now, for some unknown (to me) reason, it no longer does so.

I have tried other video players (e.g. xine) and they work fine, so I
believe that it isn't the lack of a codec, even though that is the error
message VLC gives me when I attempt to play *.wmv files.

Has anyone else come across this and/ or have an idea what this is about
and - more crucially - how to fix this?



vlc 1.0.6-1 plays all my wmv files.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c194a7f.4050...@cox.net



[OT] First computer (was Re: LVM)

2010-06-16 Thread Chris Bannister
On Wed, Jun 16, 2010 at 12:18:54PM -0500, Ron Johnson wrote:
> On 06/16/2010 06:09 AM, Stan Hoeppner wrote:
> >Ron Johnson put forth on 6/15/2010 1:50 PM:
> >>On 06/15/2010 01:37 PM, Andrew Sackville-West wrote:
> >>[snip]
> >>>an USB enclosure and use it for backups. Having ~700GB of data with the
> >>>most critical ~400GB backed up is definitely preferable than no
> >>
> >>Geez, I remember when I couldn't fill up a 40_MB_ drive, and before that
> >>when I was in awe of the KayPro 10.
> >>
> >
> >My first computer was a Kaypro PC.  No CP/M.
> 
> Youngster.  I had a KayPro II.  With, originally, TurboPascal 1.0!

Mmm, http://oldcomputers.net/kayproii.html so around 1982?

Commodore PET. 1977 :)

-- 
Chris.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616230817.gb17...@fischer



Re: flashplayer-mozilla update from debian-multimedia.org

2010-06-16 Thread Chris Bannister
On Wed, Jun 16, 2010 at 01:57:12PM +, Liam O'Toole wrote:
> On 2010-06-16, Chris Bannister  wrote:
> Indeed. And if Adobe refuse to maintain the older version there's not
> much anyone else can do about it.

True.
 
> > After this operation, 124MB of additional disk space will be used.
> > E: You don't have enough free space in /var/cache/apt/archives/.
> 
> You can recover some disk space using 'apt-get clean' or (more
> conservatively) 'apt-get autoclean'.

True, but I do that anyway.

Mind you, you can get a lot on a 4G HDD. :)

(postgresql, apache2, iceweasel, mplayer-nogui, lxdvdrip, moc,
 videotrans)

fischer:~# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 1.3G  1.3G   31M  98% /
tmpfs 250M 0  250M   0% /lib/init/rw
udev   10M  680K  9.4M   7% /dev
tmpfs 250M 0  250M   0% /dev/shm
/dev/hda6 2.5G  2.3G   46M  99% /home

fischer:~# fdisk -l

Disk /dev/hda: 4311 MB, 4311982080 bytes
255 heads, 63 sectors/track, 524 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6397

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1 172 1381558+  83  Linux
/dev/hda2 173 524 28274405  Extended
/dev/hda5 173 197  200781   82  Linux swap / Solaris
/dev/hda6 198 524 2626596   83  Linux

Time to upgrade to a whopping 20G! LOL

-- 
Chris.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616223514.ga17...@fischer



Re: VLC no longer plays *.wmv video format

2010-06-16 Thread Camaleón
On Wed, 16 Jun 2010 20:21:55 +0100, AG wrote:

> Up until a few days ago, VLC used to play *.wmv format video files just
> fine.  Now, for some unknown (to me) reason, it no longer does so.
> 
> I have tried other video players (e.g. xine) and they work fine, so I
> believe that it isn't the lack of a codec, even though that is the error
> message VLC gives me when I attempt to play *.wmv files.

And the error you are getting is...

> Has anyone else come across this and/ or have an idea what this is about
> and - more crucially - how to fix this?

vlc --verbose 2 file.wmv

Also, try by empty/move the plugins cache, if present (~/.vlc/cache/
plugins*) to check if that helps.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.16.21.21...@gmail.com



Re: Backups - was Re: LVM

2010-06-16 Thread Alan Chandler

On 15/06/10 14:31, Tom Furie wrote:

On Tue, Jun 15, 2010 at 01:02:47PM +0100, Alan Chandler wrote:

On 15/06/10 12:44, Alan Chandler wrote:


The real magic command is "cp -alf" which essentially merges a shorter
term store with a longer term one, making new entries where the shorter
store has a file that isn't in the longer term store, and overwriting it
where the shorter term store has a file with the same name as the longer
one.


I should have added, it does this virtually instantaneously because it
is not moving anything, just dealing with hard links.


Links are no way to handle back-ups. If the data goes bad, that just
means there's multiple places you can't get at it from.


You misunderstand me.  Links are not used to avoid having two copies of 
everything, but just a way to merge either a daily snapshot into a 
weekly one, or a weekly snapshot into a monthly one. The magic is that 
it does it almost instantenously.


My thought process was about how many backup copies do I need of 
something that changes daily - like a database (and its backup dump).


I keep a separate version of the file for every day for a week.  I then 
keep a single version for each week the following 5 weeks and then turn 
it into one version every month for 6 months - and from there is sits in 
a queue for archiving to dvd.


This allows me to go back in time.  Say I screwed up and corrupted data 
and didn't notice for a month.  The best I can do is get a backup around 
a week of that occurrence not one of the daily ones.  If I didn't notice 
for 6 weeks, then I would only have a monthly snapshot to choose from.

--
Alan Chandler
http://www.chandlerfamily.org.uk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c193950.8080...@chandlerfamily.org.uk



Re: Backups - was: Re: LVM

2010-06-16 Thread Ron Johnson

On 06/16/2010 05:45 AM, Stan Hoeppner wrote:

Ron Johnson put forth on 6/15/2010 10:59 AM:


I wrote a script that only backs up our data directories (including much
of /home) into a bunch of tarballs, excluding "junk" folders like
caches, thumbnails, trash, etc, and compressing most but not stuff like
image and OOo document directories.


What you using for compression here Ron?  gzip or bzip2?  or ??



bzip2 in the form of "tar cfj".

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c19320f.1050...@cox.net



VLC no longer plays *.wmv video format

2010-06-16 Thread AG
Up until a few days ago, VLC used to play *.wmv format video files just 
fine.  Now, for some unknown (to me) reason, it no longer does so.


I have tried other video players (e.g. xine) and they work fine, so I 
believe that it isn't the lack of a codec, even though that is the error 
message VLC gives me when I attempt to play *.wmv files.


Has anyone else come across this and/ or have an idea what this is about 
and - more crucially - how to fix this?


TIA

AG


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c192453.8030...@gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Håkon Alstadheim

Steven skrev:

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.

  


Just do "ls -l /dev/disk/by-id/". The disks will have factory labels 
with serial-numbers to match.


--
Håkon Alstadheim / N-7510 Skatval / email:ha...@alstadheim.priv.no
tlf: 74 82 60 27 mob: 47 35 39 38
http://alstadheim.priv.no/hakon/ 
spamtrap: finnesi...@alstadheim.priv.no -- 1 hit & you are out




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c191159.8080...@alstadheim.priv.no



Re: Request for CD

2010-06-16 Thread prakhar gaur

Dear Jnanadarshan,

I will courier you the Debian 504 DVD1. I am in Bangalore so please wait for at 
least a week for it to arrive.

Thanking you,
-- 
Prakhar Gaur
Institute of Bioinformatics and Applied Biotechnology,
Biotech Park
Bangalore 560 100
India.

  

Re: More acroread printing problems

2010-06-16 Thread John A. Sullivan III
On Wed, 2010-05-05 at 16:46 -0400, John A. Sullivan III wrote:
> On Wed, 2010-05-05 at 16:41 -0400, John A. Sullivan III wrote:
> > Hello, all.  With the appreciate help from this list, we finally learned
> > we needed to install Acrobat Reader version 9.3.2 from unstable into our
> > Lenny systems in order for Acrobat to see our CUPS printers.  However we
> > are still having problems printing anything other than letter size jobs.
> > It looks like acroread is creating an lpr command using the -o
> > PageRegion and setting that option incorrectly.  For example, in one
> > case we saw -o PageSize=11x17 -p PageRegion=Letter which printed the
> > 11x17 print job on letter sized paper.  On a plotter we saw -o
> > PageSize=24x36 -p PageRegion=A4 which resulted in the plotter rejecting
> > the job as an invalid page size.  Bypassing the Acroread print command
> > by using a Custom printer and sending the job to KPrinter works so this
> > seems to be a clear bug in how Acrobat is reading the PPD file and
> > creating the print command.
> > 
> > Has anyone else encountered this problem? Is there a workaround? If not,
> > I suppose I'll need to figure out how one reports bugs for acroread to
> > Adobe.  Thanks - John
> > 
> > 
> Oops! typing a little too fast.  That's appreciated help and the
> PageRegion is preceded by -o and not -p - John
> 
> 
An upgrade to libcups2 solved the problem.  We are running Lenny which
uses libcups2 1.3.8.  We upgraded to libcups2 1.4.3 from Squeeze and it
solved the problem.  We still have a similar problem when printing from
Acrobat Standard on Windows via a CUPS print server.  On to that problem
next - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1276709352.3381.1.ca...@localhost



Re: PDF printing - was: Re: Flash is open?

2010-06-16 Thread John A. Sullivan III
On Sat, 2010-05-15 at 15:46 -0400, John A. Sullivan III wrote:
> On Sat, 2010-05-15 at 13:50 +, Camaleón wrote:
> > On Sat, 15 May 2010 08:52:21 -0400, John A. Sullivan III wrote:
> > 
> > > On Sat, 2010-05-15 at 10:05 +, Camaleón wrote:
> > 
> > >> Linux PDF "readers" are in a very good shape. In fact, I don't even
> > >> have Acrobat Reader installed on my linux systems.
> > 
> > > I thought this, too, until recently when working with companies which
> > > use PDF heavily.  I had always used KPDF as it seemed so much lighter
> > > and faster than acroread.  However, it has only a very small portion of
> > > the full functionality of acroread.  I had never noticed but our clients
> > > did.
> > 
> > Acrobat Reader for linux has some nice features, I agree. One of them is 
> > the ability to print brochures and booklets in a easy way.
> > 
> > But is so "bloat" that I have discarded from any of my linux systems and  
> > use Evince almost exclusively (before Evince I was very happy with KPDF). 
> > On windows I try to install Foxit Reader or something similar.
> >  
> > > It's everything from small things (like mousing into to lower left
> > > corner and seeing the document size -very handy for non-standard sizes
> > > such as construction drawings) to the massive printing problem that
> > > afflicts all other Linux pdf readers - at least in Lenny, no pdf reader
> > > could print non-default print sizes.  No matter what we did, every
> > > single PDF reader we tried insisted on printing to the default paper
> > > size.  Apparently this is a well known bug from the hours of searching
> > > we did.  Only acroread would let our client print their construction
> > > drawings without shrinking them down letter or A4 size - John
> > 
> > Mmmm... I'm not sure to fully understand the problem :-?
> > 
> > I have a PDF file sized "prc5 Envelope, Landscape (220 x 110 mm)" which I 
> > open with Evince (2.22.2). Then I send the document for printing with any 
> > of our HP laserjet printers using the envelope feeder. I put the envelope 
> > in the tray, from Evince I go under "File / Printer settings" and from 
> > "Paper size" dropdown menu I choose "DL Envelope". The output is printed 
> > correctly, obeying the size of the printed media (DL envelope) and fiting 
> > the text correctly into it.
> > 
> > Is that what are you referring about or are you (or your clients)  
> > experiencig another problem?
> 
> In this case, the client had a Ricoh MP W3600 plotter although, if I
> recall correctly, we had the same problem with all the printers - it was
> just more obvious with the plotter.  Let's say they wanted to send a
> 24x36 drawing to the plotter.  If they send it through any of the FOSS
> PDF viewers, it prints a 24x36 job but the image is always the default
> paper size, i.e., the drawing would be reduced to 8.5x11 and printed in
> the middle of a 24x36 piece of paper.  In some cases, we sent two pages
> per side - reducing and rotating the drawings to fit two per page.  In
> this case, two 8.5x11 images appeared on the large sheet!
> 
> Acroread is not without flaws either.  Versions previous to 9.3.2 could
> not see our CUPS print server's printers.  9.3.2 can see them but,
> whenever it prints, it sends the default page region.  Thus, if I
> directly choose, say this 3600 plotter, and send a 36x48 drawing, I see
> acroread has created a print job with -o PageSize=36x48 but also with -o
> PageRegion=A4 (or whatever either the ppd default is or the first
> PageRegion listed in the ppd if no default is defined).  We've seen the
> same thing when trying to send 11x17 jobs to other printers - it prints
> Letter size (or whatever the default PageRegion is).  We've escalated to
> Ricoh but this really smells like an acroread bug.
> 
> 
An upgrade to libcups2 solved the problem.  We are running Lenny which
uses libcups2 1.3.8.  We upgraded to libcups2 1.4.3 from Squeeze and it
solved the problem.  We still have a similar problem when printing from
Acrobat Standard on Windows via a CUPS print server.  On to that problem
next - John


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1276709210.3381.0.ca...@localhost



Re: LVM

2010-06-16 Thread Ron Johnson

On 06/16/2010 06:09 AM, Stan Hoeppner wrote:

Ron Johnson put forth on 6/15/2010 1:50 PM:

On 06/15/2010 01:37 PM, Andrew Sackville-West wrote:
[snip]

an USB enclosure and use it for backups. Having ~700GB of data with the
most critical ~400GB backed up is definitely preferable than no


Geez, I remember when I couldn't fill up a 40_MB_ drive, and before that
when I was in awe of the KayPro 10.



My first computer was a Kaypro PC.  No CP/M.


Youngster.  I had a KayPro II.  With, originally, TurboPascal 1.0!


 This was an IBM XT knock off
with a 20MB HD, though faster than the XT, sporting an 8MHz 8088.  Taught
myself dBaseIII/Fox Pro, Turbo Pascal and Quick Basic on that machine (amongst
others), as well as burning many an hour playing Microprose' Gunship with a CH
Flighstick. :)

Sometimes I miss those simpler times...




--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c19077e.10...@cox.net



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Bob Weber
 Use smartctl from the smartmontools package.  If mdadm says that /dev/sdc (or 
cat /proc/mdstat) is at fault then use "smartctl -a /dev/sdc" and it will print 
out all kinds of info on the drive including its serial number which should be 
on a sticker on the case of the drive.


The programs included with smartmontools might have warned you of an impending 
failure.  I have a smart self long test run om my drives 2 times a week.


*...Bob*

On 06/16/2010 09:32 AM, Steven wrote:

On Wed, June 16, 2010 13:13, Siju George wrote:

Hope some one finds this helpful :-)

--Siju

Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
=


Thanks, this might prove useful.
However I do have a question... which might be just as important.

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.



Re: LVM

2010-06-16 Thread Boyd Stephen Smith Jr.
On Wednesday 16 June 2010 04:43:06 martin f krafft wrote:
> also sprach Boyd Stephen Smith Jr.  [2010.06.15.2108 
+0200]:
> > > Use mdadm for a RAID5 or RAID6 and LVM on top for the remaining
> > > cases when you need space and care less about performance.
> > 
> > Use RAID 1/0 in mdadm when you need redundancy, space, and performance.
> > 
> > (Although, IME, RAID 5 is not badly performing.)
> 
> Sure it is, on writes. If you have the right hardware, you won't
> notice, but every write takes twice as much work.
> 
> http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=docs/RAID5_versus_RAI
> D10.txt;hb=refs/heads/contrib/docs/raid5-vs-raid10

While disks may have gotten cheaper, some people only need 20% (or less, RAID 
5 doesn't have to be 5 disks) redundancy instead of the 50%, 67%, or more 
redundancy provided by RAID 1/0.  (Also, RAID 1/0 in mdadm is not just stripes 
over mirrored pairs OR mirroring over striped sets.)

RAID 1/0 does indeed have all the recovery advantages mentioned, and I 
generally recommend it when you can afford the 50% redundancy.

The support for RAID 3 or 4 over RAID 5 at the end is completely without 
basis, and almost certainly wrong.  RAID 5 performs better than RAID 4 and 3 
under all conditions and has the same failure cases.  Clearly, the author was 
biased against RAID 5 from the start, which throws suspicion on the anecdotes 
in the prose.

Still, the issues listed about RAID 5 recovery are very real, and should be 
enough to make one reconsider either spending more to be able to use RAID 1/0 
and have the same usable space or using RAID 1/0 and doing with less usable 
space.

> http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=debian/FAQ;hb=HEAD#l
> 106

The layout used with near=2 is, of course, exactly the same as layering.  It 
is unclear, then, how this can be applied to an odd number of devices, per the 
man page: "e.g. it is perfectly legal to have an ’n2’ layout for an array with 
an odd number of devices"

I was under the impression that offset=2 would do better about rotating which 
pairs were mirrored for a data block.  The diagrams show hdd1 being mirrored 
with hdd2 and hdd4 but not with hdd3; similar with far=2.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Request for CD

2010-06-16 Thread Eero Volotinen
Hi sa...@linuxbazar.com

Please send one full set of CD:s and DVDs of latest Debian stable
(i386 and amd64 architecture) to following address:

>> Address
>>
>> Jnanadarshan nayak
>> C/O-Mardaraj Mishra
>> Old Jagannatha Road
>> Madhupatana-II
>> Cuttack
>> 753010
>> Orissa
>> India

and then send bill of it to my email (eero.voloti...@iki.fi). Please
use fast delivery method.

thanks.

br,
--
Eero


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimgpkgdaqtd5wgi4qzp4hrxy6je_qxw9ljv8...@mail.gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Michal
On 16/06/2010 15:50, Steven wrote:
> 
> On Wed, June 16, 2010 15:47, Michal wrote:
>>
>> One way is to label the disks themselves so you simply do;
>>
>> cat /proc/mdstat which might say /dev/sd3 is down. Open the case, look
>> for the disk labled /dev/sde and replace it. If you have LED's like
>> servers have (probably not) they can be a fiddle to get working but it's
>> possible
>>
> No LED's for drives, it already has them for every pci slot,
> looks like a Christmas tree :)
> 
> I think you meant /dev/sde instead of sd3, right? If not, please correct me.
> If I'm not mistaken, mdadm will report the broken drive,
> then I have to look for the drive that corresponds to the 4th sata slot on
> the motherboard.
> That's part of my issue, can I be sure that the drive connected to port 4
> is /dev/sde?
> It's not a problem for the other 2 drives, as they differ in capacity,
> but these 4 are exactly the same size.
> 
> Also how accurate is mdadm in identifying the failed drive?
> As there are only 2 in an array, there is only 1 copy of the data to
> compare to.
> 
> It also seems my last message was sent twice, sorry about that.
> 

Sorry I really didnt explain my self propely;

Yes I mean /dev/sde and by lable I mean get a lable machine (or
somehting similar) to put a physical lable on the drive, like a sticker
with text saying /dev/sde

I did this in one machine and simply built my RAID1 array across two
drives, disconnected a drive, booted back up check mdstat to see which
one was now disconnected and labled that one, then labled the second
one. It's not a brilliant way I will admit but it works perfectly well.
I tested it 3 times (connecting the drive back, rebuild array,
disconnecting the other drive etc) to really make sure I had labled them
correctly.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18ee14.6060...@ionic.co.uk



Re: LVM

2010-06-16 Thread Boyd Stephen Smith Jr.
On Wednesday 16 June 2010 04:43:06 martin f krafft wrote:
> also sprach Boyd Stephen Smith Jr.  [2010.06.15.2108 
+0200]:
> > > Use mdadm for a RAID5 or RAID6 and LVM on top for the remaining
> > > cases when you need space and care less about performance.
> > 
> > Use RAID 1/0 in mdadm when you need redundancy, space, and performance.
> > 
> > (Although, IME, RAID 5 is not badly performing.)
> 
> Sure it is, on writes. If you have the right hardware, you won't
> notice, but every write takes twice as much work.

But not twice as much time, which is what performance is about.  When you are 
writing to two disks in parallel, that has (roughly) the same performance as 
writing to a single disk and (roughly) twice the performance as writing to two 
disk serially.

I've used RAID 5 for years, both HW RAID and SW RAID.  I have never had issues 
with write speeds.

> > RAID 1/0 through mdadm with 4 disks is also better than strictly layering
> > the RAID levels.
> 
> Do you have any data to back this up? Fundamentally, the data will
> traverse one layer less, but does it actually make a difference?

It uses a different layout which spreads reads and writes more evenly across 
the drives.  This results in higher performance on the same number of disk 
writes.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 15:47, Michal wrote:
>
> One way is to label the disks themselves so you simply do;
>
> cat /proc/mdstat which might say /dev/sd3 is down. Open the case, look
> for the disk labled /dev/sde and replace it. If you have LED's like
> servers have (probably not) they can be a fiddle to get working but it's
> possible
>
No LED's for drives, it already has them for every pci slot,
looks like a Christmas tree :)

I think you meant /dev/sde instead of sd3, right? If not, please correct me.
If I'm not mistaken, mdadm will report the broken drive,
then I have to look for the drive that corresponds to the 4th sata slot on
the motherboard.
That's part of my issue, can I be sure that the drive connected to port 4
is /dev/sde?
It's not a problem for the other 2 drives, as they differ in capacity,
but these 4 are exactly the same size.

Also how accurate is mdadm in identifying the failed drive?
As there are only 2 in an array, there is only 1 copy of the data to
compare to.

It also seems my last message was sent twice, sorry about that.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23813.91.183.48.98.1276699820.squir...@stevenleeuw.kwik.to



Re: how execute command on every mail received

2010-06-16 Thread Stan Hoeppner
paragasu put forth on 6/15/2010 4:33 AM:
> Hi all,
> 
> I wonder if there is a simple SMTP deamon.
> This deamon will execute a specific command on every email received.
> 
> I have a PHP program that will parse the email and
> send SMS to specific mobile phone number thereafter.
> 
> please advice.
> 
> Thanks

You could write your own smtp server, or you could save yourself a bunch of
time and headache and use qpsmtpd which is written in perl.  If you know perl,
you can do pretty much anything you want to with qpsmtpd.

http://wiki.qpsmtpd.org/

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18e3aa.2060...@hardwarefreak.com



Re: Request for CD

2010-06-16 Thread morten
:)

We'll pay 50 USD to the first who can get this guy a CD :D

-Morten

On Wed, 16 Jun 2010 19:28:49 +0530, Jnanadarshan Nayak
 wrote:
> Please send me a Debian CD at the following address as I do not have the
> financial capacity to buy it and as I am using a mobile internet
connection
> so its impossible for me download.
> 
> 
> 
> 
> Address
> 
> Jnanadarshan nayak
> C/O-Mardaraj Mishra
> Old Jagannatha Road
> Madhupatana-II
> Cuttack
> 753010
> Orissa
> India


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/30201c8deda4aa948f75f1adfc9e3...@localhost



Re: Request for CD

2010-06-16 Thread Eero Volotinen
2010/6/16 Jnanadarshan Nayak :
>  Please send me a Debian CD at the following address as I do not have the
> financial capacity to buy it and as I am using a mobile internet connection
> so its impossible for me download.

You mean CD1 or DVD1 of Debian?

--
Eero


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinpkbj_p6n4s_lvmlaab1_wltirjgcyahoeu...@mail.gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 13:13, Siju George wrote:
> Hope some one finds this helpful :-)
>
> --Siju
>
> Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
> =
>

Thanks, this might prove useful.
However I do have a question... which might be just as important.

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23451.91.183.48.98.1276695152.squir...@stevenleeuw.kwik.to



Request for CD

2010-06-16 Thread Jnanadarshan Nayak
 Please send me a Debian CD at the following address as I do not have the
financial capacity to buy it and as I am using a mobile internet connection
so its impossible for me download.




Address

Jnanadarshan nayak
C/O-Mardaraj Mishra
Old Jagannatha Road
Madhupatana-II
Cuttack
753010
Orissa
India


Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Michal

> 
> Thanks, this might prove useful.
> However I do have a question... which might be just as important.
> 
> How to identify which drive has failed in an array?
> 
> I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
> and /home.
> /dev/sdc
> /dev/sdd
> /dev/sde
> /dev/sdf
> Each have 1 partition.
> /dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
> /dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1
> 
> If a drive fails, how do I know which drive? This is a desktop system, not
> a server.
> 

One way is to label the disks themselves so you simply do;

cat /proc/mdstat which might say /dev/sd3 is down. Open the case, look
for the disk labled /dev/sde and replace it. If you have LED's like
servers have (probably not) they can be a fiddle to get working but it's
possible


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18d5fb.2000...@ionic.co.uk



Re: flashplayer-mozilla update from debian-multimedia.org

2010-06-16 Thread Liam O'Toole
On 2010-06-16, Chris Bannister  wrote:
> Hi,
>
> Just noticed that doing "apt-get update" and "apt-get dist-upgrade" on
> Debian Lenny now wants to pull in "ia32-libs ia32-libs-gtk
> ia32-libs-libcurl3 ia32-libs-libidn11 ia32-libs-libnspr4
> ia32-libs-libnss3 ia32-libs-libssh2 lib32asound2 lib32gcc1 
> lib32ncurses5 lib32stdc++6 lib32z1"
>
> fischer:~# apt-cache show flashplayer-mozilla
> […]
> Depends: libc6 (>= 2.3.6-6), libfontconfig1 (>= 2.4.0), libfreetype6 (>=
> 2.2), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libx11-6,
> libxext6, iceweasel | www-browser, nspluginwrapper, ia32-libs-libcurl3,
> ia32-libs-libnss3, libcurl3
>
> Seems like a fairly radical change for a stable system!, but then again
> using http://www.debian-multimedia.org is not recommended anyway. :(

Indeed. And if Adobe refuse to maintain the older version there's not
much anyone else can do about it.

>
> A (quick) google search leads me to:
>
> http://bbs.archlinux.org/viewtopic.php?pid=774473
>
> Looks like I'll have to run the insecure version because of:
>
> After this operation, 124MB of additional disk space will be used.
> E: You don't have enough free space in /var/cache/apt/archives/.
>

You can recover some disk space using 'apt-get clean' or (more
conservatively) 'apt-get autoclean'.

> Yeah, I know, hard drives are cheap. But till I get one, should I worry 
> about the security hole(s) or panic and not get on the web till I have
> another HDD?
>

I would do the upgrade, if possible. If not, consider disabling Flash in
the meantime.

-- 
Liam O'Toole
Cork, Ireland



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrni1hm1o.503.liam.p.oto...@dipsy.selfip.org



Re: usage of ifconfig

2010-06-16 Thread Chris Jackson

J.Hwan.Kim wrote:


Hi, everyone

When I change IP address and netmask via "ifconfig",
the netmask is set incorrectly.

For example, when I command in shell
"ifconfig netmask 255.255.255.0 70.7.44.102",
the IP address 70.7.44.102 is set correctly,
but the netmask is set to 255.0.0.0.



That's the classful netmask for 70.x.x.x.

I've never seen ifconfig used without an interface specified before 
(other than to print current settings), but a quick experiment indicates 
the netmask needs to go after the ip address:


ifconfig eth0 70.7.4.102 netmask 255.255.255.0

--
Chris Jackson
Shadowcat Systems Ltd.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c18ccbf.7020...@shadowcat.co.uk



Re: how execute command on every mail received

2010-06-16 Thread paragasu
On Wed, Jun 16, 2010 at 9:05 PM, H.S.  wrote:

> On 15/06/10 05:33 AM, paragasu wrote:
> > Hi all,
> >
> > I wonder if there is a simple SMTP deamon.
> > This deamon will execute a specific command on every email received.
> >
> > I have a PHP program that will parse the email and
> > send SMS to specific mobile phone number thereafter.
> >
> > please advice.
> >
> > Thanks
> >
>
> Wonder if procmail or heirloom-mailx can be of some help to you. I have
> used the former to do stuff on my incoming mail and the latter to send
> out mail based on some conditions on my machine. Do not much about
> internal working of mail protocol, so just wanted to throw this out there.
>
>
> --
>
> Please reply to this list only. I read this list on its corresponding
> newsgroup on gmane.org. Replies sent to my email address are just
> filtered to a folder in my mailbox and get periodically deleted without
> ever having been read.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/hvai7a$b0...@dough.gmane.org
>
>
> Perl can easily call a PHP script to finish handling
> the mail. Or you may be able to rewrite that part of
> your PHP script in Perl.

> Will post my script if you are interested.

Hi Joel,

I have been searching for some time. And i decided to use postfix.
It is great if you can show me your code. If possible your configuration
too.

Thank a lot.

paragasu


Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 13:13, Siju George wrote:
> Hope some one finds this helpful :-)
>
> --Siju
>
> Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
> =
>

Thanks, this might prove useful.
However I do have a question... which might be just as important.

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23452.91.183.48.98.1276695172.squir...@stevenleeuw.kwik.to



Printing on lp through usb.

2010-06-16 Thread Sthu Deus
Good day.

I try to install anew my matrix printer. And not able to specify the
device I use that is /dev/usb/lp1.

If I try to send directly to the device - it prints, but when I run
system-config-printer, I do not know which connection to use of the
following: usb serial port #*, appsocket, internet ..., lpd/lpr, other.

In case of other I have to specify a device URI that I do not know what
is. But trying to specify usb:///dev/usb/lp1 does not print a test
page.

So, how I can solve the problem?

Thank You for Your time.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18d457.1c365e0a.6e53.0...@mx.google.com



Re: Backups - was: Re: LVM

2010-06-16 Thread Lisi
On Wednesday 16 June 2010 14:14:22 Camaleón wrote:
> Many people send the replies to me directly and I am not sure
> whether if they are full aware of that (intentionally off-list) or this
> is just the famous Gmail's webmail "non-reply-to-list-but-sender"
> error :-)

I forgot that Gmail does that. ;-)  I use Gmail for several reasons, not least 
for the archives.  But I actually download via POP3 and do my reading and 
writing of emails in KMail.  Which has a reply-to-list function that I had to 
override.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201006161430.52237.lisi.re...@gmail.com



Re: usage of ifconfig

2010-06-16 Thread Camaleón
On Wed, 16 Jun 2010 21:51:41 +0900, J.Hwan.Kim wrote:

> When I change IP address and netmask via "ifconfig", the netmask is set
> incorrectly.
> 
> For example, when I command in shell
> "ifconfig netmask 255.255.255.0 70.7.44.102", the IP address 70.7.44.102
> is set correctly, but the netmask is set to 255.0.0.0.
> 
> Why does this case happen?

Because of ip addressing, classes and subnetting?

70.x.x.x is an "A" network class address and netmask is auto-set to the 
default "255.0.0.0".

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.16.13.26...@gmail.com



Re: Backups - was: Re: LVM

2010-06-16 Thread Lisi
On Wednesday 16 June 2010 14:14:22 Camaleón wrote:
> but I asked you why you were so reluctant to use
> differential backups on her computer. I couldn't understand "why" because
> today backup tasks are just "point-and-click", I mean, they are easier to
> achieve than any image generation of the whole disk, so they are suitable
> even for many non-savvy users :-)

Yes - I was thinking of doing most backup myself, and just leaving her to do 
back-up on the fastest changing data.  But I'll certainly look at this - 
after all, I was asking for ideas!

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201006161425.47987.lisi.re...@gmail.com



Re: Backups - was: Re: LVM

2010-06-16 Thread Camaleón
On Wed, 16 Jun 2010 10:05:56 +0100, Lisi wrote:

> On Wednesday 16 June 2010 08:41:03 Camaleón wrote:
>> El 2010-06-15 a las 22:58 +0100, Lisi escribió:
>>
>> (resending to the list)
> 
> Sorry.  I debated whether to send it to you or the list, and decided
> that it was OT for the list since I was commenting on a specific
> sentence of your that wasn't strictly germane to the subject of the
> thread.

No problem. Many people send the replies to me directly and I am not sure 
whether if they are full aware of that (intentionally off-list) or this 
is just the famous Gmail's webmail "non-reply-to-list-but-sender" 
error :-)
 
>> > On Tuesday 15 June 2010 19:44:33 Camaleón wrote:
>> I thought we were just taking/focusing about backup strategies and not
>> about other limitations derived by the type of user.
> 
> We were.  Which is why I thought that a reply to your:
> 
>> > > But it's "her" backup and "her" data. She should care about how to
>> > > do things like these, whatever place she is (home, university,
>> > > work...).
> 
> was OT on the list.

Was maybe OT... but I asked you why you were so reluctant to use 
differential backups on her computer. I couldn't understand "why" because 
today backup tasks are just "point-and-click", I mean, they are easier to 
achieve than any image generation of the whole disk, so they are suitable 
even for many non-savvy users :-)
 
Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.16.13.14...@gmail.com



Re: usage of ifconfig

2010-06-16 Thread Jordan Metzmeier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/16/2010 08:51 AM, J.Hwan.Kim wrote:
> Hi, everyone
> 
> When I change IP address and netmask via "ifconfig",
> the netmask is set incorrectly.
> 
> For example, when I command in shell
> "ifconfig netmask 255.255.255.0 70.7.44.102",
> the IP address 70.7.44.102 is set correctly,
> but the netmask is set to 255.0.0.0.
> 
> Why does this case happen?
> 
> Because I want to change the network enviroment in
> my application program,
> I use the command ifconfig with system() function.
> 
> Any hint will be helpful to me.
> 
> Thanks in advance.
> 
> Best Regards,
> J.Hwan Kim
> 

Does it work if you use CIDR notation?

Example: # ifconfig eth0 70.7.44.102/24

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJMGM04AAoJEKj/C3qNthmTF7AP/0JBjVoi8QJjo3jLf8O7V5vH
zwBeq5hHQlEj7Vj61WuRt63jKHYuSP8sdCyodHvi7Xb3KlUJOGXp//rcO5RLfTfg
MZMMcddn1LZzhU23UxbW97+9vwfWqvaYyPXo+3wxvY0dR6beCP9Z7KBJ3RHtT5fy
swbDwgFSKZJM8JSNGNwNMLpEpxOv3f05s6Qz5xbgrwZirJQDCb+g13KdX4AspeuV
V6kzVqHm7G3HUDE6TO68u5nFDDzNxp2G82m7kd8moFWq94eVck6llixWe5SrJhID
p+KJ/T/92nTCKu1E0lMvXgYibOQ11X89H4ViNkxifuXrXxw1ZssxeDhrp2PBTA76
RwkqyQkfF/hHxJAsYkhaoQkoMR5RlPw+HN1LQk3e8DcjQUYR0PoozDduL6WqPWXB
b7tIPVKatGzF2GNMcKfHPA2DvPWQCzhpw0BKMRsjOYu9P/B5khkooYU3MSGPcN5/
E375wvJ5ghm0KBh1qBJhWwdkzJmpFE4aSJFm7xyheQWnkS8P7G1FlW9OhnlOlr5M
AMxpJwQh6cWetVfFWIq62y/k7zP5o6ijry6XBHcn/IG/E7NqQX4iaxTtfm/iSyyw
IGOQbZg0NhkcWYjh9WA+qa5Ly6J5EFEZpsrwVVjEJ3xGQOW8RzSKUjTzTKJcAU1D
OnMq4ATNZL+BLborwLgn
=ts9n
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18cd38.9070...@gmail.com



Re: how execute command on every mail received

2010-06-16 Thread H.S.
On 15/06/10 05:33 AM, paragasu wrote:
> Hi all,
> 
> I wonder if there is a simple SMTP deamon.
> This deamon will execute a specific command on every email received.
> 
> I have a PHP program that will parse the email and
> send SMS to specific mobile phone number thereafter.
> 
> please advice.
> 
> Thanks
> 

Wonder if procmail or heirloom-mailx can be of some help to you. I have
used the former to do stuff on my incoming mail and the latter to send
out mail based on some conditions on my machine. Do not much about
internal working of mail protocol, so just wanted to throw this out there.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hvai7a$b0...@dough.gmane.org



usage of ifconfig

2010-06-16 Thread J.Hwan.Kim

Hi, everyone

When I change IP address and netmask via "ifconfig",
the netmask is set incorrectly.

For example, when I command in shell
"ifconfig netmask 255.255.255.0 70.7.44.102",
the IP address 70.7.44.102 is set correctly,
but the netmask is set to 255.0.0.0.

Why does this case happen?

Because I want to change the network enviroment in
my application program,
I use the command ifconfig with system() function.

Any hint will be helpful to me.

Thanks in advance.

Best Regards,
J.Hwan Kim




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c18c8dd@gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread martin f krafft
also sprach Siju George  [2010.06.16.1402 +0200]:
> > "Manually" is for Mac users. ;)
> 
> these days every one has left windows and are picking on Mac ? :-)

"Reinstalling" is for Windows users.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
the reason the mainstream is thought of as a stream
is because it is so shallow.


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


flashplayer-mozilla update from debian-multimedia.org

2010-06-16 Thread Chris Bannister
Hi,

Just noticed that doing "apt-get update" and "apt-get dist-upgrade" on
Debian Lenny now wants to pull in "ia32-libs ia32-libs-gtk
ia32-libs-libcurl3 ia32-libs-libidn11 ia32-libs-libnspr4
ia32-libs-libnss3 ia32-libs-libssh2 lib32asound2 lib32gcc1 
lib32ncurses5 lib32stdc++6 lib32z1"

fischer:~# apt-cache show flashplayer-mozilla
[…]
Depends: libc6 (>= 2.3.6-6), libfontconfig1 (>= 2.4.0), libfreetype6 (>=
2.2), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libx11-6,
libxext6, iceweasel | www-browser, nspluginwrapper, ia32-libs-libcurl3,
ia32-libs-libnss3, libcurl3

Seems like a fairly radical change for a stable system!, but then again
using http://www.debian-multimedia.org is not recommended anyway. :(

A (quick) google search leads me to:

http://bbs.archlinux.org/viewtopic.php?pid=774473

Looks like I'll have to run the insecure version because of:

After this operation, 124MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.

Yeah, I know, hard drives are cheap. But till I get one, should I worry 
about the security hole(s) or panic and not get on the web till I have
another HDD?

-- 
Chris.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616132214.gc31...@fischer



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Siju George
On Wed, Jun 16, 2010 at 5:06 PM, martin f krafft  wrote:
> also sprach Siju George  [2010.06.16.1322 +0200]:
>> > sfdisk -d /dev/sda | sfdisk /dev/sdb
>>
>> oh thanks :-)
>>
>> I did it manually using fdisk
>
> "Manually" is for Mac users. ;)
>

these days every one has left windows and are picking on Mac ? :-)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimgxdr683grsg4piso_pivu6pjwjkaspjgsm...@mail.gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread martin f krafft
also sprach Siju George  [2010.06.16.1322 +0200]:
> > sfdisk -d /dev/sda | sfdisk /dev/sdb
> 
> oh thanks :-)
> 
> I did it manually using fdisk

"Manually" is for Mac users. ;)

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
work like you don't need the money
love like you have never been hurt
dance like there's nobody watching


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Siju George
On Wed, Jun 16, 2010 at 4:48 PM, martin f krafft  wrote:
> also sprach Siju George  [2010.06.16.1313 +0200]:
>> 2) Create identical partitions on the new disk using 'fdisk'.
>
> sfdisk -d /dev/sda | sfdisk /dev/sdb
>

oh thanks :-)

I did it manually using fdisk

--Siju


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktilgnr-wlrnoqkmxlpyou0ep_vb-h3vlm4o6g...@mail.gmail.com



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread martin f krafft
also sprach Siju George  [2010.06.16.1313 +0200]:
> 2) Create identical partitions on the new disk using 'fdisk'.

sfdisk -d /dev/sda | sfdisk /dev/sdb

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"i always choose my friends for their good looks and my enemies for
 their good intellects. man cannot be too careful in his choice of
 enemies."
  -- oscar wilde


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100616111821.gb5...@piper.oerlikon.madduck.net



Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Siju George
Hope some one finds this helpful :-)

--Siju

Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
=

** Actual screen shot from terminal of steps taken during rebuild on
10-June-2010 on Debian Lenny ( Linux )**


1) Check the partitions layout on the current hard disk



srv1:~# fdisk /dev/sda

The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdd6e

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1 122  979933+  fd  Linux raid autodetect
/dev/sda2 1231338 9767520   fd  Linux raid autodetect
/dev/sda313392554 9767520   fd  Linux raid autodetect
/dev/sda42555   60801   467869027+  fd  Linux raid autodetect

Command (m for help):  quit

srv1:~#



2) Create identical partitions on the new disk using 'fdisk'.



Partition Id should be 'fd' for all RAID partitions. The resulting
layout should look like.

srv1:~# fdisk /dev/sdb

The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe3a3a447

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1 122  979933+  fd  Linux raid autodetect
/dev/sdb2 1231338 9767520   fd  Linux raid autodetect
/dev/sdb313392554 9767520   fd  Linux raid autodetect
/dev/sdb42555   60801   467869027+  fd  Linux raid autodetect

Command (m for help): q

srv1:~#



3) Check the current RAID status

srv1:~# cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sda4[1]
  467868928 blocks [2/1] [_U]

md2 : active raid1 sda3[1]
  9767424 blocks [2/1] [_U]

md1 : active raid1 sda2[1]
  9767424 blocks [2/1] [_U]

md0 : active raid1 sda1[1]
  979840 blocks [2/1] [_U]

unused devices:
srv1:~#

4) Rebuild the arrays and check thr status

srv1:~# mdadm -a /dev/md0 /dev/sdb1
mdadm: added /dev/sdb1
srv1:~# mdadm -a /dev/md1 /dev/sdb2
mdadm: added /dev/sdb2
srv1:~# mdadm -a /dev/md2 /dev/sdb3
mdadm: added /dev/sdb3

srv1:~# mdadm -a /dev/md3 /dev/sdb4
mdadm: added /dev/sdb4

srv1:~# cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdb4[2] sda4[1]
  467868928 blocks [2/1] [_U]
  [>]  recovery =  0.0% (285440/467868928)
finish=54.5min speed=142720K/sec

md2 : active raid1 sdb3[0] sda3[1]
  9767424 blocks [2/2] [UU]

md1 : active raid1 sdb2[0] sda2[1]
  9767424 blocks [2/2] [UU]

md0 : active raid1 sdb1[0] sda1[1]
  979840 blocks [2/2] [UU]

unused devices:
srv1:~#

5) Install grub on the MBR of new hard disk

srv1:~# grub-install /dev/sdb
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda
(hd1)   /dev/sdb
srv1:~#


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinfezni1ezq0vkdo4ryhh7uolrugaaje9_l1...@mail.gmail.com



Re: LVM

2010-06-16 Thread Stan Hoeppner
Ron Johnson put forth on 6/15/2010 1:50 PM:
> On 06/15/2010 01:37 PM, Andrew Sackville-West wrote:
> [snip]
>> an USB enclosure and use it for backups. Having ~700GB of data with the
>> most critical ~400GB backed up is definitely preferable than no
> 
> Geez, I remember when I couldn't fill up a 40_MB_ drive, and before that
> when I was in awe of the KayPro 10.
> 

My first computer was a Kaypro PC.  No CP/M.  This was an IBM XT knock off
with a 20MB HD, though faster than the XT, sporting an 8MHz 8088.  Taught
myself dBaseIII/Fox Pro, Turbo Pascal and Quick Basic on that machine (amongst
others), as well as burning many an hour playing Microprose' Gunship with a CH
Flighstick. :)

Sometimes I miss those simpler times...

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18b0e9.2080...@hardwarefreak.com



Re: Problem removing nvidia-glx

2010-06-16 Thread Chris Bannister
On Tue, Jun 15, 2010 at 06:40:16PM -0400, Curt Howland wrote:
> ==
> Removing nvidia-glx ...
> rm: cannot remove `/usr/lib/libGL.so': No such file or directory
> dpkg-divert: rename involves overwriting `/usr/lib/libGL.so.1.2' with
>   different file `/usr/lib/nvidia/libGL.so.1.2.xlibmesa', not allowed
> dpkg: error processing nvidia-glx (--purge):
>  subprocess post-removal script returned error exit status 2
> Errors were encountered while processing:
>  nvidia-glx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ==
> 
> This is preventing every other function, stopping updating and such.
> 
> I have the idea that I could _delete_ the file "/usr/lib/libGL.so.1.2" 
> and run the remove, but I don't know what problems that might cause.

You could rename it, and try again. I have nvidia installed on Lenny
using "module assistant"…

fischer:~# ls -al /usr/lib/libGL*
lrwxrwxrwx 1 root root   18 2009-01-09 16:34 /usr/lib/libGL.so.1 ->
libGL.so.173.14.09
-rw-r--r-- 1 root root   845024 2008-09-02 06:09
/usr/lib/libGL.so.173.14.09
lrwxrwxrwx 1 root root   20 2008-12-29 21:56 /usr/lib/libGLU.so.1 ->
libGLU.so.1.3.070004
-rw-r--r-- 1 root root   546088 2008-12-14 15:29
/usr/lib/libGLU.so.1.3.070004
lrwxrwxrwx 1 root root   22 2009-01-09 16:34 /usr/lib/libGLcore.so.1
-> libGLcore.so.173.14.09
-rw-r--r-- 1 root root 16181640 2008-09-02 06:09
/usr/lib/libGLcore.so.173.14.09

… and I have no "/usr/lib/libGL.so.1.2" file.

Here is the contents of "/usr/lib/nvidia/"

fischer:~# ls -al /usr/lib/nvidia/
total 3788
drwxr-xr-x  2 root root4096 2009-07-01 14:51 .
drwxr-xr-x 80 root root   49152 2010-05-30 23:39 ..
-rw-r--r--  1 root root  517264 2008-12-14 15:29 libGL.so.1.2.xlibmesa
lrwxrwxrwx  1 root root  12 2008-12-29 21:56 libGL.so.1.xlibmesa ->
libGL.so.1.2
-rw-r--r--  1 root root 2606591 2009-06-11 22:07 libGLcore.so.xlibmesa
-rw-r--r--  1 root root  529621 2009-06-11 22:07 libglx.so.xlibmesa
-rw-r--r--  1 root root  127224 2008-09-02 06:09
libnvidia-cfg.so.173.14.09
-rwxr-xr-x  1 root root5064 2008-09-02 06:09 tls_test
-rw-r--r--  1 root root4920 2008-09-02 06:09 tls_test_dso.so

-- 
Chris.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616121059.gb31...@fischer



Re: git rebase question

2010-06-16 Thread Anand Sivaram
On Tue, Jun 15, 2010 at 21:46, Boyd Stephen Smith Jr.  wrote:

> Hrm, this isn't actually on-topic for Debian-user.  You might have better
> luck
> with the Git user's mailing list.
>
> On Tuesday 15 June 2010 05:50:45 Anand Sivaram wrote:
> > I am trying to understand the different aspects of git rebase, especially
> > the "--onto" option.  So I was going through "git help rebase".
> > That made me consider a few other scenarios.
>
> Git's rebase in a nutshell:
>
> Switch to the  argument.
> Determine where the current branch splits from ; call that MB.
> Convert MB..HEAD into a quilt / series of patches; call that Q.
> Reset  to , or  if --onto was not specified.
> Replay Q, allowing the user to manually fix up issues or abort the whole
> process.
>
> > 1. The first example is "git rebase master" or "git rebase master topic"
> > But if we want to use "--onto" option, this would become
> > git rebase --onto master E topic
> > or
> > git checkout topic
> > git rebase --onto master E
> > Where E is ether the commit hash of E, HEAD~3, master~3 or any other
> > tag/branch
> > attribute of E in case there are any.
> > Is it correct?
>
> The "" argument to Git's rebase can be anything that Git can
> resolve
> to a commit object.  That's true.
>
> (git rebase --onto master master topic) does exactly the same thing as (git
> rebase master topic).
>
> In this case, since E is the "branch point" / "merge base" for topic and
> master, (git rebase --onto master E topic) does the same thing as (git
> rebase
> master topic); as does (git rebase --onto master F topic) and (git rebase
> --
> onto master G topic).
>
> > 2. In the same example, when we do
> > git rebase --onto F E topic
> > Does the output become the following?
> >   A'--B'--C' topic
> >  /
> > D---E---F---G master
>
> Yes.
>
> > 3. In the same example, suppose we do
> > git rebase --onto master B topic
> > The output will become
> >
> >  C' topic
> > /
> > D---E---F---G master
>
> Yes.
>
> Commits A and B will still exist; they might be dangling objects, but they
> won't be immediately deleted.
>
> > Is it like cherry picking just C
> > git cherry-pick C
>
> Yes.
>
> > Could anyone verify these answers?
>
> How would you like me to do that?
> --
> Boyd Stephen Smith Jr.   ,= ,-_-. =.
> b...@iguanasuicide.net   ((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
> http://iguanasuicide.net/\_/
>

Boyd Stephen,

Thanks for the
help and clarifications.

Thanks and Regards

Anand


Re: turn off all logging

2010-06-16 Thread Steve Dierker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Alternatively, you could mount /var/log as tmpfs, so it writes to RAM
> instead of to disk.
> 
> -Rob
> 
> 

I would suggest to mount /var/log as tmpfs and backup it per cronjob to
your harddrive every hour.
So you are minimizing the write access to your harddrive but have the
advantage of logs.

..steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwYpMQACgkQE1yyxrH9oQBHAACgo9tOcZFCgu+gK+lICapQTNQm
SswAoKS2CwPlY0idG0TJU1emYjXr1VVr
=/yJr
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18a4c4.60...@zedat.fu-berlin.de



Re: Backups - was: Re: LVM

2010-06-16 Thread Stan Hoeppner
Ron Johnson put forth on 6/15/2010 10:59 AM:

> I wrote a script that only backs up our data directories (including much
> of /home) into a bunch of tarballs, excluding "junk" folders like
> caches, thumbnails, trash, etc, and compressing most but not stuff like
> image and OOo document directories.

What you using for compression here Ron?  gzip or bzip2?  or ??

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18ab37.8010...@hardwarefreak.com



Re: LVM

2010-06-16 Thread Stan Hoeppner
Boyd Stephen Smith Jr. put forth on 6/15/2010 10:44 AM:
> On Tuesday 15 June 2010 04:52:10 Stan Hoeppner wrote:
>> Boyd Stephen Smith Jr. put forth on 6/14/2010 10:45 AM:
>>> On Monday 14 June 2010 03:11:56 Gerald C.Catling wrote:
 Hi Guy's,
 I am not a Debian user but I have seen references to LVM here.
 I have 3 drives LVM'd to give me 1.3TB of storage space on my server.
 The first drive of this set has died.
>>>
>>> Mostly, when one of your physical volumes is irrecoverably lost, so is
>>> any logical volume whose logical extents corresponded to one of the lost
>>> physical extents.
>>
>> This is why one should only use LVM on top of real hardware or software
>> RAID or a big SAN LUN.  
> 
> You should use LVM on top of whatever you have.  It's vastly superior to 
> partitioning as a way to divide a disk.  Even if you do not need to divide a 
> disk, the adds snapshotting and an on-line migration path above just using 
> the 
> disk.

I meant this in the context of the OP's problem.  IIRC, he was using LVM to
span the capacity of 3 disks into a single large volume, increasing his
failure probability 3 fold.

Aggregate the space using RAID so you get some redundancy, then use LVM to
carve up the resulting space.  Don't use LVM to aggregate space, as it
increases the odds of total volume failure.

Using LVM to manage space on a single disk is fine.  Using it for spanning,
with no kind of redundancy, is not wise.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18a9f3.6040...@hardwarefreak.com



Re: debian architecture history question

2010-06-16 Thread Stan Hoeppner
Ron Johnson put forth on 6/15/2010 10:21 AM:
> On 06/15/2010 04:34 AM, Stan Hoeppner wrote:
> [snip]
>>
>> Disclaimer:  my comments below intentionally exclude x86-64 capable CPUs
>>
>>
>> There are different kernels for different models of the Intel x86
>> processor
>> family and compatibles, but make no mistake, they all use the same
>> instruction
>> set introduced in the 80386.  There is no i686 instruction set, nor an
>> i586 or
>> i486 instruction set.
> 
> This is just *wrong*.

No, it's not "just wrong".  If you read the Intel literature, there is a
single IA32 instruction set.  Some processor models have additional model
specific instructions because they introduce new registers, but the
instruction set, or IA32 ISA, is the same across the board.  I clearly
explained later in my post that some models have model specific extensions.

> http://en.wikipedia.org/wiki/X86_instruction_listings#Added_with_80486
> 
> http://en.wikipedia.org/wiki/X86_instruction_listings#Added_with_Pentium_Pro
> 
> 
> You may think that's not a lot, but it is to a compiler writer, and it
> demonstrates that Stan's wrong.

Is this about answering the OP's question or proving me wrong?  You said that
twice now, and that duck doesn't hunt.  I've stated nothing factually incorrect.

That said, I'm not the maintainer of the i486, i586, and i686 kernels, so I
can't say with certainty exactly what is included in each kernel or what gcc
flags were used when built.  However, specifically in the case of the i486
kernel, I find it hard to believe a kernel would be rebuilt due to 6 new
instructions, 3 of which simply flush the L1 cache in one fashion or another.
 I could be wrong, though it seems like wasted effort given the small gain.

In the case of the Pentium Pro, Intel simply added a conditional for each move
instruction.  Again, I don't know if using these instructions would yield much
if any performance gain for kernel code.

Again, I believe the differences in these kernels have more to do with
subroutines that address specific features of each platform than with what
instructions were exposed to gcc at compile time.  The largest difference is
the BIOS for each of these CPU generations, and different BIOSes are going to
require different kernel code.  In the case of the Pentium Pro (and later)
there is code to manage the L2 cache, although you don't see anything related
to L2 cache instructions on the Wikipedia pages.  I'd say the data there is
incomplete.  I'll have to research it.

Also, AFAIK, the i686 kernels run on the Cyrix 6x86, which, IIRC, doesn't
support the conditional move instructions of the Intel PPro...

>>   As a matter of fact, the latter of these aren't
>> even
>> models of Intel CPUs.
> 
> You're right, just as I'm not "The Johnsons".  That's a *family*
> designation.

Now that's just plain wrong.  There is no "i586" or "i686" family.  People
other than Intel came up with these descriptions.  Intel specifically made a
point that there is no 586 and no 686.  They did this because copyright became
an issue when they tried to silence their competition in court.  The judges
said you can't copyright a number.  Thus Intel invented "Pentium" and
copyrighted it so competitors making compatible chips couldn't piggy back.

>>What kernel programmers call i586 and i686 are
>> actually
>> classes or sets of features of Intel and compatible competitor CPUs from
>> Cyrix, IBM, TI, and AMD.  The original Intel 60/66 MHz Pentium model
>> number is
>> actually 80501.  All Pentiums up to the MMX models were numbered
>> 80502.  The
>> i686 kernel label describes the Pentium Pro, whose model number is
>> 80521, and
>> all other later 32 bit x86 CPUs to follow it.
> 
> Manufacturing codes?  So what?

These aren't manufacturing codes, these are model numbers.  Everyone calls a
"386" a "386" because the chip model number is 80386.  Same for all Intel
chips before it, and the 80486 or "486" after it.  The Pentium is actually
Intel model 80501.  Again, Intel specifically did this to get away from "model
numbers as product names".

My whole point here was that Intel never described their Pentium or Pentium
Pro with any kind of "family" model number designation as had previously been
done.  They intentionally changed course.  Everyone else, however, applied
their own labels, and continued naming Intel's chips in succession, even
though Intel didn't.

> [big snip of partly correct, partly nonsense]

Thanks for the civil critique Ron.  Now, go talk to the devs and find out
exactly what the differences are between the kernels in question, and then you
can elaborate on my degree of nonsense. :)

-- 
Stan



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18a619.1040...@hardwarefreak.com



Re: Configuring the Huawei E620 dongle to work using wvdial

2010-06-16 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Samad wrote:

> I am doing something similar with tpg (aka optus), can I suggest just
> using pppd call   debug until you work out what the
> problem is, it all looks okay to me. but debug should give you some
> more info.

I looked at what the pppd manual page has to say about the "call 
debug" option.  I am not sure what in this situation the  should
be.  Under "call " the pppd manual name has this to say:

"Read additional options from the file /etc/ppp/peers/. This file
may contain privileged options, such as noauth, even if pppd is not
being run by root. The name string may not begin with / or include .. as
a pathname component. The format of the options file is described below."

In the /etc/ppp/peers/ directory there is only one file created since I
started trying to configure the E620: wvdial.distrib. The directory also
has a symbolic link: wvdial --> wvdia.distrib.  That file contains the
following text:

noauth
name wvdial
usepeerdns

Should the  in "call  debug be wvdial?

Under the "debug" option in the "pppd" manual page appears the following:

"Enables connection debugging facilities. If this option is given, pppd
will log the contents of all control packets sent or received in a
readable form. The packets are logged through syslog with facility
daemon and level debug. This information can be directed to a file by
setting up /etc/syslog.conf appropriately (see syslog.conf(5))."

So, to make life easier I should add the following line in the rules
section of /etc/rsyslog.conf (rssyslog is installed in my laptop,
successor apparently to syslog):

pppd.*  -/var/log/pppd.log

Correct?  (I suppose I could grep all the pppd entries in / var/syslog
to a separate file, but amending the rsyslog.conf seems easier and neater.)

Finally, I should run the full command as root with the dongle attached,
 yes?

Regards, Ken Heard

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwYhnwACgkQlNlJzOkJmTfDyQCfTK9XH8NRQ5KUmnfc67CcQ8Vh
3OEAnRjzspMWZQumfVq3FVr3D/xuXpiX
=EJa+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18867d.4040...@heard.name



Re: LVM

2010-06-16 Thread martin f krafft
also sprach Boyd Stephen Smith Jr.  [2010.06.15.2108 
+0200]:
> > Use mdadm for a RAID5 or RAID6 and LVM on top for the remaining
> > cases when you need space and care less about performance.
> 
> Use RAID 1/0 in mdadm when you need redundancy, space, and performance.
> 
> (Although, IME, RAID 5 is not badly performing.)

Sure it is, on writes. If you have the right hardware, you won't
notice, but every write takes twice as much work.

http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=docs/RAID5_versus_RAID10.txt;hb=refs/heads/contrib/docs/raid5-vs-raid10

> This is particularly useful when you have 3 disks, but only need one disk 
> redundancy.  mdadm can layout data like this:
> 
> | disk1 | disk2 | disk3 |
> +---+---+---+
> | dataA | dataA | dataB |
> | dataB | dataC | dataC |
> 
> LVM cannot, easily.
> 
> RAID 1/0 through mdadm with 4 disks is also better than strictly layering the 
> RAID levels.

Do you have any data to back this up? Fundamentally, the data will
traverse one layer less, but does it actually make a difference?

> mdadm 0/1 4 disk, 1 redundant copy of data:
> | disk1 | disk2 | disk3 | disk4 |
> +---+---+---+---+
> | dataA | dataA | dataB | dataB |
> | dataC | dataD | dataC | dataD |
> | dataE | dataF | dataF | dataE |
> 
> (same redundancy level as RAID 5, no parity calculations needed.)
> 
> mdadm 0/1 4 disk, 2 redundant copy of data:
> | disk1 | disk2 | disk3 | disk4 |
> +---+---+---+---+
> | dataA | dataA | dataA | dataB |
> | dataB | dataB | dataC | dataC |
> | dataC | dataD | dataD | dataD |
> 
> (same redundancy level as RAID 6, although some capacity may be
> lost near the end, no parity calculations needed.)

More info (and patches welcome):

http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=docs/RAID5_versus_RAID10.txt;hb=refs/heads/contrib/docs/raid5-vs-raid10
http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob;f=debian/FAQ;hb=HEAD#l106

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"you don't sew with a fork, so I see no reason
 to eat with knitting needles."
   -- miss piggy, on eating chinese food


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: Backups - was: Re: LVM

2010-06-16 Thread Lisi
On Wednesday 16 June 2010 08:41:03 Camaleón wrote:
> El 2010-06-15 a las 22:58 +0100, Lisi escribió:
>
> (resending to the list)

Sorry.  I debated whether to send it to you or the list, and decided that it 
was OT for the list since I was commenting on a specific sentence of your 
that wasn't strictly germane to the subject of the thread.

> > On Tuesday 15 June 2010 19:44:33 Camaleón wrote:
> I thought we were just taking/focusing about backup strategies and not
> about other limitations derived by the type of user.

We were.  Which is why I thought that a reply to your:

> > > But it's "her" backup and "her" data. She should care about how to do
> > > things like these, whatever place she is (home, university, work...).

was OT on the list.

But you clearly thought that we were talking about an adult, and I felt that 
you were a little hard on her as a result!  We were all teenagers once.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201006161005.56270.lisi.re...@gmail.com



Re: how execute command on every mail received

2010-06-16 Thread Joel Roth
On Tue, Jun 15, 2010 at 05:33:47PM +0800, paragasu wrote:
> Hi all,
> 
> I wonder if there is a simple SMTP deamon.
> This deamon will execute a specific command on every email received.
> 
> I have a PHP program that will parse the email and
> send SMS to specific mobile phone number thereafter.

I use a rudimentary perl script based on Net::POP3 and Email::Filter
to download and sort my messages from a POP3 mailbox. 

Similar code could also be placed in a forward file, i.e. launched
the same was as procmail, for every mail delivered.

Perl can easily call a PHP script to finish handling
the mail. Or you may be able to rewrite that part of 
your PHP script in Perl.

Will post my script if you are interested.

HTH

Joel

> please advice.
> 
> Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616090155.ga3...@sprite



Re: new install and 1 MB between partitions

2010-06-16 Thread Ron Johnson

On 06/15/2010 07:22 AM, Mélaine Aubin Guifo wrote:

Hello,

I made a new installation of my Debian system two days ago and noticed
that there is about 1 MB  unallocated between partitions.

I would like to know the reason of this change.



How big is that drive?

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c188efe.3030...@cox.net



Re: Backups - was: Re: LVM

2010-06-16 Thread Camaleón
El 2010-06-15 a las 22:58 +0100, Lisi escribió:

(resending to the list)

> On Tuesday 15 June 2010 19:44:33 Camaleón wrote:
> > But it's "her" backup and "her" data. She should care about how to do
> > things like these, whatever place she is (home, university, work...).
> 
> I was forgetting that "school" means different things in American and British 
> English.  We are talking about a young teenager, who is currently more 
> interested in fashion than the internal workings of a computer, especially 
> after some dire "IT" lessons at school (=institution for children). 

Okay, sorry for misunderstanding :-)

I thought we were just taking/focusing about backup strategies and not 
about other limitations derived by the type of user.
 
> She _was_ interested in the workings of computers, and she will I am sure be 
> so again.  For now her expressed attitude is: "When I am at school the IT 
> department does it (my note - but very limitedly), when I am at home with 
> you, you do it, and when I am in Japan Daddy does it.  Why do I need to do 
> it?"

Now I see. Then you should definitely care about her backup. She is so 
young for taking these things by "motu-propio" (by her own), unless she 
is a power techie girl :-)
 
> But she will do it for herself the first time she wants it done and neither I 
> nor her father is available.  I have found that a good general ploy is "Of 
> course I'll come and help you do it.  Just let me finish what I am doing at 
> the moment."

Mmmm, then you could split the backup strategy in two separate tasks:

Task 1/ Personal data backup can be triggered by the lady (by means of a
simple script in the desktop). That way you are teaching her about good 
managing of the computer and to be responsible. This can be run once a 
week. If you know beforehand the computer is "on" on specific hours, it 
can be also automated.

Task 2/ Full backup (disk image). This is a very slow task that 
requires time and plenty of free space so you can make a snapshot of the 
disk on a monthly basis (or two times in a month).
 
> But _I_ want a backup of her hard drive because I would have to sort out the 
> mess if the hard drive were to die. :-(

Yes, it's a valid point. And Clonezilla does a good job here (full disk 
imaging or partition imaging), although other people use rsync. But I'm
afraid you'll need more than DVD discs to get this done flawlessly 
(external USB hard disk or small NAS would be better) :-)

Greetings,

-- 
Camaleón 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616074103.gb4...@stt008.linux.site



Re: Triple boot with MS XP

2010-06-16 Thread Huang, Tao
On Wed, Jun 16, 2010 at 2:34 PM, ABSDoug  wrote:
> Cheesy that I wouldn't just write straight to the partition with /home files, 
> from XP. The way I have it setup now, info is stored on a ntfs named 
> "storage", any OS can read/write. That said, I don't really use XP that much 
> anyway.
>

why do you need to access the /home partition when using winxp?
ntfs doesn't support POXIS file ownership and permissions natively. so
keep you /home partition to a linux filesystem.
you can have a separate storage partition for shared documents and
files, mount it to the /home hierarchy or somewhere else, and access
it with each of your installed os.

btw, what's keeping you from moving your winxp into virtualization?


Regards,
Tao


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktil1jgwlnbljqkhszrm0x1f9lzw8hd-wipc9s...@mail.gmail.com



Re: problems with dell poweredge server R140 (rack) [solved]

2010-06-16 Thread Eero Volotinen
2010/6/16 Justin The Cynical :
> On 6/15/10 11:59 PM, Eero Volotinen wrote:
>> Looks like problem is on iDrac, because it is connected as scsi device.
>>
>> solution was: deattach iDrac after boot and fix the root device on
>> grub commandline.
>
> There you go, Dell's virtual media stuff throwing it off.
>
> For the record, USB storage (along with parallel and serial IDE) is
> handled via the SCSI I/O subsystem, so it makes sense that the virtual
> media interface on the DRAC, which looks like a USB device, showed up as
> a SCSI device.
>
> Glad you got it working.

Yes, it was pain in the ..

Big thanks for your help.

--
Eero


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikqyxzngfvid2cenyjazd-ffhy2pn8gffyp5...@mail.gmail.com



Re: new install and 1 MB between partitions

2010-06-16 Thread Camaleón
El 2010-06-15 a las 15:32 -0500, Arthur Machlas escribió:

(forwarding to the list)

> >> I made a new installation of my Debian system two days ago and noticed
> >> that there is about 1 MB  unallocated between partitions.
> >
> > How is that? Are you on lenny, squeeze...?
> >
> > As root, type "fdisk -l" and put here the output.
> >
> >> I would like to know the reason of this change.
> >
> > How did you partitioned the disk, with Debian installer?
> >
> 
> No OP, but I noticed the same thing using the latest netinst for
> Squeeze. Cfdisk won't even startup after a clean install because of
> the partioning magic that happens during install.
> Best,
> AM

Greetings,

-- 
Camaleón 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100616071127.ga4...@stt008.linux.site



Re: problems with dell poweredge server R140 (rack) [solved]

2010-06-16 Thread Justin The Cynical
On 6/15/10 11:59 PM, Eero Volotinen wrote:
> Looks like problem is on iDrac, because it is connected as scsi device.
> 
> solution was: deattach iDrac after boot and fix the root device on
> grub commandline.

There you go, Dell's virtual media stuff throwing it off.

For the record, USB storage (along with parallel and serial IDE) is
handled via the SCSI I/O subsystem, so it makes sense that the virtual
media interface on the DRAC, which looks like a USB device, showed up as
a SCSI device.

Glad you got it working.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c1877f2.9040...@penguinness.org