Re: Need suggestions on a backup issue

2012-07-20 Thread Dan Ritter
On Fri, Jul 20, 2012 at 07:04:35PM +0100, Tixy wrote:
 On Fri, 2012-07-20 at 09:50 -0600, Paul E Condon wrote:
  I need a way to test in Bash whether, or
  not, there actually is a disk mounted at /media/wdp8. 
 
 A bit hacky, but what I do in my backup scripts is...
 
if mount | grep -q  /media/wdp8 
then
   ...
fi

One other suggestion:

If you mount a backup drive on /media/wdp8/, have your backup
program start writing to /media/wdp8/backup/, a dir that exists
on the drive but not on your underlying filesystem.

If the directory doesn't exist, it ought to exit with an
appropriate error rather than filling your root filesystem.

-dsr-


-- 
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/20120720182959.gw8...@randomstring.org



Re: replacing GDM with a script

2012-08-02 Thread Dan Ritter
On Thu, Aug 02, 2012 at 12:22:27PM -0400, Frank McCormick wrote:
 
   I am running 3 Linux distros with Sid as my main one. I am curious
 to know if it's possible to replace GDM with a BASH script. The
 issue is complicated because I run 3 window managers with Sid and a
 similar situation with the other 2 distros. Googling the problem
 hasn't turned up much of interest. I am in Sid most of the time, so
 the script could only apply here. Does anyone have any suggestions?
 

I'm not entirely sure what you're asking, but let me outline
some possibilities:

- you don't have to run GDM at all. Disable it with update-rc.d
  and shut it down (/etc/init.d/gdm stop). Then you can start X 
  per user with startx. You can script that. 

- Perhaps you want to have custom GDM sessions? Look at the
  config files. You can select a desktop environment at GDM
  login time.


-dsr-


-- 
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/20120802163433.gj8...@randomstring.org



Re: Debian desktop news

2012-08-10 Thread Dan Ritter
On Fri, Aug 10, 2012 at 09:33:04AM -0400, Guy Gold wrote:
 On Fri,Aug 10 02:26:PM, Darac Marjal wrote:
 
  However, I don't know whether you can really say Debian+GNONE3. Debian
  is nothing without the packages. Gnome 3 is part of Debian.
 
 When was GNOME3 the default desktop for Debain ? (luckily , it
 was not in squeeze, which came with GNOME2 , I'm unning Squeeze
 with Gnome 2.3 , am I missing anything ?

GNOME 3 has never been the default desktop for Debian Stable. It
was, for a while, the default for Wheezy, but has been replaced
by XFCE because GNOME 3 will not fit on the first CD image.

You will still be able to install GNOME 3 by either downloading
more images or using the standard repositories.

GNOME 3 is quite different from the GNOME 2 series, and has made
some people correspondingly upset. XFCE is fairly similar to
GNOME 2, and may suit those people better. In particular, GNOME
3 really wants 3D accelerated video. XFCE doesn't care much
about that. 

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120810135513.gz8...@randomstring.org



Re: Query about failure of Debian 6 64 bit to swap properly

2012-08-29 Thread Dan Ritter
On Thu, Aug 30, 2012 at 02:16:23AM +0800, Bret Busby wrote:
 On Wed, 29 Aug 2012, Camaleón wrote:
 
 On Wed, 29 Aug 2012 16:23:47 +0800, Bret Busby wrote:
 
 (...)
 
 So, my query is this; is the inability of 64 bit Debian 6, to swap
 properly, instead using increasing amounts of RAM until it runs out of
 RAM, then crashing, while having 40GB of unused swap partition allocated
 and swappiness set to 70, due to the inability of the file manager to
 cope with filesize greater than 1GB?
 
 I think you are talking about two problems here. Let's see...

I agree with Camaleó. You have at least two problems.


 The problem is that the computer runs out of RAM.

OK, why?

Run top and tap 'm'. You will see the processes in your system
ordered according to memory usage. What are the top offenders,
and how much are they using?

 I can not save files larger than about 1.2GB, to the system.
 
 The file manager crashes, and, crashes the system, when the saved
 file size gets to 1.2GB, if it gets that big. I have had some
 attempted file saves crash at 12MB, crashing the system.

Which file manager are you using? There are roughly 300 of them
available in Debian.

Does the same problem occur when you rm a file from the command
line?

 In Debian 5, I could sometimes kickstart memory swapping, by running
 something like the GIMP, and opening images, then closing the
 application, at which stage, memory swapping would sometimes start
 (on a different computer - Debian 5 would not run on this computer),
 but I have not yet managed to get memory swapping working properly
 in the 64 bit Debian 6. I do not remember whether the memory
 swapping works on the 32 bit installation of Debian 6, on my NX5000
 laptop.

This is bizarre.

All you need to do to start swap availability is to have a swap
partition or swap file created and identified in /etc/fstab.

/sbin/swapon -s  will show you what partitions or files you are
using, and how big they are and how much is used. Your goal is
to generally not be using swap at all.

You can turn swapping on and off with
/sbin/swapon -a
/sbin/swapoff -a

-a is for all.

-dsr-


-- 
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/20120829183605.gf4...@randomstring.org



Re: Query about failure of Debian 6 64 bit to swap properly

2012-08-29 Thread Dan Ritter
On Wed, Aug 29, 2012 at 01:01:28PM -0600, Bob Proulx wrote:
 
 To the list...  Does anyone have any nice 'ps' recipies for doing the
 same thing?

ps STUFF --sort vsize

-dsr-


-- 
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/20120829193828.gg4...@randomstring.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Dan Ritter
On Tue, Aug 28, 2012 at 09:28:20AM -0400, Kamaraju S Kusumanchi wrote:
 1) Does this mean there are badblocks on my hard drive?

Yes.

 2) Am I correct in choosing yes to both these questions or is there a 
 better way?

Yes.

 3) Is the drive going bad and need to be replaced?

Yes.

 4) What might have caused this problem and how to prevent it in the future?

I don't know, but in my experience, USB-connected hard disks
suffer these problems much more than PATA/SATA/eSATA/SCSI/SAS
disks do.

 5) Is the filesystem on this partition corrupted?

Possibly. If you get to the end of the fsck and run it again,
and it comes up clean, then the filesystem is OK. Nevertheless,
it's time to get a new disk and copy everything you want off.

-dsr-


-- 
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/20120830195152.gi4...@randomstring.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-09-02 Thread Dan Ritter
On Thu, Aug 30, 2012 at 11:40:55PM -0400, Kamaraju S Kusumanchi wrote:
 Dan Ritter wrote:
 
  On Tue, Aug 28, 2012 at 09:28:20AM -0400, Kamaraju S Kusumanchi wrote:
  4) What might have caused this problem and how to prevent it in the
  future?
  
  I don't know, but in my experience, USB-connected hard disks
  suffer these problems much more than PATA/SATA/eSATA/SCSI/SAS
  disks do.
  
 
 What about solid state hard drives that can be connected via USB drive? I 
 heard solid state hard drives are more dependable (but expensive) than the 
 usual (IDE?) ones. Does USB connection matter there too?

I haven't any experience with those, other than thumb-sized
sticks and the like. I suspect the problem is the USB connection
rather than the drive technology.

-dsr-


-- 
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/20120902135040.gp4...@randomstring.org



Re: Storage server

2012-09-07 Thread Dan Ritter
On Fri, Sep 07, 2012 at 06:29:35PM +0200, Veljko wrote:
 
 Hi!
 
 I'm in the process of making new backup server, so I'm thinking of best
 way of doing it. I have 4 3TB disks and I'm thinking of puting them in
 software RAID10.
 
 I created 2 500MB partitions for /boot (RAID1) and the rest it RAID10.

So far, so good.

 LVM will provide me a way to expand storage with extra disks, but if
 there is no more room for that kind of expansion, I was thinking of
 GlusterFS for scaling-out.

Let me suggest a different approach. It sounds like you're
planning on a lot of future expansion.

Get a high-end SAS RAID card. One with two external SFF8088
connectors.

When you start running out of places to put disks, buy external
chassis that take SFF8088 and have daisy-chaining ports. 2U
boxes often hold 12 3.5 disks.

You can put cheap SATA disks in, instead of expensive SAS disks.
The performance may not be as good, but I suspect you are
looking at sheer capacity rather than IOPS.

Now, the next thing: I know it's tempting to make a single
filesystem over all these disks. Don't. The fsck times will be
horrendous. Make filesystems which are the size you need, plus a
little extra. It's rare to actually need a single gigantic fs.

 OS I would use is Wheezy. Guess he will be stable soon enough and I
 don't want to reinstall everything again in one year, when support for
 old stable is dropped.

This is Debian. Since 1997 or so, you have had the ability to
upgrade from major version n to version n+1 without
reinstalling. You won't need to reinstall unless you change
architectures (i.e. from x86_32 to x86_64).

-dsr-


-- 
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/20120907174232.gy4...@randomstring.org



Re: Persistent MySQL Process

2012-10-06 Thread Dan Ritter
On Fri, Oct 05, 2012 at 11:27:07AM -0700, Daniel Latter wrote:
 Hi All,
 
 System:
 cat /etc/issue
 Debian GNU/Linux 6.0
 
 I have a long running MySQL process that runs for days and eventually crashes 
 the server.
 
 I googled about and discovered that Debian has it's own MySQL start up script 
 that runs a  check tables command, so I commented this out and restarted, 
 but the process immediately started again. 
 
 I have webmin installed and when I view the process information it has a 
 parent process of init[2]?
 
 Also, when I view the files and programs related to the persistent process in 
 question, it lists ibdata files (innodb data files), one being 8GB in size! I 
 am wondering if this has anything to do with it? 
 
 Any help or pointers would be greatly appreciated.

grep mysql /etc/inittab

grep mysql /etc/init.d/*

If it shows up in the first, pull it out and reboot. If it shows
up more than once in the second, look for the offending script.

-dsr-


-- 
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/20121007022706.gn4...@randomstring.org



Re: How to update

2012-10-25 Thread Dan Ritter
On Thu, Oct 25, 2012 at 07:41:54PM +0100, Edwin Zarthrusz wrote:
 Can you send me a straight-forward list of commands for updating and applying 
 any necessary security patches and such on my install? And is there a way of 
 getting it to update automatically?


1. Edit your /etc/apt/sources.list and make sure there's a
stanza for security.debian.org.

2. sudo apt-get install apticron

3. edit /etc/apticron/apticron.conf to have a reliable email
address for you.


Now you will get an email whenever there are security updates
for your system, and a reminder of the single command necessary
to apply them all.

Read http://www.debian.org/security/


-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20121025185050.gk2...@randomstring.org



Re: W: best way to clone server data using rsync

2012-05-01 Thread Dan Ritter
On Tue, May 01, 2012 at 01:08:14PM +0200, Tuxoholic wrote:
 Here's what I got so far from google research:
 
 rsync --sockopts=SO_SNDBUF=128000,SO_RCVBUF=128000 -e rsh --archive \
 --recursive --partial --partial-dir=rsync-part --progress --append \
 --files-from=/root/LISTOFFILES.txt --log-file=/root/rsync.log \
 root@myserver:/PATH2myOLDServerPool/* /mnt/Mount2myNewServerPool

You don't need the sockopts. -a includes recursive. You probably
don't want partial or partial-dir. You probably don't want
append.

Having rsh installed is a bad security risk. Install ssh, make
sure you can ssh from this box to myserver as root. Change 
-e rsh to -e ssh. 

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120501164330.gx11...@randomstring.org



Re: W: best way to clone server data using rsync

2012-05-02 Thread Dan Ritter
On Tue, May 01, 2012 at 10:19:42PM +0200, Tuxoholic wrote:
 I noticed rsh is not installed, it's linked to
 /etc/alternatives/rsh, which is linked to /usr/bin/ssh.
 
 Calling rsh instead of ssh should avoid file encryption during
 transfer, at least that was the intention.

That isn't what will happen. SSH will not allow you to turn off
encryption.

You may want to specify -O Ciphers=rc4 (or blowfish), both of
which are quite fast.

 The socket options boost transfer speed quite a lot, I usually have
 65355 buffers on my samba server, using rsync directly I can
 increase it some more.

Have you tested this with ssh? It seems unlikely to me.

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120502135739.gy11...@randomstring.org



Re: Panning the screen to get an usable GNOME desktop in netbooks

2012-05-07 Thread Dan Ritter
On Sat, May 05, 2012 at 01:22:14PM +, Camaleón wrote:
 Yup, I also tried with xrandr --output LVDS1 --rotate right -which 
 works- but from there is very hard to direct the mouse to the right 
 place, i.e., it's unmanageable.


Do you have an xorg.conf? If so, does it set a virtual screen
size?

SubSection Display
...
   Virtual 1024 768
...


-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120507183349.gb11...@randomstring.org



Re: Panning the screen to get an usable GNOME desktop in netbooks

2012-05-08 Thread Dan Ritter
On Tue, May 08, 2012 at 01:47:47PM +, Camaleón wrote:
 On Mon, 07 May 2012 14:33:49 -0400, Dan Ritter wrote:
 
  On Sat, May 05, 2012 at 01:22:14PM +, Camaleón wrote:
  Yup, I also tried with xrandr --output LVDS1 --rotate right -which
  works- but from there is very hard to direct the mouse to the right
  place, i.e., it's unmanageable.
  
  
  Do you have an xorg.conf? 
 
 No, that's deprecated since Squeeze. But I can try it :-)

Sigh. The downside of xorg.conf is that it forces you to
understand what decisions the X server needs to make. The upside
is that it allows you to change those decisions.


  If so, does it set a virtual screen size?
  
  SubSection Display
  ...
 Virtual 1024 768
  ...
 
 Okay, I will generate the file manually:
 
 
 Section Screen
   Identifier  Default Screen
   Monitor Configured Monitor
   SubSection Display
   Depth 24
   Virtual 3000 2000
   EndSubSection
 EndSection
 
 
 When starting gdm3 I only get a black screen with the GNOME cursor but 
 nothing more. And I can't jump to a tty so I have to force a shutdown. 
 So, unless I have a way to generate a workable xorg.conf file, I cannot 
 try :-)
 
 ¹ Error: (...) Number of created screens does not match number of 
 detected devices. Configuration failed. Server terminated with error (2). 
 Closing log file.

Yes, you'll need a complete config, not just a snippet. This is
a netbook of some kind? There are examples on the net:

http://statics.inebium.com/downloads/posts/8/xorg.conf
(for an EEEpc 1000he, e.g.)

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120508144517.gc11...@randomstring.org



Re: destination port changes every time

2012-05-13 Thread Dan Ritter
On Thu, May 10, 2012 at 06:03:48PM +0100, abdelkader belahcene wrote:
 *Hi,
 I wrote a client/server  programs,   the server listen on port 5000   and
 of course the client connected on that port , I check the communication via
 the sniffex.c program from pcap (adapting something) ,   I noticed that
 destination port ( used by the client)  is not always the same and
 completely different from the source port.
 Here is an output example:
 
 Device: loFilter expression: ip
 Packet number 1:
From: 127.0.0.1
  To: 127.0.0.1
Protocol: TCP   The client send a request
Src port: 49611  The port is randomly choosed  by
 the client ??
Dst port: 5000
 
 Packet number 2:
From: 127.0.0.1
  To: 127.0.0.1
Protocol: TCP--- The answer from the server
Src port: 5000
Dst port: 49611
 
 When I stopped the client and ran it again I  got another Src port from the
 client
 The question is : why the port opened by the client is not the same, and
 takes one randomly ??

That's the way TCP/IP works. Consult any handy reference, such
as TCP/IP Illustrated by W. Richard Stevens.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/2012051404.gb11...@randomstring.org



Re: Free as in speech hardware ebook reader

2012-05-21 Thread Dan Ritter
On Mon, May 21, 2012 at 05:41:51PM +0300, Panayiotis Karabassis wrote:
 P.S. How does one order an OLPC? I am interested in one for my niece,
 but it seems impossible to find in a shop. Revolution hardware indeed. :-)


They aren't generally available to the retail public. There was a
program called Get One Give One, in which you could pay for two
and get one yourself, but that's not currently running.


-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120521150328.gb11...@randomstring.org



Re: Mythtv problem with versions

2012-05-21 Thread Dan Ritter
On Mon, May 21, 2012 at 10:42:46AM -0400, Marty wrote:
 My testing mythtv-frontend is at version 0.25. I get the same error
 message as the original poster. Reportedly, the 0.24/0.25
 combination does not work:
 
 http://www.mythtv.org/pipermail/mythtv-users/2012-April/332832.html
 
 If you got this combination to work then I would like to know how
 you did it.

Not just reportedly. By design, the frontend version must match
the backend version. (SVN versions don't count; the API version
is linked to the release version.)

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120521150515.gc11...@randomstring.org



Re: 83 key IBM model m XT keyboard with Debian?

2012-06-18 Thread Dan Ritter
On Sun, Jun 17, 2012 at 11:40:18PM -0400, Doug wrote:
 On 06/17/2012 10:40 PM, Nick Lidakis wrote:
 
 A keyboard that holds a reasonable second place was called a 2000--I don't
 know who made it, bet we had them at work, back in the 90s. They didn't make
 as much noise as the model M, but the touch was almost as good.

You're thinking of a Focus FK2000, I think.
http://geekhack.org/showwiki.php?title=Island:5414

Also good: Northgate Omnis, of various flavors. 

I buy Model Ms on sight at garage sales. Not many left these
days.  The Unicomp models from pckeyboard.com are very good -- I
wish they had steel plates in the bottom.

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120618171205.gx2...@randomstring.org



Re: how to increase through put of LAN to 1GB

2012-06-21 Thread Dan Ritter
On Thu, Jun 21, 2012 at 06:32:11PM +0500, Muhammad Yousuf Khan wrote:
  Your 200 to 300 Mbps correspond to your disk throughput in my opinion.
  Try to use iperf to test your network throughput, and be well aware
  that your disk io will be the real bottleneck here.
 sorry i got your question wrong sorry for my weakenlish
 
 correct me if i am wrong becuase the drives that i baught has default
 3 GB througput do you still thing
 drives could be the bottleneck here?


There are no spinning drives that give 3GB/s throughput. That is the
rating for the SATA interface between the drives and your PCI(e)
bus. 

There are some solid-state disks, very expensive, which can
approach 600MB/s. There are some SSDs that connect directly to
PCIe that approach 6GB/s. In either case, you would have
mentioned them, because they are very very expensive.

If you have ordinary SATA disks, the best you can expect is
about 120MB/s per disk, which various RAID schemes can add 
together with more or less efficiency.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120621134543.gc2...@randomstring.org



Re: tar - unresponsive machine

2013-02-28 Thread Dan Ritter
On Thu, Feb 28, 2013 at 05:27:19PM +0100, Vincent Lefevre wrote:
 Is it normal that when using the tar command to create a big archive,
 the whole machine becomes unresponsive, e.g. several dozens of seconds
 to do some operation (e.g. starting an xterm, or making Firefox react)?
 
 htop shows that there is still plenty of memory and atop shows nothing
 special, except 100% disk busy of course.

It's the disk being busy that slows it all down. Normal. A hard
disk can service perhaps 10-100 requests per second -- if tar is
using all of them, everything else will be delayed.

Solid-state disks can handle 10-70,000 requests per second, but
they have their own tradeoffs including price and capacity.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20130228163828.ge27...@randomstring.org



Re: Raid 5

2013-03-07 Thread Dan Ritter
On Thu, Mar 07, 2013 at 12:05:02AM -0500, Gary Dale wrote:
 The issue is the probability of failure of a second drive when the
 array is vulnerable after the failure of one drive. Given that all
 modern drives have SMART capability, you can normally detect a
 faulty drive long before it fails. The chances of a second failure
 during the rebuild are small.

Ah, that's the problem. The odds of a second failure during the
rebuild are much, much higher than you would naively expect.

Let's say your disks have an unrecoverable error rate of 1 in
10^14. (This is a plausible figure; look to your manufacturer's
support site for specifics.) That's one in 12 terabytes,
approximately.

If you have four 2TB disks, and they are in a RAID10, recovering 
one disk means reading 2TB and writing 2TB. About 1 in 6 chance
of something going wrong during that process.

If you have the same four 2TB disks in a RAID5, you need to read
6TB of information and write 2TB. That's a 50% chance of
something going wrong.

 The larger problem is having a defective array that goes undetected.
 That's why mdadm is normally configured to check the array for
 errors periodically.

This is, indeed, a large problem with a good specified solution.

 RAID 6 only takes one more drive and removes even these small
 failure windows. RAID 1 simply uses too much hardware for the slight
 increase in reliability it gives relative to RAID 5. If you're super
 concerned about reliability, go to RAID 6.

On 4 disks, RAID10 is usually better than RAID6. You get the
speed advantage of not having to calculate checksums, and the
same capacity.

 The other thing to recognize is that RAID is not backup. Most data
 loss takes place through human error, not hardware failure. A good
 backup system is your ultimate guard against data loss. RAID is
 simply there to keep the hardware running between backups.

Well, uptime and/or performance and/or convenience. But you need
to know what trade-offs you are making.

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20130307224012.gg27...@randomstring.org



Re: Squeeze: Create LVM from 2x raid5 + 12x 2TB disks

2011-11-01 Thread Dan Ritter
On Tue, Nov 01, 2011 at 12:45:33PM +0100, Denny Schierz wrote:
 With raid5 22TB, which seems to be better ...
 
 But, what is the best? 
 
 To create only one big MD is something bad, I think. 
 
 On FreeBSD I have with ZFS and 2 x raidz round about 21TB.
 
 any suggestions?

Yes. If you don't know what you're doing, you want RAID-10
across all the disks, no spares.

You will end up with 12TB of space, but complete protection
against any one disk failing, and possibly protection against
up to 6 disks failing.

You also want to enable mdadm scanning and reporting, so you
know when a disk fails.

If you do know what you're doing, all this can change.

-dsr-


-- 
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/2001133952.gb2...@tao.merseine.nu



Re: How to install broadcom BCM4312 on debian

2011-11-03 Thread Dan Ritter
On Thu, Nov 03, 2011 at 03:50:50PM +0200, John Caveman wrote:
 Hello there, I tried to install Debian on my own a while ago and failed. I
 hope I can find some help here to finally install it.
 
 The problem is, I don't know how to install my network driver. Output of
 lscpi from UBUNTU is:
 
 0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY
 (rev 01)
 
 
 I checked the debian wiki page and I understand that I need to run the b43
 driver. The thing is, I don't know where to get it from, so I can put it on
 a dvd and install it locally since I can't access the internet from the
 debian machine(don't have drivers for my network adapter so can't connect
 to the internet). Also I am not clear with the firmware part. It says that
 I need an active internet connection.

You may want to install from Kenshi Muto's install images:

http://kmuto.jp/debian/d-i/

-dsr-


-- 
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/2003145034.gg2...@tao.merseine.nu



Re: nfs howto - are debian docs dated?

2011-11-10 Thread Dan Ritter
On Thu, Nov 10, 2011 at 01:34:47PM -0600, Harry Putnam wrote:
 On one site (the one cited above) I noticed said something about
 having to change kernels.  I'm currently running wheezy with
 3.0.0-686-pae. Will that need to be changed?

No.

aptitude install nfs-kernel-server

Now you have the required tools to use the in-kernel NFS server.
It can do classic (NFS3) or new (NFS4) service. 

Doing NFS3 exports is done very simply, and is documented in
many places. You write an /etc/exports file that says things
like this:

/home192.168.0.1(rw) 192.168.0.2(rw) 192.168.1.0/255.255.255.0(ro)

which gives read/write access to two machines and allows another
network to read anything but not write to it.

Doing NFS4 exports is a little harder, but you can get better
access-control. Google for nfs4 exports debian to find a
howto.

-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/2010203138.gw2...@tao.merseine.nu



Re: setting up WiFi adapter (Broadcom BCM4321 14e4:4328 chipset) in latest version of Debian

2011-12-01 Thread Dan Ritter
On Thu, Dec 01, 2011 at 12:07:24PM -0800, Colin Reinhardt wrote:
 Im new to Debian/Linux...
 I have tried following the Debian Wireless-HowTo and other related
 Linux WiFi HowTos.
 
 I downloaded and installed the firmware-b43-installer and
 b43-fwcutter, (synaptic shows them as installed packages now).
 
 In Gnome, using network-manager (applet) there is nothing about
 wireless networks shown at all, only my wired LAN ethernet network is
 an option.
 
 How can I tell if my PCI card is being detected and firmware loaded
 correctly, and what are the next steps to get WiFi working?

Detecting PCI cards: look at the output of
lspci

Detecting kernel modules loading: look at the output of 
lsmod

Detecting firmware loading: look at the end of the output of
dmesg

In all of these, look for clues about your particular card.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20111201205318.gy1...@tao.merseine.nu



Re: In Need of Advice

2011-09-06 Thread Dan Ritter
On Mon, Sep 05, 2011 at 12:54:16PM -0400, RiverWind wrote:
 
 How would you good gentles go about putting such a plan as mine
 into action? In other words, how would you go about accessing a
 Linux machine with a DOS system? Is there any special software?
 Would I have to use a USB port? If I am not mistaken, DOS doesn't
 work with USB ports??? Even more desirable would be the ability to
 use the terminal emulator Commo as my means of establishing
 contact between the respective systems.

If you can install an ethernet card in your DOS machine, you can 
have full internet access from it, through the Linux box.

The modem goes on your Linux box. Run ppp to connect to your
ISP.

The ethernet port on your Linux box connects via a crossover
ethernet cable to the ethernet port on the DOS box.
Alternatively, you can use straight cables to connect them both
to an ethernet switch.

The Linux machine runs IP masquerading, or NAT, to extend the
IP connection to the ethernet. Let's assume you call the
Linux ethernet interface 192.168.0.1, and your DOS box
192.168.0.5.

echo 1  /proc/sys/net/ipv4/ip_forward
echo 1  /proc/sys/net/ipv4/ip_dynaddr
iptables -t nat -A postrouting -o ppp0 -s 192.168.0.5 -j MASQUERADE

And on your DOS box, you want to set up the Crynwr packet driver
appropriate for your ethernet card -- see
http://www.georgpotthast.de/sioux/packet.htm
for packet drivers. 

DOS apps which use packet drivers are listed at
http://www.dendarii.co.uk/FAQs/dos-apps.html


Good luck,

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110906165639.gp2...@tao.merseine.nu



Re: In Need of Advice

2011-09-07 Thread Dan Ritter
On Tue, Sep 06, 2011 at 07:39:46PM -0400, Jude DaShiell wrote:
 On Tue, 6 Sep 2011, Dan Ritter wrote:
 
...
  And on your DOS box, you want to set up the Crynwr packet driver
  appropriate for your ethernet card -- see
  http://www.georgpotthast.de/sioux/packet.htm
  for packet drivers. 
  
  DOS apps which use packet drivers are listed at
  http://www.dendarii.co.uk/FAQs/dos-apps.html
  
 Let's see if this goes over as bottom posted.  I don't recommend using 
 ethernet with dos since it's just about impossible to either locate a dos 
 ethernet driver that will work with the available ethernet card and the 
 second near impossibility is finding anyone who even remembers how to set 
 a dos box up so it will work on ethernet.  Too many people suffered too 
 much Windows brain rot over the years and even those that once knew how 
 to do this I know have forgotten how to do it.

I'm not sure what the point of this comment is, given that I
pointed out the two necessary resources to put working ethernet
on a DOS box.

It's not particularly difficult, and since it can all be done
from a simple commmand line, it's very likely to be a good
solution for a screen-reader user.

Oh, and Crynwr is the Welsh word for Quaker, and is pronounced
cru-noor, approximately.

http://bat8.inria.fr/~lang/hotlist/free/use/crynwr.html


-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110907143807.gr2...@tao.merseine.nu



Re: /usr broken, will the machine reboot ?

2011-09-07 Thread Dan Ritter
On Wed, Sep 07, 2011 at 09:33:10PM +0200, jacques wrote:
 Hi,
 
 by error most of the binaries in /usr are erased (killing rm :-(
 
 The server is still up.
 Most of the services are restarted either by copying (rsync)
 the binaries from another squeeze server (both are running Squeeze)
 or desinstalling/installing packages. (apt-* dpkg and suite are
 restored and runing ok)
 
 Now the the question is : will this machine *reboot* properly,
 inclufing the network ?

If you got enough of the binaries restored, yes.

That said, yesterday was a good day to rethink your backup
procedures, eh?

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110907194506.gt2...@tao.merseine.nu



Re: Rolling my own

2011-09-16 Thread Dan Ritter
On Fri, Sep 16, 2011 at 09:40:16AM -0600, Dave Higgins wrote:
 I appreciate the help here.  But the question at hand is how do I
 add a file to a CD and get the file to install at install time?  It
 shouldn't be as mysterious as it seems to be, i.e. I should be able
 to edit a file and say add this file.
 
 Or am I going about it wrong?  Do I need to set up the repository
 first, change the source list and then build the image from there?

That's not a bad way of doing it.

Then, when you add more packages, you can do an aptitude update;
aptitude upgrade from your repository.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110916175756.gs2...@tao.merseine.nu



Re: Small local caching proxy

2011-09-16 Thread Dan Ritter
On Sat, Sep 17, 2011 at 01:17:18AM +0600, Gary Golden wrote:
 Hello, list.
 
 I'm looking for a small caching proxy which I would run for my own use
 on localhost.
 I don't require ACL or other multiuser features, I just want to save
 some bandwidth.
 
 I installed squid, but it's there is too much manuals to read.
 I just want to achieve this simple task.

Squid isn't a bad choice, actually -- you just need a simple
configuration to allow everything. 

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110916194705.gt2...@tao.merseine.nu



Re: Compatibility Issues With Windows Files

2011-10-04 Thread Dan Ritter
On Tue, Oct 04, 2011 at 01:32:39PM -0400, RiverWind wrote:
 When attempting to extract rar files in either Linux or Unix, the
 file naming protocol seems to be a very crucial issue. To wit,
 should a file be fraught with open spaces, many Unix and Linux
 utilities will not work, because it seems that MS-Windows allows
 for blank spaces within file names, whereas Dos, Linux and Unix do
 not. This would seem to be the case from my personal point of view
 based upon recent experience.

Use quotes.

touch This is a file with spaces
rm This is a file with spaces

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20111004173438.gt16...@tao.merseine.nu



Re: HA Load Balancer

2011-10-10 Thread Dan Ritter
On Mon, Oct 10, 2011 at 04:17:10PM -0400, Roman Gelfand wrote:
 I have two smtp servers on two separate boxes, behind NAT.  Depending on
 what connection url is supplied, I would like to forwarding it to
 appropriate local server.  I understand, load balancer does this.  If this
 is the ideal way, what load balancer would you recommend?  If not, what
 would be the ideal way?

You should take a look at lbwiki.com to do more research.

Debian has nice packages for ldirectord, balance, pound, and
fair. I've used ldirectord the most -- it's rock solid.


-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20111010203000.gc16...@tao.merseine.nu



Re: New desktop configuration

2011-10-13 Thread Dan Ritter
On Thu, Oct 13, 2011 at 06:06:38PM +1000, yudi v wrote:
 Hi all,
 
 Just a quick question about RAID and linux file systems. I am building a new
 desktop and wondering what the best configuration to get redundancy and
 speed.
 Some thing like ZFS RAID1 or RAIDz.
 
 I am not going with SSDs as they are beyond my budget. I believe I can get
 the required performance from 7200 HDD using RAID with added redundancy and
 enough storage space without the price penalty of SSDs.

You don't say what your storage requirements are and what your
performance requirements are.

You might consider a small SSD and a pair of N-terabyte hard
disks in RAID1. Put performance-critical things on the SSD, and
keep a backup on the hard disks, along with
non-performance-critical data.

I've assessed my desktop data usage, and I think I can get away
with a 120G SSD and a single 1 TB spinning disk, using rsnapshot
to copy the SSD a few times a day.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20111013191000.gi16...@tao.merseine.nu



Re: Debian dial in server -web access under squeeze

2011-10-26 Thread Dan Ritter
On Wed, Oct 26, 2011 at 12:45:50PM -0700, Peter oliver wrote:
 
 trying to create a dial in box from modem to Ethernet (LAN DSL)
 using IBM netvista P4 (2.26c 512mb) with external us robotics 56k modem on 
 com2
 System is using new Squeeze install (nuked the XP install on the system)- 
 command line no gui--
 need to connect a windows box using ppp to this server to use one of our 
 extra IP address assignments (ISP provider simplybits)
 
 Server box will access the net thru eth0 (apt-get update/install works fine)
 
 windows machine can call and log in, can ping local address on box and access 
 its Apache placeholder page
 I do not appear to be getting routing, or DNS services - IE explorer times 
 out/ incorrect address, cannot ping external ip

Sounds like you need to make sure that IP forwarding is enabled,
and either do manual routes, or, more likely, masquerading.

Those key words will get you what you want.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20111026195137.gw1...@tao.merseine.nu



Re: New computer planned

2012-02-22 Thread Dan Ritter
On Tue, Feb 21, 2012 at 10:58:03PM +, Sian Mountbatten wrote:
 The computer consultant has actually printed out on a piece of
 A5-sized paper just what he's offering. I'm going to ignore the
 Intel Core i3-2100 with 4GB DDR3 1333MHz RAM and get the higher
 spec. machine.
 It will have Intel Core i5-2400 3.10GHz Socket LGA1155, MSI Z68S REV
 B3 motherboard, 8GB DDR3 1600MHz RAM, Nvidia GeForce 8800GT 256MB
 PCI-Express graphics, an SSD OCZ Agility 3 120GB 2.5 SATA instead
 of a hard disk drive, a Samsung DVD-RW SATA, Onboard 7.1 channel HD
 Audio, Onboard 10/100/1000 Mbps Lan, 802.11B/G/N WiFi, an ATX +
 Cooler Master 450W PSU and NO OS. He knows I use Linux. He's going
 to charge me £599 and I think it's worth the money, because if
 anything goes wrong, he's just downstairs.

If you're going with an NVidia card, use a GT220 or 430. They
are reasonably cheap, and are the highest end cards for which
all functions are completely supported.

The 8800GT is a power-sucking beast from a previous generation.

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120222172604.gu17...@randomstring.org



Re: Setup SSH to login from Internet to system behind firewal and sudo for few commands

2012-03-21 Thread Dan Ritter
On Wed, Mar 21, 2012 at 07:15:38PM +0100, Csanyi Pal wrote:
 Hi,
 
 I have a desktop machine: Debian GNU/Linux wheezy/sid system that is
 behind a Debian GNU/Linux Squeeze firewall/gateway.
 
 I want to setup firewall/gateway for an user to can login with SSH into
 my desktop from the Internet.
 
 After the user logged in with SSH, I want to let it run commands:
 apt-get and apt-cache only.
 
 Is this possyble?
 If yes, how can I log the activities of that user?
 
 Any advices will be appreciated!

Well, you *could* do that:

1. man sshd, read the section AUTHORIZED_KEYS FILE FORMAT to
restrict commands

2. remember that you need to authorize them to do this with
sudo, so edit /etc/sudoers appropriately.

but I really suggest you NOT do this, unless you are the user in
question. Remember that the power of apt-get as root can trash
your machine.

If what you want is automated or semi-automated updates, you
could do worse than run apticron.

A little more advanced would be to create your own apt
repository, and only move packages into it when you have already
vetted them and want them applied. Then you can safely run
apticron with automatic installation.

You'll get better advice if you explain what you're trying to
do.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120321185204.gr11...@randomstring.org



Re: ethernet card problem

2012-03-26 Thread Dan Ritter
On Sun, Mar 25, 2012 at 07:45:02PM +1000, Alan Kerns wrote:
 The hours wasted, and the mounting frustration, lead me to ask
 again: what ethernet card(s) will definitely work with the standard
 installer?

Starting with the +firmware installer CD -- 
http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/

will help immeasurably. Includes firmware for Broadcom, Intel,
Realtek, and others.

If you want to buy a high-quality ethernet card, the Intel
gigabit cards are great.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20120326145135.gy11...@randomstring.org



Re: help to choose right printer to buy

2011-07-27 Thread Dan Ritter
On Wed, Jul 27, 2011 at 12:43:06AM +, Juan R. de Silva wrote:
 On Tue, 26 Jul 2011 17:13:34 -0400, Michael Checca wrote:
 
  Again, Brother support is horrible. I wouldn't expect them to be
  engineers, but to at least have heard of Linux and know that is a kernel
  not an OS :)
 
 After I made a post, I phoned Samsung support, just out of curiosity.  
 As normal, I faced up a girl from the 1st line support. Yes, she was not 
 an engineer. But she firmly new what Linux is, she was well aware of the 
 existence of different distributions, their versions, and the difference 
 between 32/64 bit environments. She even was able to locate for me 
 another printer that officially states Debian 6.01 supported. Though it 
 was in no use for me.
 
 The difference between Brother and Samsung customer support was 
 impressive even on this level. I might be wrong, but after such 
 experience I would expect to find the same difference on the upper as 
 well.
 
 Shame on Brother. I guess this takes their puppy out of my list. Not that 
 I really needed their support (except drivers) or counted on it. But I 
 get suspicious about quality of the printer itself now. This is how it 
 works. :-)

I'll just say that I've purchased quite a few Brother lasers,
and they are:

- very Linux compatible if you access them over ethernet

- very reliable -- comparable to the better years of HP

- generally inexpensive, both in the beginning and for
  consumables like toner.

- and I've never dealt with their support at all.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110727135257.gv17...@tao.merseine.nu



Re: OT: Linux or Cisco

2007-04-04 Thread Dan Ritter
On Wed, Apr 04, 2007 at 09:05:57AM +0530, CCNAStuff wrote:
 I already get about 4 - 5 mails everyday for sysadmin/Linux/Solaris jobs. But 
 most of these want a Solaris admin or want
 me to know C/C++ or MySQL/PHP or Perl Scripting or Oracle which I do not 
 know. Plain Linux Sysadmin jobs seem difficult to
 be found!

That's because a sysadmin who doesn't feel comfortable with Perl
either (a) has another favorite language or (b) is very, very
junior.

In your case, it's (b). Learning Perl is not a bad thing to do.

-dsr-

-- 
.. .. --   .-. . .- -.. .. -. --.   -.-- --- ..- .-.   -- .- .. .-.. .-.-.- 
  .--  ---   . .-.. ... .   .. ... ..--.. 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wiki page automation (POST method with urlencode)

2007-11-28 Thread Dan Ritter
On Sat, Aug 16, 2008 at 08:49:58PM +0900, Osamu Aoki wrote:
 Hi folks,
 
 I am looking for tool to create application/x-www-form-urlencoded data.
 
 Here is the background.
 
 As I use wiki.debian.org sometime but I was tired of slow response.  So
 I now use local wiki to edit text fist and cut-and-pase to
 wiki.debian.org.  
 
 Then I was wondering how to do this more efficiently
 
 I know I can get raw text page quickly from wiki using w3m command.  I
 can use vim to edit it.  

https://addons.mozilla.org/en-US/firefox/addon/4125
(It's all text) an extension for Firefox/Iceweasel that exports
and imports textareas to, say, a terminal running vim.

-dsr-


-- 
Every time you give up a right, the terrorists win.
Tyranny is something that creeps up on you.

http://tao.merseine.nu:81/~dsr/eula.html is hereby incorporated by reference.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: cssh alternative

2010-01-13 Thread Dan Ritter
On Tue, Jan 12, 2010 at 05:29:47PM +0200, Brent Clark wrote:
 Hiya

 Anyone know of a gnome alternative to cssh, or something similar.

Have you considered editing your .cssh file to open
gnome-terminals?

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: desktop mobo in a 19 inch

2010-01-14 Thread Dan Ritter
On Thu, Jan 14, 2010 at 01:40:33PM +0100, randall wrote:
 simple question here,

 if i buy a ATX 19 rack case with included power supply, i can simply  
 put any ATX desktop mobo it it right?
 i've always used simple desktop towers but its getting a little crowded  
 nowadays.


 this would a 2U case since i know it can get cramped in the height.

The biggest problem is likely to be height related -- check CPU
cooling, expansion cards, and so forth.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Questions about RAID 6

2010-04-29 Thread Dan Ritter
On Mon, Apr 26, 2010 at 04:44:32PM -0500, Boyd Stephen Smith Jr. wrote:
 On Monday 26 April 2010 09:29:28 Tim Clewlow wrote:
  I'm getting ready to build a RAID 6 with 4 x 2TB drives to start,
  but the intention is to add more drives as storage requirements
  increase.
 
 Since you seem fine with RAID 6, I'll assume you are also fine with RAID 5.
 
 I don't know what your requirements / levels of paranoia are, but RAID 5 is 
 probably better than RAID 6 until you are up to 6 or 7 drives; the chance of 
 a 
 double failure in a 5 (or less) drive array is minuscule.


It's not minuscule; it happens all the time. The key is that the
double failure won't be simultaneous: first one drive goes, and
then the extra stress involved in rebuilding it makes another
drive go. Then it's time to replace disks and restore from
backup.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of 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/20100429163442.gh23...@tao.merseine.nu



Re: Linux Raid Partitions

2009-10-26 Thread Dan Ritter
On Mon, Oct 26, 2009 at 01:05:03PM +1100, Stephen Grant Brown wrote:
 Hi All,
 
 I have a drive out of a Western Digital Mybookworld World edition drive.
 
 cfdisk -Ps /dev/sdb
 
 tells me that there are four partitions and this drive and that the file 
 system is Linux raid on all four partitions.
 
 How do I mount this partitions so that I can copy the files on this 
 partition onto another drive?

You may or may not be able to do so.

Install mdadm (apt-get or aptitude) if you don't have it
already.

Plug in the drive.

Check /proc/mdstat to see if anything is being mounted. If so, 
you have a /dev/mdX filesystem available to you now.

If not, you want to investigate the partitions:

mdadm -Q /dev/sdb1
(and the same for the other partitions)

Do you have all the partitions that were part of a RAID set? If
so, you can assemble them:

mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2... 
or something similar.

If you don't have needed partitions, you may not be able to get
anything. You may be able to reassemble a partial set of a RAID1
or RAID5 set.

-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Linux Raid Partitions

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 06:11:40PM +1100, Stephen Grant Brown wrote:
 Hi Dan,
 
 Thank you for your reply.
 
 /proc/mdstat - no such file or dir
 /dev/md0 - no such file or dir
 
 mdadm -Q /dev/sdb2:  - device 0 in 2 undetected raid1
 
 mdadm -Q /dev/sdb4 - device 0 in 2 undetected raid1
 
 mdadm -A /dev/md0 /dev/sdb2 /dev/sdb4
 
 =
 
 mdadm: error opening /dev/md0
 
 How do I create /dev/md0?

Try

sudo modprobe md_mod

to load the MD driver, then check /proc/mdstat.

The -Q info does not look promising.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
 The remainder of the devices - although ideally should use dhcp, could 
 be configured with static addresses (and therefore also routes) to 
 regard eth0:0 on the plug computer as a gateway (the plug computer would 
 use 192.168.0.1 as its eth0:0 interface IP address, the dhcp allocated 
 address on eth0 would not be in that range).
 
 I think, in this scenario, the switch would soon learn not to send arp 
 messages saying who has 192.168.0.x address to the cable modem, 
 (although I am not sure it would matter if it did).
 
 What I am less certain about is how I can cater for Wireless clients 
 coming in over the WAP, who do really need dhcp allocated addresses.  My 
 guess is that they would be requesting leases via some broadcasting 
 mechanism, and that there is no way for the ethernet switch to prevent 
 them going to the cable modem (and thence to my isp) and the dhcp server 
 at my isp responding.
 
 Is what I am trying to consider impossible?

No, it can work. You are just confused.

The switch does not know anything about IP addresses. It
understands ethernet MAC addresses. 

$ /sbin/ifconfig
eth0  Link encap:Ethernet  HWaddr 00:24:1d:28:73:b6  
  inet addr:10.1.4.55  Bcast:10.1.255.255 Mask:255.255.0.0
  inet6 addr: fe80::224:1dff:fe28:73b6/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12194355 errors:0 dropped:173155950949126

See that HWaddr: field?

That's a MAC address. It should be unique on every network
interface.

Routers are devices that make decisions on the IP level.
Switches make decisions on the ethernet level.

What you will have problems with is running DHCP, as you
mentioned. Here's what you do:

Get a USB-ethernet connector for your plug. Now you have two
ethernet ports. One goes to the cable modem, one goes to your
switch. Life is good.

Alternatively, hardcode IPs for everything on that switch. You
can either hardcode IPs for your wireless devices, or run DHCP
on a separate subnet  there.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: NTP Server

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 10:27:21AM -0400, Roman Gelfand wrote:
 I have started time server, ran ntpdate command. The time matched.
 Several weeks later the time is off by a little more than a minute.
 What is controlling how often time server updated by the ntpdate
 command?

ntpdate is a one-time operation. You fire it off, typically in
the boot process, and then you don't run it again. I suppose you
could put it in a cronjob.

ntp-server does continuous synchronization. That's what you
really want to be running.

-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Knowledge Base Server

2009-11-09 Thread Dan Ritter
On Sun, Nov 08, 2009 at 11:29:24AM -0500, Roman Gelfand wrote:
 Can somebody recommend a knowledge base tracking web server software.

I'm not sure if you're asking for a specialized wiki or a
ticketing system, or maybe a bug tracker.

A wiki is a good way of keeping loose bits of information handy.
(It's better when you have someone curating it.) I like ProWiki
and TWiki.

A ticketing system handles incoming requests (usually from
customers or users), puts them in queues, and keeps track of
them from open through close. I like RT.

A bug tracker takes reports of defects, sorts them, and keeps
track of them from open through close. I like Bugzilla.

There are alternates for all of those, of course, and the ones I've
mentioned are all free software packaged for Debian and in the repository.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Inquiry:Where to download Debian 3.1 kernel 2.6.15.7.ki-2 iso image for x86 platform?

2009-11-16 Thread Dan Ritter
On Sun, Nov 15, 2009 at 05:41:32AM +, hadi motamedi wrote:
 Dear All
 Please be informed that I needed to install Debian 3.1 kernel 2.6.15.7.ki-2
 for x86 platform but my current kernel is as 2.4.27-2-386 . Can you please
 do me favor and let me have the link to download its iso image for x86
 platform ?
 Let me thank you in advance

Let me thank you in advance for going over to
http://www.debian.org/doc/ and reading about your problems.

Please read about Debian releases, especially the FAQ where it
discusses the names of the releases. That will help you out
immensely.


-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Inquiry:How to enable NAT on Debian 3.1 ?

2009-11-24 Thread Dan Ritter
On Mon, Nov 23, 2009 at 08:44:06PM +0300, Rakotomandimby Mihamina wrote:
 11/23/2009 08:35 PM, Tzafrir Cohen:
 /me senses a mixing of repositories.
 
 /me senses he wants to make things the wrong way.

/me senses he refuses to take any advice which might involve
learning before typing away at the root prompt.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Centralized Managed Cron Daemon

2009-12-14 Thread Dan Ritter
On Mon, Dec 14, 2009 at 12:37:02PM -0500, Israel Garcia wrote:
 On 12/14/09, Glenn English g...@slsware.com wrote:
 
  On Dec 14, 2009, at 10:13 AM, Israel Garcia wrote:
 
  Is there any centralized  managed cron daemon for debian where I can
  manage crontabs from other nodes?
 
  I hesitate to admit it, but I have Webmin running on my hosts (with some
  consideration of connectivity in the packet filters). Maybe not exactly what
  you're looking for, but it does a pretty good job administering crontabs
  from a central location.
 Hi Glenn,
 
 The problem is I don't use webmin at all.. so I'm looking for
 something easier than installing webmin in more than 200 nodes...:-)

That doesn't sound like you want a cron manager so much as a
systems administration automation system (which will include the
ability to put cron jobs on classes of machines). Consider
Puppet and bcfg2.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Centralized Managed Cron Daemon

2009-12-14 Thread Dan Ritter
On Mon, Dec 14, 2009 at 01:29:23PM -0500, Israel Garcia wrote:
  The problem is I don't use webmin at all.. so I'm looking for
  something easier than installing webmin in more than 200 nodes...:-)
 
  That doesn't sound like you want a cron manager so much as a
  systems administration automation system (which will include the
  ability to put cron jobs on classes of machines). Consider
  Puppet and bcfg2.
 
 Hi Dan,
 
 We're planning to use puppet but it's not exactly what I'm looking
 for. What I want is something to manage all crontabs (from domUs) with
 some centralized daemon. I'm getting terrible performance with IO when
 all guests run their crontab (at the same time) at 6:25 AM.

Have puppet put the crontabs into place with a slightly
randomized or offset runtime. For example, use the last octet of
the primary ethernet address modulo 60 for the minute field. Or
if you don't need it to be all in the same hour block, use the
last octet modulo 4 + 6 to give hours from 6 to 10, then modulo
60 for the minute field.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: no xorg

2013-07-29 Thread Dan Ritter
On Mon, Jul 29, 2013 at 12:18:15AM +0200, sp113438 wrote:
 On Sat, 27 Jul 2013 20:36:37 -0700
 Patrick Bartek bartek...@yahoo.com wrote:
 
  On Sun, 28 Jul 2013, sp113438 wrote:
  
   Hello,
   I did a fresh minimal install of wheezy
   I could not add xorg afterwards.
   I am not going to install bla bla bla
   
   So I had to reinstall wheezy with desktop from tasksel
   
   That did the job
  
  I started my Wheezy as a minimal install, too.  But ...
  
  Did you set up the Debian repositories?
  
  After which, did you do an apt-get update and apt-get upgrade?
  
  Then, apt-get install xserver-xorg-core and apt-get install xinit?
  
  Then install whatever GUI metapackage you want?  For example: apt-get
  install xfce4  will install xfce4. Or apt-get install gnome. Or
  apt-get install lxde.
  
  Always read the manual first. I do.  You'll have a lot less problems.
  
  B
  
  
  
 I did not do:
 apt-get install xserver-xorg-core and apt-get install xinit
 
 I was thinking 
 apt-get install fluxbox would do the job

The reason that didn't work is because you don't need a local X
display to run fluxbox on a machine. It can make sense, and is
therefore allowed, to install X software on a machine that can't
display it.

In order to get a local X display, install xserver-xorg-FOO as
appropriate.

-dsr-


-- 
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/20130729025802.gu31...@randomstring.org



Re: Hardware support

2013-07-29 Thread Dan Ritter
On Mon, Jul 29, 2013 at 08:31:52PM +0400, sean Griffiths wrote:
 
 Hello and Good Day,
 
 Please can you tell me if Debian squeeze 64 bit accepts more than 4GB ram, ie 
 8GB? I have a Dell Latitude D6200 and am in the process of upgrading to a 
 D6300 which will accept 8GB maximum RAM and Dell actually sell these 8gb 
 Memory modules (2x4gb), even though in the beginning they stated it's max was 
 4GB. And so knowing that the machine itself has no problems accepting it, I 
 just need to make sure that Debian 6.0.7 64 bit will accept it, because these 
 RAM modules are not on the cheap side! - about 150 uk pounds for the pair.

Squeeze has no problem with lots of RAM.

If you want a laptop with lots of RAM, though, it may be cheaper
for you in the long run to buy a new machine that can accept
DDR3 RAM, which is currently quite cheap. 8GB DDR3 laptop memory
sticks start at 40 pounds.

 The other thing, just out of curiosity really, is to do with NVIDIA chipsets. 
 Apparently the D6300 with the NVIDIA chipsets don't last long. And I think 
 that maybe it is the pressure of using Windows, especially 7 or 8, on the 
 chip that is the problem. So, am I right in thinking that, even using compiz, 
 Debian is still going to be lighter on the graphics chip, than of Windows?

If there's a heat-related flaw in the GPU, Linux versus Windows
is unlikely to help. Avoid machines with known problems.

-dsr-


-- 
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/20130729171616.gv31...@randomstring.org



Re: fsck on boot...revisited

2013-07-29 Thread Dan Ritter
On Thu, Jul 25, 2013 at 10:09:00AM -0500, Tim Nelson wrote:
 - Original Message -
  On Thu, Jul 25, 2013 at 09:28:56AM -0500, Tim Nelson wrote:
   I have an interesting use case where a Debian Lenny server runs
   headless, and is at the mercy of poor power conditions
   (environmental monitoring at a remote storage building). We used
   to have issues with the server not coming up after several
   reboots, but we gave it a bandaid by forcing an fsck on every boot
   (tune2fs...) to correct any issues. This is fine, and has done
   wonders for disk errors.
   
   However...
   
   On occasion, we find that a filesystem error is bad enough that
   instead of auto{matically|magically} fixing the issue and
   continuing to boot, the system hangs, needing a root password
   entered for a manual fsck to be run.
   
   My question is thus: How do I prevent that requirement to login and
   run fsck manually? Is there some parameter that can be set? Or, am
   I going about this the completely wrong way?
  
  Solve the underlying problem as best you can.
  
  Buy a cheap UPS with a serial or USB interface; run the
  appropriate daemon on your server to shut it down automatically
  when the power drops. Replace the UPS every year or two.
  
  Now your disks will be much happier.
  
 
 Yes, that is the *proper* solution. But, how about a situation where I want 
 to solve this even if battery power goes out?
 
 Does the 'FSCKFIX' option within /etc/default/rcS do what I need?

Yes, but your disks will continue to degrade. One morning you
will wake up to find a dead server, much earlier than you would
otherwise.

-dsr- 


-- 
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/20130725151744.gp31...@randomstring.org



Re: RAID broken after kernel upgrade.

2013-07-30 Thread Dan Ritter
On Tue, Jul 30, 2013 at 12:01:40AM -0400, d...@ubutton.com wrote:
 After upgrading to kernel 3.9-1 from 3.2, my system will no longer
 boot. My OS is located on a RAID array, but when the system boots it
 says something along the lines of mdadm: no arrays in the
 configuration file were found and root not found. Then it enters
 busy box. Once in busy box I find that the raid array isn't
 assembled, but can easily be assembled by using mdadm --assemble
 --scan. After exiting busy box it boots normally. I'm sorry about
 the lack of actual log files here, but I will post some when I have
 some time. Any ideas? Maybe it has something to do with initramfs?
 Thanks in advance.

This suggests that you need to make sure your mdadm.conf is
valid and then rebuild your initramfs -- update-initramfs is
your friend.

-dsr-


-- 
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/20130730153010.gb31...@randomstring.org



Re: 10.1 clipped windows

2013-07-30 Thread Dan Ritter
On Tue, Jul 30, 2013 at 09:14:32PM +0200, MIMUNA wrote:
 Dear Debian Support,
 I like very much using Debian on my 10.1 inches netbook.
 However, I have experienced some problems with clipped windows (e.g.
 some settings windows) due to my screen size: I can't see the lower
 buttons of the window and cant' resize it.
 How can I fix it?

It depends on the window manager you're using, but try, for
example, resizing the window with alt-right_mouse. 

-dsr-


-- 
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/20130730201505.ge31...@randomstring.org



Re: iscsitarget in Jessie

2013-08-02 Thread Dan Ritter
On Thu, Aug 01, 2013 at 04:31:52PM -0600, Shane Johnson wrote:
 I am hoping someone can help with this,
 
 I am trying to get iscsitarget working in my Jessie install.  When I
 try to do the install of iscsitarget and iscsitarget-dkms it complains
 about missing linux-headers-3.2-0-xxx when 3.9 kernel is installed.
 
 Any ideas on how to proceed?  Can I build it manually?
 

That's an indicator that Jessie isn't stable yet, by the way.

Yes, you can build it yourself.  iscsitarget-source should be
available as a package. There is an iSCSI Maintainers team:
pkg-iscsi-maintain...@lists.alioth.debian.org

-dsr-


-- 
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/20130802135149.gn31...@randomstring.org



Re: Re: RAID broken after kernel upgrade.

2013-08-02 Thread Dan Ritter
On Tue, Jul 30, 2013 at 11:46:54PM -0400, Doug wrote:
 I have already done this multiple times and nothing seems to have changed. 
 Here is a copy of mdadm.conf for your inspection.
 
 
 Does this look right? Any other ideas? Thanks for the help!

I can't tell whether the copy of mdadm.conf you presented
actually matches what's on disk. Try this:

sudo mdadm --misc --scan --detail

and compare that to your mdadm.conf.

-dsr-


-- 
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/20130731132256.gh31...@randomstring.org



Re: ldirectord troubleshooting

2013-09-12 Thread Dan Ritter
On Thu, Sep 12, 2013 at 03:59:07PM +0200, Frank Van Damme wrote:
 Hi list,
 
 I'm running a couple of ldirectord/ipvsadm software loadbalancers in
 front of web servers running Debian. Since upgrading to debian 7, on
 one server the connections just don't seem to get through .
 Each time I do a request, I get one more inActConn. Nothing ever
 arrives on the actual web servers.
 
 So far I narrowed it down to the kernel version: if I run wheezy with a
 2.6.32 kernel it works, but not with a 3.2 kernel. I have a working
 loadbalancer with the same configuration on a test server running Wheezy
 though. Can't figure out the what's the differences between the two...

Are all your ethernet ports working? Maybe you need firmware for
one of them with the new kernel.

-dsr-


-- 
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/20130912191308.gi26...@randomstring.org



Re: Identifying CPU

2013-09-18 Thread Dan Ritter
On Wed, Sep 18, 2013 at 11:53:03AM -0300, Beco wrote:
 Hi Guys,
 
 Please, can I get something like the 'Extended brand string' from
 cpuid to identify a cpu using C language?
 
 Of course, not using system(cpuid) :) Something more cross-platform.
 

Is x86 enough for you? If so, http://libcpuid.sourceforge.net/

If you need to check across architectures, you probably need to
go all the way to autoconf for maximum flexibility.

-dsr-


-- 
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/20130918155117.gp4...@randomstring.org



Re: a question concerning rxvt-unicode and update-alternatives

2013-09-18 Thread Dan Ritter
On Wed, Sep 18, 2013 at 02:34:13AM +1200, Chris Bannister wrote:
  The rxvt-unicode program is now already installed, but when it does not 
  seemed to be offered in:
  
  update-alternatives --list x-terminal-emulator
  
  None of the existing options:
  
  /usr/bin/aterm-xterm
  /usr/bin/koi8rxterm
  /usr/bin/lxterm
  /usr/bin/rxvt-xpm
  /usr/bin/rxvt-xterm
  /usr/bin/urxvt
  /usr/bin/uxterm
  /usr/bin/xterm
  
  seems to provide unicode support.
  
  I am using Debian testing (Jessie), currently.
 
 Report a bug on rxvt-unicode.

urxvt is the executable for rxvt-unicode. If it doesn't support
unicode, there's a really big problem...

-dsr-


-- 
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/20130917144037.gl4...@randomstring.org



Re: Mailing list organization

2013-09-19 Thread Dan Ritter
On Thu, Sep 19, 2013 at 10:08:55AM -0700, Josef Bailey wrote:
 Hello all
 
 I'm new to mutt / Debian mailing list
 
 What im trying to do is in gmail.com i have many sub folders .. Every Folder 
 / label is whatever mailing list i have subscribed to debian
 
 (eg. Debian_User = debian-user@lists.debian.org)
 
 I have set a filter in gmail so it skips the inbox / marks as read and then 
 goes to this folder
 
 For some reason in mutt it goes to all/mail 
 
 Is there a way to organize mutt so that my mail goes into the right location 
 or is there a way to organize gmail so the mail goes into the right folders

Are you using mutt as an IMAP client to Gmail, or are you
pulling the mail to your machine and then running mutt on that?

In the first case, Gmail folders should show up as mutt folders.

In the second case, you need to do the sorting yourself.
Programs to filter mail at delivery time include procmail and
mailfilter; programs to sort on the IMAP server include
imapfilter and sieve.  All of these have Debian packages.

-dsr-


-- 
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/20130919180712.gt4...@randomstring.org



Re: Mailing list organization

2013-09-19 Thread Dan Ritter
On Thu, Sep 19, 2013 at 11:19:05AM -0700, Josef Bailey wrote:
 Thanks for the reply
 
 So yes .. im using gmail and its an imap account

You can use mutt as an IMAP client, in which case you need a
constant connection to gmail, but gmail does the filtering.

If that's the case, you just need to tell mutt about the folders
that gmail has set up with settings in your .muttrc for spool,
inbox and mailboxes.

or...

you can use some other program to pull the IMAP mail down to
your local box, and then use mutt as a mailspool client, with no
further gmail connection needed until you send email.

In that case, you need to write appropriate filters.

-dsr-


-- 
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/20130919182859.gu4...@randomstring.org



Re: Re (2): Multiplicity of accounts.

2013-10-02 Thread Dan Ritter
On Wed, Oct 02, 2013 at 01:05:33PM -0500, Richard Owlett wrote:
 I have three machines. I am the *ONLY* person with access to any of
 them.
 
 One machine has my projects and associated data. There is an image
 of its hard drive on a 1TB USB drive which is currently not
 connected. This machine is physically incapable of connecting to the
 internet.
 
 My second machine is effectively dedicated to email and web
 browsing. As I am on dial-up there is only a connection when
 actively in use. JavaScript and cookies are initialized to OFF each
 tine load SeaMonkey.
 
 As I said in my original post
 (http://lists.debian.org/5245ccd2.9010...@cloud85.net), the third
 machine is set aside for experimenting OS installs. Thus the only
 data not from install media are boot menus and configuration info.
 
 So why shouldn't I want the same privileges in the GUI as I have
 after issuing su in the command line mode?

It's easy to screw up with root privileges when you've got a
command line moderating you; with a windowing system, you might
not even know you've screwed up until it's much too late to do
anything but restore from backup.

-dsr-


-- 
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/20131002194105.gx4...@randomstring.org



Re: Re (2): Multiplicity of accounts.

2013-10-02 Thread Dan Ritter
On Wed, Oct 02, 2013 at 02:59:45PM -0500, Richard Owlett wrote:
 Dan Ritter wrote:
 On Wed, Oct 02, 2013 at 01:05:33PM -0500, Richard Owlett wrote:
 
 So why shouldn't I want the same privileges in the GUI as I have
 after issuing su in the command line mode?
 
 It's easy to screw up with root privileges when you've got a
 command line moderating you; with a windowing system, you might
 not even know you've screwed up until it's much too late to do
 anything but restore from backup.
 
 
 
 SO WHAT??? The machine is *DEDICATED* to experimenting which
 *ASSUMES* possibility of failure. There is inherently 100% backup,
 i.e. the install media. It will cost me less inconvenience to
 occasionally do a reinstall than jump through irritating unnecessary
 hoops.
 
 Is this not the age of PERSONAL computing (and implied
 responsibility for ones actions)?

You are responsible for your actions, and thus are responsible
for the consequences of your actions. By training yourself to
ignore users, groups and permissions, you will end up hurting
other people if you go out and apply this in other situations.

You can do whatever you want. Don't start shouting at me because
you asked a question and got a polite response. If you don't
choose to apologize, I will stop reading your mail.


-dsr-


-- 
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/20131002200440.gy4...@randomstring.org



Re: loop back iptables

2013-10-08 Thread Dan Ritter
On Tue, Oct 08, 2013 at 03:04:14PM -0700, james gray wrote:
 working with Debian 7.0
 
 
 working with the examples at
 
 https://wiki.debian.org/iptables
 
 
 when i write a example for a lo0 table as shown
 
 -A INPUT -i lo -j ACCEPT
 
 
 and follow procedure of
 
 iptables-restore  file-name
 
 
 i do receive a message line failed for that line as shown above.
 
 
 Question: do i need to config a file.
 
 
 staying in the environment of the istalled Debian 7.0 and doing apropos
 loopback shows alsoloop.
 
 doing internet searching shows a lot of info as if a bomb droped from the
 sky - but who knows if it is or could be debian 7.0 specific.

First, you should probably avoid doing anything to a loopback
interface...

Next, you'll need to copy the entirety of the grey area example
to a file, and use that file name in the iptables-restore. It's
a very specific format.

If you want to test individual rules, you could do this at the
command line:

iptables -A INPUT -i lo -j ACCEPT

and then

iptables -L

to see if it took.

There is nothing Debian-specific going on here.

-dsr-


-- 
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/20131009001237.ga4...@randomstring.org



Re: Logitech unified wireless

2013-10-14 Thread Dan Ritter
On Sun, Oct 13, 2013 at 02:05:17PM -0500, Catherine Gramze wrote:
 I ran into a snag getting this set up on my new computer. I found a gem
 of info online, telling me I had to use a USB 2 port and not a USB 3
 port, but it still wouldn't work.
 
 I finally figured out it was a pairing problem, due to me having
 multiple keyboards, mice, and unifying receivers. I used the Logitech
 app on my Mac to set which keyboard went with which receiver, and after
 some musical receiver plugging and unplugging it all works perfectly
 now. 
 
 Just thought I would share in case anybody else runs into this scenario.

There's a utility called solaar which can reprogram Logitech
mice and keyboards to use a plugged-in receiver; it's at
http://pwr.github.io/Solaar/index.html

-dsr-


-- 
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/20131014111814.gm4...@randomstring.org



Re: Logitech unified wireless

2013-10-16 Thread Dan Ritter
On Tue, Oct 15, 2013 at 05:18:38PM +0200, Gareth de Vaux wrote:
 On Mon 2013-10-14 (07:18), Dan Ritter wrote:
  There's a utility called solaar which can reprogram Logitech
  mice and keyboards to use a plugged-in receiver; it's at
  http://pwr.github.io/Solaar/index.html
 
 Ran into this today too (with the logitech mk520 keyboard/mouse),
 seems like you need to unpair/pair the devices on each reboot?

No, once programmed the pairing ought to continue until
reprogrammed. Keyboards paired this way should be usable at BIOS
boot time, assuming your BIOS can cope with USB HID (almost
all can).

-dsr-


-- 
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/20131016170428.go4...@randomstring.org



Re: How to format the command output like MySQL output

2013-10-21 Thread Dan Ritter
On Sat, Oct 19, 2013 at 11:17:44PM -0400, Jerry Stuckle wrote:
 On 10/19/2013 9:17 PM, 陶治江 wrote:
 于 2013-10-20 0:53, Lars Noodén 写道:
 On 19.10.2013 19:35, 陶治江 wrote:
 [snip]
 I think it seems good like this, but I do not know how to make out
 it.(someone says awk, sed may help, but the environment does not
 permit it). Is there some libs or tools can help make output result
 good and elegent?
 [snip]
 
 Perl would be the next step up, but if awk is not allowed then perl
 certainly won't be.
 
 Regards,
 /Lars
 
 
 
 yes, the whole system size a extremely limited, so the only possible way
 is to find a suitable C lib to handle this.
 
 What a big task
 
 
 How do they expect you do to your job if they won't give you the
 necessary tools?

While that's a reasonable question to ask for most jobs, I
suspect that the poster is developing (or developing on) an
embedded system with extremely limited storage space.

-dsr-


-- 
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/20131021112348.gy4...@randomstring.org



Re: Why syslog is not rotating?

2013-11-05 Thread Dan Ritter
On Mon, Nov 04, 2013 at 06:18:42AM -0700, Paul E Condon wrote:
 On 20131104_105718, Itay wrote:
  On Sun, 3 Nov 2013, Reco wrote:
  
  On Sun, 3 Nov 2013 17:16:02 +0200 (IST)
  Itay deb...@itayf.fastmail.fm wrote:
  
  On Sun, 3 Nov 2013, Reco wrote:
  
  [...] Is there anything suspicious in the root mailbox?
  
  root mail box has daily messages like this starting at june 2010
  (yes, I know, bad me)
 
 A lot has changed since I was skilled at Debian install, but I
 remember that there was a way to automatically forward all emails
 that are sent to root to some other mailbox, like your own user
 mailbox. That way you would have become aware of your problem
 back in june 2010. Whatever you do to fix logrotate problem, don't
 forget to root mail forwarding to a place where you regularly 
 read your mail. Do this by adding a line to /etc/aliases (I think)

Yes. In /etc/aliases, make sure that there is a line like this:

root: deb...@itayf.fastmail.fm

(use whatever address is desired.)

and then, as root:

# newaliases

Then send an email to root to check that mail is going where you
want it to go.

This method works for machines running exim (Debian default),
postfix, and sendmail. If you run something else, you are
expected to be able to figure it out from the documentation.

-dsr-


-- 
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/20131105144752.gk4...@randomstring.org



Re: Questions about new hardware Debian (or Linux in general)

2013-11-13 Thread Dan Ritter
On Tue, Nov 12, 2013 at 10:15:03PM -0600, Stan Hoeppner wrote:
 On 11/12/2013 7:11 PM, Doug wrote:
  On 11/12/2013 07:32 PM, Stan Hoeppner wrote:
  On 11/12/2013 5:37 PM, Jon N wrote:
  ...
  There is one an area that I'm pretty unsure of.  I am planning on
  purchasing a Nvidia video card and disabling the built in Intel video
  support.  Since I plan to use this computer as a MythTV
  frontend/backend (as well as for general web browsing/email) getting
  the audio out on the Nvidia card's HDMI port is important to my
  particular setup.  So will the audio automatically be switched to the
  Nvidia cards HDMI connector?
  No, it won't be automatic.  And frankly I don't believe nVidia supports
  HDMI digital audio pass through, nor any discrete GPU card.  For
  argument's sake, let's say it does.  Then you run into the problem that
  the onboard audio chip can't pass digital audio through PCIe to the
  nVidia HDMI port.  None of them are designed to do this, that I'm
  aware of.
 
  If I were you I'd get a mainboard with with HDMI out and use the CPU's
  GPU.  Mobos that have onboard HDMI have their audio chips wired to the
  HDMI port, the chips support PCM/AC3 digital output, and selecting the
  HDMI output for digital audio is pretty straightforward.
 
  The Intel GPU should be plenty powerful enough for HD1080 output.  If
  you decide it's not, and want to add a discrete card, you'll need a mobo
  with coaxial digital SPDIF output, or Toslink optical digital output,
  and a TV or A/V receiver that is cable of using an HDMI input for video
  while using coax or Toslink for audio.  Nearly all modern A/V receivers
  support this.  WRT LCD/Plasma TVs I have no idea how many support this.
 
  I have an NVidia GeForce GTX 550 Ti card in a machine with on-board
  Realtek 662 sound
  decoder. Normally--that is locally--sound is decoded by the Realtek on
  the mobo.
  The  NVidia card has a mini HDMI connector (I needed an adapter to
  standard)
  and the card has a sound decoder in it. 
 
 This isn't the case.  All digital audio (AC3, PCM, DTS, etc) is decoded
 at the endpoint device.  In this case that is the TV or A/V receiver.
 Everywhere else in the path the digital audio stream is simply passed
 through.
 
 The trick with Linux is getting all of the devices recognized, and being
 able to select which 'path' the digital stream should take.
 
  Using Windows XP, I could run a
  movie thru HDMI
  to my TV set and picture and sound would come thru perfectly. NVidia
  provides a driver
  for Windows that makes this just work. 
 
 And this is the key.  nVidia registers an audio output device that can
 be selected in control panel as the preferred output device.  WSS then
 directs digital audio through this device.  There is no such equivalent
 in Linux, that I'm aware of.
 

ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html

There you go; now you can be aware of it.
  3.1 Pre-Azalia:

  Some older GPUs included a connector to receive S/PDIF audio
  from a separate sound card, and route that audio over HDMI. This
  document does not cover such devices at all.

  3.2. Azalia:
  Newer GPUs include a fully-fledged sound card, implemented
  according to the Intel HD-audio (Azalia”) specification. This
  document covers such devices.


-dsr-


-- 
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/20131113152211.gb4...@randomstring.org



Re: Installation of Wheezy on a Fujitsu Primergy Raid1

2013-11-18 Thread Dan Ritter
On Mon, Nov 18, 2013 at 12:03:32PM +0100, Joerg wrote:
 Hi,
 
 I have a Fujitsu primergy TX100 S1 and installed a bios-raid1 (LSI
 raid from Fujitsu - 2 disks prepartitioned into 1 primary and 5
 extension disks each - done by ctrl-M).

Is this an LSI RAID card, or a fakeraid? If it's a fakeraid, I
advise you to backup the data and destroy the fakeraid, then
re-install from scratch with a clean mdadm software RAID.

 This machine used to have Lenny but an important component was
 destroyed so I decided to proceed to Wheezy skipping squeeze (which
 I do not have as netinst disk!!!)

That's a bad idea. You should get a squeeze disk and use it in
rescue mode.

 When I tried to install wheezy via netinst from CD I could not get
 out of the partition menue for installation of basic components ...
 
 The parted-menue shows:
 1. Raid (the whole disk - no partitions so far)
 2. the 1st scsi-device with all partition on that device (contains
 important data which must not be destroyed)
 3. the 2nd scsi-device with all partition on that device (contains
 important data which must not be destroyed)
 
 1st and 2nd scsci devices are partitioned the same way from the
 previous Lenny installation.
 
 My question: How can I proceed with the LSI raid 1 to get a
 functioning system again?

Where do you want to install wheezy? You don't seem to have a
blank place to put it, which is a requirement. (It will happily
destroy a partition for you, though.)

At this point, I think you might want to boot from a live CD or USB stick
and make a complete backup to an external device, remove the external
device, wipe everything out and begin from scratch.  Then restore data
that you want from backup.

-dsr-


-- 
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/20131118155536.gk4...@randomstring.org



Re: Second display as dedicated desktop workspace?

2010-11-12 Thread Dan Ritter
On Fri, Nov 12, 2010 at 12:37:13PM +, Camaleón wrote:
 On Thu, 11 Nov 2010 20:11:11 -0600, Nate Bargmann wrote:
 
 (...)
  
  What I would really like to do is have the second display tied to the
  login session of the first display but as a separate workspace.  In
  other words, when logged in I could set it to workspace 5 while I use
  1-4 on my main display.  In other words, I'd like to keep a couple of
  applications visible/running on the second display while I do whatever
  on the first.  Is such an arrangement even possible?  Has no one else
  thought of this before?
 
 I dunno how that adapter works (and it's quite expensive and low 
 performance! wouldn't have been better to replace your current VGA card 
 with a new one featuring 2 VGA outputs? :-?) but if I understood you 
 correctly, you are looking for a Xinerama/Dual view separate layout, what 
 is quiteeasy to get from one VGA card with dual outputs.
 
 The problem I see here is to understand how Xorg sees the USB adapter and 
 how could you configure a dual view setup with that device or even 
 whether if it is possible to achieve that (I'm not sure Xorg can manage 
 two separate VGA adapters and join both desktops but run as independent 
 screens).

This used to be a simple matter of proper xorg configuration. I
don't know if it still applies, but basically:

Add a second Device section for your new adapter. Let's say
the identifier is USBadapter.

Add a second Monitor section for the attached monitor.
Identifier is Monitor2.

Add a new Screen section:

Section Screen
Identifier Second Screen
Device USBadapter
SubSection Display
Depth   24
Virtual 12801024 # or whatever
EndSubSection
EndSection

and finally, modify your section ServerLayout to add this
line:

Screen Second Screen RightOf Default Screen # or
LeftOf, or Above or Below

Restart X, and it ought to be good.

You may need to increase your default Virtual to encompass both
screens.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of 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/20101112162145.ga5...@tao.merseine.nu



Re: OT: servers vs. lightning and power outages

2011-03-18 Thread Dan Ritter
On Mon, Mar 14, 2011 at 09:40:34PM -0500, Stan Hoeppner wrote:
 Jerome BENOIT put forth on 3/14/2011 7:58 PM:
 
  Just curious:
  why the UPS must be at the bottom ?
 
 Your attempt at being a smart ass aside, I'll answer your question.  The
 answer, however, isn't the simple one you're expecting.
 
 I stated bottom of the server rack explicitly because some SAs install
 all of their UPS gear in a single dedicated rack, or two, or xx, and
 feed PDUs in their server racks, often ignorantly over loading their UPS
 output circuits in the process.  And yes, these SAs will load a 42U rack
 bottom to top with UPS units.  I had to do this on one occasion myself
 due to an ill conceived pre-existing equipment layout.  Thankfully the 4
 Liebert 3000s I had to mount in the top of the UPS rack only weighed
 about 80 lbs apiece.  The first one was tough, but the last 3 were
 relatively easy.  Ego boost prize goes to the first OP to reply
 correctly explaining why this was the case.

You needed several hands to hold the first Liebert in place as
you screwed it into the rack. The next one could rest on top of
the first.

I note that Liebert does not offer a slide-in rail kit.


-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of 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/20110318171323.ga24...@tao.merseine.nu



Re: Replacing hard disk used in existing filesystem

2011-04-18 Thread Dan Ritter
On Mon, Apr 18, 2011 at 11:52:34PM +0900, Mark Fletcher wrote:
 Anyway the disk concerned is a 1TB disk on which is mounted /opt, so I
 feel I should be able to replace it without major hassle. I have already
 backed it up fully to NAS.
 
 The only issue is that I don't have enough spare power connectors on my
 PC's power supply to attach both the new and the old disks at the same
 time.
 
 What I want to know is how can I remove the current drive from the
 filesystem so I can remove it physically without sending the machine
 into a tailspin? I have only ever set up the mapping of disk partitions
 to mount points at installation time, never afterwards, and so am not
 sure what to do.
 
 I am thinking the procedure will be something along the lines of:
 
 1) modify my computer's mount settings such that /opt is part of the
 root filesystem instead of a separate mount point (HOW? manual edit
 of /etc/fstab or something more sophisticated?) This will cause me to
 lose access to everything on the old disk which is OK because it's all
 backed up and there is nothing there that's critical to the running of
 the machine.

Just comment out the /opt mount line in /etc/fstab. The comment
feature here is putting a # at the beginning of the line.

 2) Power down the machine and remove the old disk, attach the new disk.
 
 3) bring up the machine, partition and format the new disk. (is the tool
 for this fdisk?)

fdisk for partitioning, mkfs to create a filesystem on the
partition. You could create a label on the filesystem partition
at this time.

Read the man pages first. Use fdisk without writing anything at
the end to see what your current settings look like.

 4) modify the machine's mount settings to go back to mounting /opt on
 the new disk (HOW?)

Uncomment the /etc/fstab line, and make sure it points to the
right disk interface, or UUID, or filesystem label if you
created one.

 5) restore everything I want in /opt back from the backup.
 
 Even assuming I'm on the right lines, I don't know how to do steps 1 and
 4 and am not totally confident about how to do 3, so would appreciate
 any advice.

You had it pretty much correct; don't worry. Double-check your
backups are good before beginning.


-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of 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/20110418153206.gx19...@tao.merseine.nu



Re: I saem to have lost maildrop's xfilter command

2013-03-18 Thread Dan Ritter
On Fri, Mar 15, 2013 at 03:59:36PM -0400, Eric d'Halibut wrote:
 Sorry I don't have much more hard data, but my maildrop scripts, after
 years of good service, seem all of a sudden broken. I have no xfilter
 command, which is required by my scripts.

xfilter is an internal command to maildrop. Is the rest of your
mailfilter working?

You might try enabling logging, or 

apt-get install --reinstall maildrop

-dsr-


-- 
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/20130318134025.gt27...@randomstring.org



Re: Installing Firebird database server on Debian

2013-03-18 Thread Dan Ritter
On Mon, Mar 18, 2013 at 12:50:07PM +, Steve Faleiro wrote:
 Using: Debian Squeeze AMD64
 
 Please describe the procedure to install Firebird database server
 either using apt-get or another way.
 
 Thanks in advance.

apt-cache search firebird
...
pick a version of firebird from the list presented, read a
little:
apt-cache show firebird2.5
...
sudo apt-get install firebird2.5
...
find the docs in /usr/share/doc/firebird2.5* and start reading.

-dsr-


-- 
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/20130318135021.gu27...@randomstring.org



Re: 4 port LAN card for Debian Squeeze or higher

2013-04-02 Thread Dan Ritter
On Tue, Apr 02, 2013 at 11:06:44AM +0500, Muhammad Yousuf Khan wrote:
 and yes 1 more thing i need we need All GIGA ports. 100BaseT will not work
 for us as we are looking for storing our VM backups from different directly
 connected server where we definite need performance and high bandwidth.
 
 
 On Tue, Apr 2, 2013 at 11:02 AM, Muhammad Yousuf Khan sir...@gmail.comwrote:
 
  i am about to build a centralized storage and i want some auto detect
  (where no requirement of drivers and high performance capability) LAN card
  for our server.
 
  Please advice.

Buy Intel. The 4-port gig-E cards run from $300 to $400 US, but work
very well.

-dsr-


-- 
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/20130402112339.gt27...@randomstring.org



Re: Scheduling btrfs scrub on desktop systems

2013-04-02 Thread Dan Ritter
On Tue, Apr 02, 2013 at 12:12:10PM +0100, Jonathan Dowland wrote:
 On Mon, Apr 01, 2013 at 05:25:48PM +0200, Steven Post wrote:
  But what if the system is powered down during a scrub? Will it continue
  when it boots up again?
  All assuming the scrub is started with 'btrfs scrub start -B path'.
 
 Why not start a scrub on reboot via @reboot in cron, too. Or would you
 prefer it if you didn't always scrub upon boot?

On my newly built system, a btrfs scrub across two disks (data
and metadata both RAID1) runs at about 10GB per minute. That's
GB of data/metadata in-use, not disk capacity. Still, when you
have a 2TB filesystem that's mostly full, a scrub will take more
than three hours.

You can't stop people shutting down their systems, but you can
pause a scrub.

btrfs scrub cancel DEVICE

in the shutdown script, and

btrfs scrub resume DEVICE

in the startup script will pick it up from where it left off.

Or, you could solve this with a social cue: please don't turn
off desktops on weekends. We run maintenance then.

-dsr-


-- 
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/20130402113057.gu27...@randomstring.org



Re: multi-core system and the file system

2013-04-03 Thread Dan Ritter
On Wed, Apr 03, 2013 at 03:26:31PM +0100, Matej Kosik wrote:
 Hello,
 
 I would like to ask, whether there is some intelligent way how to
 synchronize processes over the file-system state.
 
 E.g., if one process creates|modifies|deletes some file,
 how can I learn *when* that effect hits all cores?
 (not just the one where I executed those operations)

All the processors share the VFS system. You could start with
Overview of the Linux Virtual File System which is in 
kernel/documentation/vfs.txt

and

http://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html

-dsr-


-- 
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/20130403144045.gv27...@randomstring.org



Re: Squeeze X86 with 4GByte RAM?

2013-04-04 Thread Dan Ritter
On Thu, Apr 04, 2013 at 03:54:15PM +0100, Lisi Reisz wrote:
 On Thursday 04 April 2013 12:21:47 Gábor Hársfalvi wrote:
  I installed 4GByte RAM in my motherboard succesfully. In BIOS I see all the
  4096MByte, but after booting Squeeze it show me 3,5GByte. I know I should
  install the kernel with PAE - so I
  installed linux-image-2.6.32-5-686-bigmem package and restart computer.
 
 Why?
 
 I am running Squeeze with 16GB RAM and have an ordinary kernel.  I in fact 
 have a back-ported one at the moment, but because of my on-board ethernet, 
 not for PAE.  
 
 lisi@Tux-II:~$ uname -a
 Linux Tux-II 3.2.0-0.bpo.3-amd64 #1 SMP Thu Aug 23 07:41:30 UTC 2012 x86_64 
 GNU/Linux
 lisi@Tux-II:~$
 
 You don't need a special PAE kernel in Squeeze.

Lisi, you're running a 64-bit kernel. -amd64 rather than the
32-bit -686 kernel that Gáboris running.

Gábo, what CPU do you have? cat /etc/cpuinfo will tell you.

-dsr-


-- 
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/20130404145822.gy27...@randomstring.org



Re: which operation leads to the close all opening terminals

2013-04-10 Thread Dan Ritter
On Thu, Apr 11, 2013 at 12:01:33AM +0800, lina wrote:
 Hi,
 
 Right now, I have three or four terminals open, with 1 to 5 tabs in each
 terminal, most are ssh out.
 
 In one terminal, I typed more 
 
 just one blink, all those terminal-emulators gone.
 
 It's my first time meet this issue.
 
 So I wonder which may lead to this episode?
 

Without data, we can only speculate. Here's my wild speculation:

You thought you had multiple terminals open, but what you had
was a single master process with multiple sub-processes. A
failure of some kind happened in the master process and when it
died, it took all the children with it.

-dsr-


-- 
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/20130410172438.gg27...@randomstring.org



Re: which operation leads to the close all opening terminals

2013-04-11 Thread Dan Ritter
On Thu, Apr 11, 2013 at 12:42:12PM +0800, lina wrote:
   Without data, we can only speculate. Here's my wild speculation:
  
  You thought you had multiple terminals open, but what you had
  was a single master process with multiple sub-processes. A
 
 I did have multiple terminals open.
 
 It only happened once, at least in what I can recall.
 
  failure of some kind happened in the master process and when it
  died, it took all the children with it.

So I ran an experiment. I ran gnome-terminal. That opened a
window. Then I went to File-Open Terminal several times. Now
there are several windows open.

Guess how many gnome-terminal processes there are?

1.

And when I killed that one process, all the gnome-terminal
windows disappeared.

-dsr-


-- 
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/20130411150418.gh27...@randomstring.org



Re: Continued problems with Canon 110 scanner

2013-04-12 Thread Dan Ritter
On Fri, Apr 12, 2013 at 06:21:40PM +0100, Lisi Reisz wrote:
 This scanner worked on my old computer with Squeeze and Xsane.  I have 
 installed Squeeze on my new computer.  Now the scanner doesn't work.  It lies 
 inert and dead and neither xsane nor sane-find-scanner can find it.
 
 lisi@Tux-II:~$ lsusb
 Bus 006 Device 002: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse 
 Adapter
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 005: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110
 Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 lisi@Tux-II:~$ 
 ---
 ---
 lisi@Tux-II:~$ sane-find-scanner
   # You may want to run this program as root to find all devices. Once you
   # found the scanner devices, be sure to adjust access permissions as
   # necessary.
 lisi@Tux-II:~$
 --

Have you tried running sane-find-scanner as root?

-dsr-


-- 
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/20130412173350.gj27...@randomstring.org



Re: what's your Debian uptime?

2013-04-18 Thread Dan Ritter
On Thu, Apr 18, 2013 at 10:56:53AM -0600, Bob Proulx wrote:
 I don't think uptime challenges are useful.  It makes people want to
 do something that they shouldn't want to do.  When kernel security
 upgrades come along just install them and reboot.  Human made
 machines of all types have been running for a very long time and it
 just isn't productive or useful to try to go for a record.

The central realization is that machines provide services, and
it is the service that needs to be continuously available, not
the machine.

Load balancers, fail-over, and similar schemes are much more
likely to bring long-term success than a carefully tended
kspliced single machine, even though the latter is impressive in
its own right.

-dsr-


-- 
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/20130418170439.gb27...@randomstring.org



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Dan Ritter
On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:
 I will be using email, Usenet, browser and occasionally file
 downloading.
 Nothing on my system should look/act like a server.
 I want all programs to access the internet after explicitly asking
 for permission.
 The response to the request may be:
No
Always YES
Ask each occurrence

Programs don't generally ask for permissions; they assume that
they are connected, and report failures when they can't make
connections.

I suppose that you could write a wrapper script for every
program, so that if you invoke it through the wrapper you have
opened the necessary ports, and if you invoke the program
without the wrapper the connections are dropped. However, while
the wrapper is being run, any copy of the program could have
the same permissions.

On Android systems, this issue is slightly addressed (though not
in the manner you want) by having a new user added for every
program, and running each program under that user-id. Since
iptables can look at effective user-id when making packet
accept/drop decisions, you can do per-program firewalls that
way.

By the way, you have an unusually brusque way of stating
conditions rather than asking questions, which comes across as
slightly rude. 

-dsr-


-- 
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/20130423144323.gj27...@randomstring.org



Re: Fwd: Question

2013-04-25 Thread Dan Ritter
On Thu, Apr 25, 2013 at 03:03:00PM -0300, german carutti wrote:
 Hello.
 I am a teacher of hardware and software Argentina high school and yesterday
 I was going to buy a cell phone, my main option was android, but I have
 found that this system is corporate because you are not allowed to
 modify, interact
 with the root and also google can see who your contacts, calendar, where
 you are and you do.
 This agreement does not violate the use of free software?
 No one would have units Alternative to this?

I'm not familiar with the available cell phone providers in
Argentina, but I'll make an assumption that the situation is
similar to Europe, in that you can purchase a phone and a GSM
SIM separately from the service provider you choose.

Android is a fork of Linux plus an entire windowing system and 
management interface. The base Android system is open source.

A phone which you purchase may be locked down to one extent or
another, but you should be able to buy a phone which is easy to
unlock. Then you can put a free distribution of Android on it.

For example, I use a Samsung Galaxy Nexus with the Android Open
Source Project derivative distribution called AOKP. The Nexus
phones are all easy to unlock.

A little research should show you what phones are compatible
with your service providers and are also easy to replace the
operating systems.


-dsr-


-- 
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/20130425222851.go27...@randomstring.org



Re: Re (2): psaux

2013-05-04 Thread Dan Ritter
On Tue, Apr 30, 2013 at 10:56:13AM -0700, peasth...@shaw.ca wrote:
 According to Wikipedia, the PS/2 connection was designed in 1987 
 and the first release of the Linux kernel was in 1991.  Therefore 
 /dev/psaux could have appeared in Unix before it appeared in 
 Linux.  Whether the first appearance was in Unix or Linux, I would 
 have expected the name to be /dev/ps2 rather than /dev/psaux. 

People would have asked about /dev/ps0 and /dev/ps1.

As it is, motherboards often have one or two ps/2 ports, and
they may or may not be different -- some will only take mice,
some will only take keyboards, some don't care -- there is no
way that I am aware of to differentiate between them from an
end-user view.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20130430213722.gw27...@randomstring.org



Re: sudoers vs admin group

2013-05-04 Thread Dan Ritter
On Tue, Apr 30, 2013 at 04:10:41PM -0500, Michael wrote:
 Is there any (significant) difference between editing (adding a user
 to) the  _/etc/sudoers_ file and adding a person to the _admin
 group?_  Am I comparing apples and oranges?

Yes, it's different.

The admin group is a normal UNIX group. It confers no privileges
by itself other than the ability to read/write admin-group
files.

If /etc/sudo is configured to treat the admin group specially -- then
additional privileges may accrue from that.

However, it's more usual to create a sudo group, or a wheel
group, for those purposes.

-dsr-


-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20130430214128.gx27...@randomstring.org



Re: Debian 7 Wheezy Stable Relelased

2013-05-05 Thread Dan Ritter
On Sun, May 05, 2013 at 03:44:35PM -0400, Stephen P. Molnar wrote:
  
 It's very easy to install XFCE.  Drill down in the graphical installer
 to other desktops and make your selection

Or:

sudo apt-get install xfce4 xfce4-goodies

-dsr-


-- 
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/20130505231140.gh27...@randomstring.org



Re: Debian in the sunshine?

2013-05-06 Thread Dan Ritter
On Mon, May 06, 2013 at 04:07:04PM +, Hendrik Boom wrote:
 I'm a long-time user of Debian, and also have an e-paper ebook reader.  
 It occurs to me that something like a Debian laptop with an e-ink screen 
 would be extremely useful, for, say, sitting on a sunny back porch in the 
 summer and programming -- a situation where the normal luminous screens 
 are a complete washout.  No, I don't expect to be able to watch videos on 
 an e-ink screen.  But the kind of (non)dynamism that occurs when editing 
 code in emacs should be easily achievable.
 
 Anybody know of any hardware that could be used (or, if necessary, 
 abused) for this purpose?  Preferably with bog-standard Debian?
 

The only sunlight-readable display on a general purpose
computing device capable of running Debian of which I am aware
[deep breath] is the OLPC XO-1 (and 1.5, 1.75).

-dsr-


-- 
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/20130506165458.gi27...@randomstring.org



Re: Debian 7 with two displays.

2013-05-09 Thread Dan Ritter
On Thu, May 09, 2013 at 05:06:14PM +0200, Antonio Fernández Pérez wrote:
 Hi everybody,
 
 I'm having problems configuring Debian 7 with two displays. I can't to get
 to have the system configured with a big desktop (Not as clone). I have
 installed privative driver of Ati (Radeon HD 4650), I have installed KDE
 4.8.4, Gnome, XFCE ... Now I'm blocked.

You can either tell the X server to turn on Xinerama, or you can
probably ask the ATI driver to merge the screens and pretend that there
is only one.

Section ServerLayout
Identifier Multihead
Screen  screen0
Screen  screen1 RightOf screen0
InputDevice mouse1 CorePointer
InputDevice keyboard1 CoreKeyboard
Option Xinerama
EndSection

-dsr-


-- 
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/20130509151809.gu27...@randomstring.org



Re: amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes

2013-05-24 Thread Dan Ritter
On Tue, May 21, 2013 at 09:12:10AM -0700, Alexandru Cardaniuc wrote:
 Ok, so any way to fix that now? Without reinstalling everything? Any way to
 move the partitiions?
 
 Also, I don't remember creating these md partitions. The installer does
 that by default? I should do that part manually during installation? But I
 didn't see that option in the installer...
 

md partitions are created when you select software RAID in the
installer, or manually created with mdadm.

-dsr-


-- 
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/20130521161533.gi27...@randomstring.org



Re: Post removal.

2013-06-02 Thread Dan Ritter
On Wed, May 29, 2013 at 10:26:32AM -0700, Harry Kniznik wrote:
 Is it possible to get a post from a newsgroup removed from Debian? Of so, 
 how? 

No.

(I can explain at length for both mailing lists and Usenet
newsgroups, but the answer still boils down to no.)

-dsr-


-- 
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/20130529182747.gw27...@randomstring.org



Re: Debian 7 ext4 problem

2013-06-03 Thread Dan Ritter
On Sat, Jun 01, 2013 at 09:34:37PM +0300, Andrei Hristow wrote:
 hello, after installing debian 7 have a lot of problems
 On debian 6.0.7 everything works perfectly and quickly but on debian 7.0.0.
 amd64
 I have a serious problem with overloading the hard drive.
 I have a website and use MySQL, at that moment began the biggest problems
 the hard drive is under constant load.
 The hard drive is noisy, slow. I think there is a problem with the driver
 for ext4.
 I'll give hardware info
 Gigabyte GA-EP45-ud3r motherboard
 Intel core 2 duo E6400 Processor
 8 GB RAM DDR2 800 Kingston
 Hard Drive WD 1 TB SATA 3 64 CACHE BLACK 7200 RPM
 I guess there is a problem because of Debian 6.0.7 everything works
 perfectly. But on Debian 7.0.0. I find it hard to believe that this is
 Debian

You need to give more information.

What is in your logs? Is your hard disk giving errors? What does
MySQL say? Does everything calm down if you stop the webserver?

-dsr-


-- 
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/20130602170020.gd31...@randomstring.org



Re: Trouble reinstalling everything.

2013-06-19 Thread Dan Ritter
On Wed, Jun 12, 2013 at 04:24:06AM +1000, John Tate wrote:
 Noted, unhide has not noticed anything nor unhide.rb or rkhunter but I
 get considerable lag sometimes as if screenshots are being taken of
 the desktop. It might just be the latest nvidia drivers but it scares
 the willies out of me.

Have you seen anomalous output in system logs? Xorg.log.0? 

-dsr-


-- 
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/20130612134001.gw31...@randomstring.org



Re: Unknown option: -a to fsck.btrfs

2013-06-25 Thread Dan Ritter
On Sat, Jun 22, 2013 at 03:29:36PM +0100, Dan Dart wrote:
 Recently after an upgrade to my Debian system (and after a certain
 number of mounts) whose rootfs is on btrfs, my system now goes to
 maintenance shell mode because it can't run fack against the root fs.
 
 Whilst attempting to fsck all my disks, it stumbled on fsck.btrfs:
 
 Unknown option: -a
 usage: btrfs [--help] [--version] group [group...] command [args]
 
 Is this a bug in the way the filesystem is calling it, the fact that
 fsck.btrfs only currently works on unmounted (not RO mounted) or am I
 doing something stupid here (like for instance having btrfs on rootfs
 isn't considered sensible yet)?

Well, *I* wouldn't use btrfs for / at this point, unless I was
doing it specifically to test something. If you read the btrfs
man page, it says:

   Btrfs filesystem is currently under heavy
   development,  and not suitable for any uses other than
   benchmarking and review. 

Your initrd tries to mount your root filesystem, and if it
determines that it is dirty or past the expiration of time or
runs since last fsck, it helpfully tries to run an automated
fsck for you.

Unfortunately, btrfs doesn't have a fsck that accepts:

-a Automatically repair the file system without any
questions

and so it falls over.

You can avoid this problem, but it's a hack:

rm /sbin/fsck.btrfs
cp /bin/true /sbin/fsck.btrfs

Now, you should regularly run a btrfs scrub of each btrfs
filesystem. Put it in cron and run it weekly or monthly.

Run btrfsck by hand when scrub tells you there's a problem.

And read the btrfs wiki at https://btrfs.wiki.kernel.org/

-dsr-


-- 
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/20130625200310.gh31...@randomstring.org



Re: Unknown option: -a to fsck.btrfs

2013-06-25 Thread Dan Ritter
On Tue, Jun 25, 2013 at 09:06:01PM +0100, Dan Dart wrote:
 Okay then, thanks, I'll do that. Out of curiosity, which is the script to
 do the fsck'ing on boot up?

Start reading here: http://wiki.debian.org/InitramfsDebug

-dsr-


-- 
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/20130625204127.gi31...@randomstring.org



Re: Nvidia and 4 monitors in 7.1

2013-06-26 Thread Dan Ritter
On Tue, Jun 25, 2013 at 04:52:06PM -0700, Dan Serban wrote:
 On Fri, 21 Jun 2013 11:18:45 -0700
 Dan Serban dser...@lodgingcompany.com wrote:
 
 [snip]
 
  
  [1] http://paste.debian.net/10492/
  [2] http://paste.debian.net/10491/
  
 
 So, nothing huh?  Is what I want to do impossible in Wheezy?

It used to be possible to run Xinerama across multiple video
cards. It probably still works, but will disable compositing
and/or GLX on one or more monitors.

Other than that, you can use the utilities provided by your
video card manufacturer, but I believe NVidia doesn't offer
built-in multicard sharing. I could be wrong.

-dsr-


-- 
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/20130626141235.gj31...@randomstring.org



  1   2   3   4   5   6   7   8   9   10   >