Re: Sharing LVM storage

2015-04-14 Thread Reco
Hi. On Wed, Apr 15, 2015 at 08:41:07AM +0200, Petter Adsen wrote: > > > I just want to try it out to see how it works, it's not something I > > > need by any stretch of the imagination, so there's a limit to how > > > far down that rabbit-hole I want to go. > > > > As long as you don't forget to

Re: Debian 7 and external monitors and graphics adaptors

2015-04-14 Thread Bret Busby
On 15/04/2015, Bret Busby wrote: > On 14/04/2015, Bret Busby wrote: >> On 14/04/2015, Curt wrote: >>> On 2015-04-14, Bret Busby wrote: so it apparently, is driving the inboard Intel graphics adaptor, and not the nVIDIA GT750m graphics adaptor. >>> >>> The best thing would be to l

Re: Sharing LVM storage

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 18:14:31 +0300 Reco wrote: > Hi. > > On Tue, Apr 14, 2015 at 04:01:02PM +0200, Petter Adsen wrote: > > I'm using LVM as storage for virtual machines, and would like to > > share a PV between two machines with iSCSI to be able to migrate > > the VM's. > > I did the thing som

Re: debian 8

2015-04-14 Thread Bret Busby
On 13/04/2015, Petter Adsen wrote: > On Mon, 13 Apr 2015 23:23:54 +0800 > Bret Busby wrote: >> 2. As indicated in earlier posts, the two computers to which I have >> referred; the Acer V3-772G and the Acer E5-521-238Q (I think that is >> the model number of the newer one - it is in my previous po

[solved] Re: Error message on console at logging in

2015-04-14 Thread Rodolfo Medina
Rodolfo Medina writes: > Hi all. > > With Debian 8: on my Acer netbook, when logging in, if I rotate the screen, > many undesired lines appear on the console complaining: > > usb 2-1: device descriptor read/64, error -71 > > . No usb device is inserted in the machine, but the error message dist

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 9:20:06 PM UTC+5:30, David Christensen wrote: > I mentioned SICP before. The concepts are great, but the Scheme > programming language and REPL environment aren't my favorite. If you're > serious about computer science and computer programming, read it first > and

Re: Debian 7 and external monitors and graphics adaptors

2015-04-14 Thread Bret Busby
On 14/04/2015, Bret Busby wrote: > On 14/04/2015, Curt wrote: >> On 2015-04-14, Bret Busby wrote: >>> >>> so it apparently, is driving the inboard Intel graphics adaptor, and >>> not the nVIDIA GT750m graphics adaptor. >> >> The best thing would be to look at the log file for X (on Squeeze LTS >

Re: gnome-settings-daemon, dbus use about %80 of CPU

2015-04-14 Thread Mikael Flood
Hello, Try removing user file under ~/.config/dconf rm ~/.config/dconf/user This will revert your desktop to a "factory default" state (all shortcuts and desktop changes will be reverted). Let me know if this helps. On 13 April 2015 at 17:18, claude juif wrote: > Hi, > > Can you check xsessi

Re: wheezy drive recognition?

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 23:27:36 David Christensen wrote: > On 04/14/2015 07:30 PM, Gene Heskett wrote: > > I have a 3 drive hot swap cage ... > > wheezy on what is now /dev/sda. ... > > Tonight I cut the blisterpack off the first of the 2Tb drives and > > slid it into slot 2. ... > > Wheezy, with

Re: wheezy drive recognition?

2015-04-14 Thread David Christensen
On 04/14/2015 07:30 PM, Gene Heskett wrote: I have a 3 drive hot swap cage ... wheezy on what is now /dev/sda. ... Tonight I cut the blisterpack off the first of the 2Tb drives and slid it into slot 2. ... Wheezy, with "SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux" kernel running cannot connect to

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 23:01:19 -, Cam Hutchison wrote: > I don't think dir_index has anything to do with it. An index speeds up > lookups. You are not doing lookups; you are traversing the entire data > structure. A B-tree data structure can take longer to traverse than a > contiguous array data struct

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread The Wanderer
On 04/14/2015 at 12:55 PM, Bob Proulx wrote: > Petter Adsen wrote: > >> Can someone please enlighten me as to why the entry for this >> directory is so large, even though it is empty? Since it's >> apparently obvious to everyone else, I would very much like to know >> :) > > In the old days dire

Re: FAQ's versus "Questions Newbies SHOULD Ask"?

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 21:52:16 Nate Bargmann wrote: > * On 2015 14 Apr 13:57 -0500, Gene Heskett wrote: > > On Tuesday 14 April 2015 12:08:09 Lisi Reisz wrote: > > > On Tuesday 14 April 2015 17:03:48 Richard Owlett wrote: > > > > FAQ's may indicate questions others have asked. > > > > > > In m

wheezy drive recognition?

2015-04-14 Thread Gene Heskett
Greetings drive guru's; I have a 3 drive hot swap cage in my machine for a couple years now, and no it is NOT setup as a raid of any kind. It has had a triplet of 1T seagate drives in it since installing it. My main boot drive had a 10.04-4 LTS Ubuntu install on it, but the drive went read onl

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 13:26:16 -0300, Henrique de Moraes Holschuh wrote: > Yeah, that's a bad habit to have as it slows down way too many > utilities (lots of stuff benefit for extremely lightweight > ultra-fast tmpfs in /tmp and $TMPDIR, from "sort" to gcc without > -pipe), but it is indeed widespread. C

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 10:55:12 -0600, Bob Proulx wrote: > Other file systems such as xfs designed for large files and large > numbers of files DO shrink when files are removed. That is one of the > reasons why xfs is recommended for industrial strength use. It was > designed to handle those kinds of work

Re: FAQ's versus "Questions Newbies SHOULD Ask"?

2015-04-14 Thread Nate Bargmann
* On 2015 14 Apr 13:57 -0500, Gene Heskett wrote: > > > On Tuesday 14 April 2015 12:08:09 Lisi Reisz wrote: > > On Tuesday 14 April 2015 17:03:48 Richard Owlett wrote: > > > FAQ's may indicate questions others have asked. > > > > In my experience they frequently indicate questions the writer is >

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Patrick Bartek
On Tue, 14 Apr 2015, Rodolfo Medina wrote: > Patrick Bartek writes: > > > Of course, if you really want TOTAL control of your GUI, a window > > manager is the way to go. That's what I did. Installed Openbox. > > The same WM that LXDE uses. A little more work, but worth it. > > Thanks. I'm t

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Cam Hutchison
Vincent Lefevre writes: >On 2015-04-13 16:28:27 -0600, Bob Proulx wrote: >> Without dir_index an ext filesystem with large directories is slow due >> to the linear nature of directories. But with dir_index it should be >> using a B-tree data structure and should be much faster. >So, why is it

Re: Subject: network-console installation and ssh keys

2015-04-14 Thread Christian Seiler
On 04/14/2015 10:31 PM, David Wright wrote: I like the new Network Console option in the installer. However, when I reinstall Debian onto a machine called, say, desk select the necessary options, type in the password for the installer session, and then sit back with a machine called, lap, when I

[solved] Re: Error message on console at logging in

2015-04-14 Thread Rodolfo Medina
Rodolfo Medina writes: > Darac Marjal writes: > >> On Mon, Feb 02, 2015 at 10:06:43AM +, Rodolfo Medina wrote: >>> Hi all. >>> >>> With Debian 8: on my Acer netbook, when logging in, if I rotate the screen, >>> many undesired lines appear on the console complaining: >>> >>> usb 2-1: devic

Bluetooth file transfer on jessie

2015-04-14 Thread David Wright
Hi, I transfer the photos off my mobile using bluetooth on wheezy and I'm trying to do the same on jessie and having some difficulty. Under wheezy, things are simple: 1) # /usr/sbin/hciconfig hci0 piscan makes the laptop discoverable. 2) $ bluetooth-agent 1234 sets a passkey to connect to the la

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Rodolfo Medina
David Wright writes: > The OP seems to have got something useful out of the thread. I think I'll ask > questions about the wiki page for Bluetooth instead. I read carefully all the messages of the thread and appreciated and am grateful to anyone who wrote. I'm still thinking all it over. Than

Re: Jessie: No VGA signal after gdm3 login

2015-04-14 Thread Thomas H. George
On Tue, Apr 14, 2015 at 04:22:24PM +0200, Petter Adsen wrote: > On Tue, 14 Apr 2015 08:50:45 +0200 > Petter Adsen wrote: > > > On Mon, 13 Apr 2015 15:42:03 -0400 > > "Thomas H. George" wrote: > > > > > Just returned from vacation, booted up. > > > > > > After gdm3 login screen goes blank, then

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread David Wright
Quoting Jonathan Dowland (j...@debian.org): > On Mon, Apr 13, 2015 at 01:09:46PM -0500, David Wright wrote: > > Quoting Brian (a...@cityscape.co.uk): > > > On Mon 13 Apr 2015 at 12:00:52 -0500, David Wright wrote: > … > > > > So the most I could do is set up an account just to write "This list > >

Re: Subject: network-console installation and ssh keys

2015-04-14 Thread Liam O'Toole
On 2015-04-14, David Wright wrote: > I like the new Network Console option in the installer. > However, when I reinstall Debian onto a machine called, say, desk > select the necessary options, type in the password for the > installer session, and then sit back with a machine called, lap, > when I

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Lisi Reisz
On Tuesday 14 April 2015 20:11:30 Brian wrote: > On Tue 14 Apr 2015 at 15:32:47 +0100, Jonathan Dowland wrote: > > On Mon, Apr 13, 2015 at 01:09:46PM -0500, David Wright wrote: > > > Quoting Brian (a...@cityscape.co.uk): > > > > On Mon 13 Apr 2015 at 12:00:52 -0500, David Wright wrote: > > > > … >

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Rodolfo Medina
Patrick Bartek writes: > Of course, if you really want TOTAL control of your GUI, a window > manager is the way to go. That's what I did. Installed Openbox. The > same WM that LXDE uses. A little more work, but worth it. Thanks. I'm trying it. In the web browser, I open a new tab with C-t,

Subject: network-console installation and ssh keys

2015-04-14 Thread David Wright
I like the new Network Console option in the installer. However, when I reinstall Debian onto a machine called, say, desk select the necessary options, type in the password for the installer session, and then sit back with a machine called, lap, when I type ssh installer@desk I get the usual @

Has the rescatux and supergrubdisk project been terminated

2015-04-14 Thread Bret Busby
On 07/02/2015, Diogene Laerce wrote: > > > You could give a try to Grub Rescue : http://www.supergrubdisk.org/ > > Good luck ! > > Hello. I have just tried to find the Rescatux web site, to try to download a copy, and I found, at http://www.supergrubdisk.org/ "Website disabled" also at http

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Brian
On Tue 14 Apr 2015 at 15:32:47 +0100, Jonathan Dowland wrote: > On Mon, Apr 13, 2015 at 01:09:46PM -0500, David Wright wrote: > > Quoting Brian (a...@cityscape.co.uk): > > > On Mon 13 Apr 2015 at 12:00:52 -0500, David Wright wrote: > … > > > > So the most I could do is set up an account just to wr

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Henrique de Moraes Holschuh
On Tue, Apr 14, 2015, at 14:52, Doug wrote: > >>> Removing files from the directory does not change directory's inode > >>> size. If using ext4, at least. > What is the best way of solving this? Since the directory is empty, can you > just do an rmdir dirname ? Now if there are one or two files i

Re: no bluetooth audio in jessie

2015-04-14 Thread deloptes
Juha Heinanen wrote: > A few days ago, I upgraded my laptop from wheezy to jessie. After that > I noticed that audio to my bluetooth speaker didn't work anymore. I had > been using alsa audio and had a bluetooth type entry in my .asoundrc for > my speaker. > > After a bit of digging it turned o

Re: FAQ's versus "Questions Newbies SHOULD Ask"?

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 12:08:09 Lisi Reisz wrote: > On Tuesday 14 April 2015 17:03:48 Richard Owlett wrote: > > FAQ's may indicate questions others have asked. > > In my experience they frequently indicate questions the writer is > hoping/expecting you to ask, that noone has ever asked and that

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Doug
On 04/14/2015 05:15 AM, Reco wrote: Hi. On Tue, Apr 14, 2015 at 09:22:15AM +0200, Petter Adsen wrote: /snip/ 2015-04-13 14:39 GMT+02:00 Vincent Lefevre : The problem is that this operation is (always?) very slow: something like 100 seconds (1 minute and 40 seconds). It has been reproducib

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 11:04:06 -0300, Henrique de Moraes Holschuh wrote: > On Tue, Apr 14, 2015, at 10:06, Vincent Lefevre wrote: > > > Without dir_index an ext filesystem with large directories is slow due > > > to the linear nature of directories. But with dir_index it should be > > > using a B-tree dat

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Bob Proulx
Petter Adsen wrote: > Can someone please enlighten me as to why the entry for this directory > is so large, even though it is empty? Since it's apparently obvious to > everyone else, I would very much like to know :) In the old days directories were simply an array of fixed sized integers and fixe

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Henrique de Moraes Holschuh
On Tue, Apr 14, 2015, at 13:11, Bob Proulx wrote: > Oh! I was unaware of the e2fsck -D option. Good deal! I didn't recall it existed either, or I'd have mentioned it much earlier in the thread... but I noticed it in the manpage while doing some research due to my participation on this thread.

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Bob Proulx
Henrique de Moraes Holschuh wrote: > Bob Proulx wrote: > > tune2fs -O dir_index /dev/sda5 > > But existing directories are not converted. Only new directories are > > Do a forced e2fsck run on the filesystem, and it should add the > indexes to all directories that lack it. It can also change t

Re: FAQ's versus "Questions Newbies SHOULD Ask"?

2015-04-14 Thread Lisi Reisz
On Tuesday 14 April 2015 17:03:48 Richard Owlett wrote: > FAQ's may indicate questions others have asked. In my experience they frequently indicate questions the writer is hoping/expecting you to ask, that noone has ever asked and that I have never thought of asking. Lisi -- To UNSUBSCRIBE,

FAQ's versus "Questions Newbies SHOULD Ask"?

2015-04-14 Thread Richard Owlett
I just spent an instructive morning reading about: * inodes * Ext2 vs Ext3 vs Ext4 * Sudo vs Su {unfortunately most was heavily Ubuntu oriented not Debian specific} Each of those were prompted by by reading various threads in this group and some actual problems I've run into. FAQ's may

Re: Book questions

2015-04-14 Thread David Christensen
On 04/14/2015 12:35 AM, Petter Adsen wrote: I see that a lot of people advice me on going with something other than C, and I can understand that there are good reasons for this advice. While I still want to learn C at some point, I'm beginning to think that it might be wise to consider getting a

Re: Debian 7 and external monitors and graphics adaptors

2015-04-14 Thread Bret Busby
On 14/04/2015, Curt wrote: > On 2015-04-14, Bret Busby wrote: >> >> so it apparently, is driving the inboard Intel graphics adaptor, and >> not the nVIDIA GT750m graphics adaptor. > > The best thing would be to look at the log file for X (on Squeeze LTS > that is to be found at the following loca

Re: Sharing LVM storage

2015-04-14 Thread Reco
Hi. On Tue, Apr 14, 2015 at 04:01:02PM +0200, Petter Adsen wrote: > I'm using LVM as storage for virtual machines, and would like to share > a PV between two machines with iSCSI to be able to migrate the VM's. I did the thing some time ago. It worked, although I used ietd and not today's tgtd. T

Re: Sharing LVM storage

2015-04-14 Thread Thomas Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I already did that with clvm and OpenAIS. Regards, Le 14/04/2015 16:01, Petter Adsen a écrit : > I'm using LVM as storage for virtual machines, and would like to share > a PV between two machines with iSCSI to be able to migrate the VM's. >

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Patrick Bartek
On Tue, 14 Apr 2015, August Karlstrom wrote: > On 2015-04-14 03:20, Patrick Bartek wrote: > > The rule mounts and unmounts flash drives -- just plug and unplug > > -- and cards (any type using an external card or multi-card > > reader. The caveat is: you must plug the card in first, then plug > >

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread Jonathan Dowland
On Mon, Apr 13, 2015 at 01:09:46PM -0500, David Wright wrote: > Quoting Brian (a...@cityscape.co.uk): > > On Mon 13 Apr 2015 at 12:00:52 -0500, David Wright wrote: … > > > So the most I could do is set up an account just to write "This list > > > entry may mislead you" on the page. … > > You could

Re: Jessie: No VGA signal after gdm3 login

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 08:50:45 +0200 Petter Adsen wrote: > On Mon, 13 Apr 2015 15:42:03 -0400 > "Thomas H. George" wrote: > > > Just returned from vacation, booted up. > > > > After gdm3 login screen goes blank, then No VGA Signal > > Installed xdm. Same result > > Ran apt-get update, apt-get di

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Henrique de Moraes Holschuh
On Tue, Apr 14, 2015, at 10:06, Vincent Lefevre wrote: > > Without dir_index an ext filesystem with large directories is slow due > > to the linear nature of directories. But with dir_index it should be > > using a B-tree data structure and should be much faster. > > So, why is it slow? What ker

Sharing LVM storage

2015-04-14 Thread Petter Adsen
I'm using LVM as storage for virtual machines, and would like to share a PV between two machines with iSCSI to be able to migrate the VM's. Wikipedia says this: "The LVM will also work in a shared-storage cluster (where disks holding the PVs are shared between multiple host computers), but require

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Reco
On Tue, Apr 14, 2015 at 03:15:02PM +0200, Vincent Lefevre wrote: > On 2015-04-14 12:15:03 +0300, Reco wrote: > > On Tue, Apr 14, 2015 at 09:22:15AM +0200, Petter Adsen wrote: > > > On Tue, 14 Apr 2015 10:12:28 +0300 > > > Reco wrote: > > > > On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen w

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 08:47:15 -0300, Henrique de Moraes Holschuh wrote: > Also, some of the Unix best-practices do address this kind of > filesystem issue. One such best-practice is that you don't remove > just the files in ephemeral directories: you either use an ephemeral > filesystem (tmpfs) in the fir

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-14 12:15:03 +0300, Reco wrote: > On Tue, Apr 14, 2015 at 09:22:15AM +0200, Petter Adsen wrote: > > On Tue, 14 Apr 2015 10:12:28 +0300 > > Reco wrote: > > > On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen wrote: > > > Removing files from the directory does not change directory's i

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-13 16:28:27 -0600, Bob Proulx wrote: > Vincent Lefevre wrote: > > Loïc Grenié wrote: > > > Vincent Lefevre wrote: > > > > The problem is that this operation is (always?) very slow: something > > > > like 100 seconds (1 minute and 40 seconds). It has been reproducible > > > > for several

Re: debian 8

2015-04-14 Thread Henrique de Moraes Holschuh
On Mon, Apr 13, 2015, at 13:29, Gene Heskett wrote: > On Monday 13 April 2015 08:07:40 Henrique de Moraes Holschuh wrote: > > Sometimes it will also be necessary to remove the backup (RTC/CMOS) > > battery. In that case you will likely have to leave the box unpowered > > (do not reconnect any of t

Re: Debian 7 and external monitors and graphics adaptors

2015-04-14 Thread Curt
On 2015-04-14, Bret Busby wrote: > > so it apparently, is driving the inboard Intel graphics adaptor, and > not the nVIDIA GT750m graphics adaptor. The best thing would be to look at the log file for X (on Squeeze LTS that is to be found at the following location: '/var/log/Xorg.0.log') in order

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Mart van de Wege
basti writes: If I do this it works: # mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/loop0 /dev/loop1 Creates a two disk RAID1 array. Adding a third disk: # mdadm --grow /dev/md0 --level=1 --raid-devices=3 --add /dev/loop2 And: # mdadm --detail /dev/md0 /dev/md0: Version :

Re: usb wireless keyboard and mouse (was debian 8)

2015-04-14 Thread Stefan Monnier
>> The bios, the last defense when things go south, may not >> regcognise a bluetooth > usb attached keyboard. > AFAIK the BIOS simply sees a USB keyboard and mouse whether or not the > actual device will be reached via a wire or a radio signal. This depends: there are two kinds of cordless mouses

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Vincent Lefevre
On 2015-04-13 15:50:40 -0500, David Wright wrote: > That's staggering. My /var/lib/dpkg/info has ~8900 files and occupies > 462848 bytes. So that would be over ½million files in your case. > Does eftests stand for "excessive files tests"! It means "elementary function tests", but what this doesn't

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Reco
Hi. On Tue, Apr 14, 2015 at 11:42:22AM +0200, basti wrote: > Hello > I want to add a 3rd drive to a raid 1 array (for disaster backup, the > drive will be connectet once a week). > I dry: > > mdadm --add /dev/md1 /dev/sde1 > > when I fail the drive there is a message > > FailSpare event detect

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 5:00:04 PM UTC+5:30, Petter Adsen wrote: > On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) > Rusi Mody wrote: > > Beyond that what you should take up really depends on what calls you: > > - python is nice if its scripts > > Well, on a practical level I need something that ca

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 5:00:04 PM UTC+5:30, Petter Adsen wrote: > On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) > Rusi Mody wrote: > > Specifically for linux system-level stuff, python will give you > > 80-90% of the C level stuff at ⅕ the pain. > > eg for TCP/IP networking look at > > https://do

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Henrique de Moraes Holschuh
On Tue, Apr 14, 2015, at 04:22, Petter Adsen wrote: > But if you create new files in that directory after deleting them, I > expect the inodes get reallocated? They do, but a directory does not store inodes. http://en.wikipedia.org/wiki/Inode For ext4: https://ext4.wiki.kernel.org/index.php/Ext4_

Re: Book questions

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 03:35:50 Petter Adsen wrote: > On Mon, 13 Apr 2015 16:36:44 -0500 > > David Wright wrote: > > Quoting Petter Adsen (pet...@synth.no): > > > On Mon, 13 Apr 2015 20:21:49 +0300 > > > > > > Reco wrote: > > > > Let's see as I didn't have OS design in mind. Something like: > >

Re: Book questions

2015-04-14 Thread Nate Bargmann
As this is starting to take the tone of a religious argument ( :-) let me say that while you may not need to know all of the dark corners of C, you will want to know its semantics and here is why. Inevitably you will have to need to use system calls and when you look them up in the manual pages wh

Re: Book questions

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) Rusi Mody wrote: > On Tuesday, April 14, 2015 at 1:10:04 PM UTC+5:30, Petter Adsen wrote: > > That I can also accept. I see that a lot of people advice me on > > going with something other than C, and I can understand that there > > are good reasons for thi

Re: [SOLVED] Trailing "m"s at the end of every line when viewing man pages

2015-04-14 Thread Stephen Powell
On Mon, 06 Apr 2015 21:51:05 -0400 (EDT), Stephen Powell wrote: > > Here's how I fixed it, or rather, how I worked around it. > ... For those of you who are interested, I wrote up what I learned about serial terminals and serial consoles and put it in my lilo web page at http://users.wowway.

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 1:10:04 PM UTC+5:30, Petter Adsen wrote: > On Mon, 13 Apr 2015 16:36:44 -0500 > David Wright wrote: > > Quoting Petter Adsen wrote: > > > On Mon, 13 Apr 2015 20:21:49 +0300 > > > Reco wrote: > > > > Let's see as I didn't have OS design in mind. Something like: > > > >

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Henrique de Moraes Holschuh
On Mon, Apr 13, 2015, at 19:28, Bob Proulx wrote: > Without dir_index an ext filesystem with large directories is slow due > to the linear nature of directories. But with dir_index it should be > using a B-tree data structure and should be much faster. This can be > turned off for a migration if

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 02:58:20 Petter Adsen wrote: > On Mon, 13 Apr 2015 15:41:03 +0200 > > Vincent Lefevre wrote: > > On 2015-04-13 14:45:25 +0200, Loïc Grenié wrote: > > > 2015-04-13 14:39 GMT+02:00 Vincent Lefevre : > > > > The problem is that this operation is (always?) very slow: > > > >

Re: debian 8

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 02:18:03 Petter Adsen wrote: > On Mon, 13 Apr 2015 17:26:12 -0400 > > Gene Heskett wrote: > > On Monday 13 April 2015 16:56:05 Celejar wrote: > > > On Mon, 13 Apr 2015 20:00:15 +0200 > > > > > > Petter Adsen wrote: > > > > On Mon, 13 Apr 2015 13:04:28 -0400 > > > > > > >

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread basti
thanks but # mdadm --add /dev/md1 --raid-devices=3 --spare-devices=0 /dev/sde1 mdadm:option --raid-devices not valid in manage mode # mdadm --add /dev/md1 --spare-devices=0 /dev/sde1 mdadm:option --spare-devices not valid in manage mode # mdadm --grow /dev/md1 --raid-devices=3 --spare-devices=0

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Darac Marjal
On Tue, Apr 14, 2015 at 11:42:22AM +0200, basti wrote: > Hello > I want to add a 3rd drive to a raid 1 array (for disaster backup, the > drive will be connectet once a week). > I dry: > > mdadm --add /dev/md1 /dev/sde1 > > when I fail the drive there is a message > > FailSpare event detected on

Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread basti
Hello I want to add a 3rd drive to a raid 1 array (for disaster backup, the drive will be connectet once a week). I dry: mdadm --add /dev/md1 /dev/sde1 when I fail the drive there is a message FailSpare event detected on md device /dev/md/1, component device /dev/sde1 How can I add the 3rd driv

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Reco
Hi. On Tue, Apr 14, 2015 at 09:22:15AM +0200, Petter Adsen wrote: > On Tue, 14 Apr 2015 10:12:28 +0300 > Reco wrote: > > > Hi. > > > > On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen wrote: > > > On Mon, 13 Apr 2015 15:41:03 +0200 > > > Vincent Lefevre wrote: > > > > > > > On 2015-04

Re: Is gnome-core *really* the gnome minimal install?

2015-04-14 Thread August Karlstrom
On 2015-04-14 03:20, Patrick Bartek wrote: The rule mounts and unmounts flash drives -- just plug and unplug -- and cards (any type using an external card or multi-card reader. The caveat is: you must plug the card in first, then plug the reader in. Unmount by unplugging reader with the card sti

Re: Debian 7 and external monitors and graphics adaptors

2015-04-14 Thread Bret Busby
On 13/04/2015, Bret Busby wrote: > On 13/04/2015, Curt wrote: >> On 2015-04-09, Bret Busby wrote: >>> Hello. >>> >>> On a new installation of Debian 7 on an Acer "laptop" computer with an >>> AMD Radeon R2 graphics adaptor, the external monitor does not work. >>> >>> The external monitor works w

Re: apt stuck at "Reading database"

2015-04-14 Thread Chris Bannister
On Mon, Apr 13, 2015 at 08:42:45AM -0400, Jape Person wrote: > IIRC apt-listbugs or apt-listchanges (or both) don't work without the > deb-src entries in /etc/apt/sources.list. Works fine for me. Did you *actually* try it? -- "If you're not careful, the newspapers will have you hating the peopl

Re: Book questions

2015-04-14 Thread Petter Adsen
On Mon, 13 Apr 2015 16:36:44 -0500 David Wright wrote: > Quoting Petter Adsen (pet...@synth.no): > > On Mon, 13 Apr 2015 20:21:49 +0300 > > Reco wrote: > > > Let's see as I didn't have OS design in mind. Something like: > > > > > > Exit codes and their value in real life. > > > Strings handling,

Re: Book questions

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 02:43:53 +0800 Bret Busby wrote: > On 14/04/2015, Petter Adsen wrote: > > > > > My cat is walking on my keyboard now, demanding attention. Best not > > to ignore him any longer. :) > > > > Can he program? I'm not sure, but I take care to lock the screen and not let him s

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 10:12:28 +0300 Reco wrote: > Hi. > > On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen wrote: > > On Mon, 13 Apr 2015 15:41:03 +0200 > > Vincent Lefevre wrote: > > > > > On 2015-04-13 14:45:25 +0200, Loïc Grenié wrote: > > > > 2015-04-13 14:39 GMT+02:00 Vincent Lefevr

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Reco
Hi. On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen wrote: > On Mon, 13 Apr 2015 15:41:03 +0200 > Vincent Lefevre wrote: > > > On 2015-04-13 14:45:25 +0200, Loïc Grenié wrote: > > > 2015-04-13 14:39 GMT+02:00 Vincent Lefevre : > > > > The problem is that this operation is (always?) very