Re: Where to learn Linux?

2010-03-15 Thread Elazar Leibovich
Writing an email without the screen is perfectly doable even within vanilla
windows machine, with nothing installed.
Say, for XP: Windows key - down down - Enter [Now outlook is running] -
Ctrl+n - write email address - Tab Tab Tab - write subject - Tab -
Write Content - Ctrl+Enter.

Not to mention how easier it is when launchy style programs are installed.

And in both systems it is impossible to do that unless you have a fairly
good knowledge of the system (which email client is installed? Should you
type mutt or pine? etc.)

2010/3/14 Dov Grobgeld dov.grobg...@gmail.com

 On Sun, Mar 14, 2010 at 14:37, Jonathan Ben Avraham y...@tkos.co.ilwrote:


 Even a guy who just shows up with a Dvorak keyboard, no mouse and does
 everything inside of EMACS gets an offer.


 This more or less describes me, so do I get the job? :-) Also reminds me of
 the time a number of years ago when I had turned in my monitor for repair,
 and then returned home to my computer without a monitor. Just for the fun of
 it and to prove I don't know what, I turned the computer on, logged in,
 wrote an email of a page and a half, printed it out to see that I didn't
 make too many mistakes which I hadn't and then and sent it off. When I tell
 that story to Windows users, they don't even understand what I'm talking
 about.


 Good luck,

  - yba



 On Sun, 14 Mar 2010, Dotan Cohen wrote:

  Date: Sun, 14 Mar 2010 13:34:04 +0200
 From: Dotan Cohen dotanco...@gmail.com
 To: linux-il. linux-il@cs.huji.ac.il
 Subject: Where to learn Linux?


 I have been using Linux as an end user for several years, but now I
 think that I might like to make a career out of *nix administration.
 Where are some good places to get a certificate from? Is an online
 certificate as good as an offline course? What online certificates are
 honourable? What real-world courses in Israel are recommended?

 Thanks!



 --
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open
 Systems

 =}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


web based mail front end with pgp/gpg support?

2010-03-15 Thread Amos Shapira
Hello,

We are pushing the company to use PGP/GPG for secure e-mail and while
we Linux people have no problem using Thunderbird+Enigmail the windows
and mac users find it a bit difficult to get it working on their
laptops/desktops.

We use a hosted Exchange server in the company and this is a given.
Can't change that.

Someone from customer engineering mentioned that one of our customers
provide a web-based PGP-enabled mail interface which allows him to
send and receive pgp email through a browser, but he doesn't know
which product it is and I'll bet is commercial anyway.

Is anyone aware of something like this based on Open-Source?  I found
a few plug-ins for Firefox to do GPG/PGP on parts of web page which
are claimed to work well with GMail, but I suspect that's not quite
it.

I also saw some reference to SquirrelMail PGP plugin
(http://squirrelmail.org/plugin_view.php?id=153).
RoundCube, which as far as I remember, looks much better, doesn't have
PGP support (http://trac.roundcube.net/ticket/1440396).

Any ideas?

Thanks,

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: web based mail front end with pgp/gpg support?

2010-03-15 Thread Noam Rathaus
Hi,

There is a Firefox plugin to encrypt emails, it does this without
regard to what web interface is used:
https://addons.mozilla.org/en-US/firefox/addon/4645

On Mon, Mar 15, 2010 at 9:07 AM, Amos Shapira amos.shap...@gmail.com wrote:
 Hello,

 We are pushing the company to use PGP/GPG for secure e-mail and while
 we Linux people have no problem using Thunderbird+Enigmail the windows
 and mac users find it a bit difficult to get it working on their
 laptops/desktops.

 We use a hosted Exchange server in the company and this is a given.
 Can't change that.

 Someone from customer engineering mentioned that one of our customers
 provide a web-based PGP-enabled mail interface which allows him to
 send and receive pgp email through a browser, but he doesn't know
 which product it is and I'll bet is commercial anyway.

 Is anyone aware of something like this based on Open-Source?  I found
 a few plug-ins for Firefox to do GPG/PGP on parts of web page which
 are claimed to work well with GMail, but I suspect that's not quite
 it.

 I also saw some reference to SquirrelMail PGP plugin
 (http://squirrelmail.org/plugin_view.php?id=153).
 RoundCube, which as far as I remember, looks much better, doesn't have
 PGP support (http://trac.roundcube.net/ticket/1440396).

 Any ideas?

 Thanks,

 --Amos

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Dov Grobgeld
I think it there is something more subtle going on, and that is the concept
of a state. The state is where you are and I feel the big difference
between GUI and command line operation is in the latter, the state is
available without heavy visual interaction. Once you have used the system
enough, you feel the state, and you build a motoric memory for moving from
one state to another. With GUI systems you never reach that proficiency and
you have to do more guess work and more hunt and peck to move from state to
state. It may be easier the first time to use a GUI, but the second and the
third time, you'd be better off typing the command, because it is much more
repeatable.

So the difference between Unix/Linux and Windows in this sense is that in
Unix/Linux you have full control of the system from the command line where
you can have this feeling for where you are.

Anyhow, this is sliding into something that is quite far off from the
original question.

Regards,
Dov

On Mon, Mar 15, 2010 at 08:06, Elazar Leibovich elaz...@gmail.com wrote:

 Writing an email without the screen is perfectly doable even within vanilla
 windows machine, with nothing installed.
 Say, for XP: Windows key - down down - Enter [Now outlook is running] -
 Ctrl+n - write email address - Tab Tab Tab - write subject - Tab -
 Write Content - Ctrl+Enter.

 Not to mention how easier it is when launchy style programs are installed.

 And in both systems it is impossible to do that unless you have a fairly
 good knowledge of the system (which email client is installed? Should you
 type mutt or pine? etc.)

 2010/3/14 Dov Grobgeld dov.grobg...@gmail.com

 On Sun, Mar 14, 2010 at 14:37, Jonathan Ben Avraham y...@tkos.co.ilwrote:


 Even a guy who just shows up with a Dvorak keyboard, no mouse and does
 everything inside of EMACS gets an offer.


 This more or less describes me, so do I get the job? :-) Also reminds me
 of the time a number of years ago when I had turned in my monitor for
 repair, and then returned home to my computer without a monitor. Just for
 the fun of it and to prove I don't know what, I turned the computer on,
 logged in, wrote an email of a page and a half, printed it out to see that I
 didn't make too many mistakes which I hadn't and then and sent it off. When
 I tell that story to Windows users, they don't even understand what I'm
 talking about.


 Good luck,

  - yba



 On Sun, 14 Mar 2010, Dotan Cohen wrote:

  Date: Sun, 14 Mar 2010 13:34:04 +0200
 From: Dotan Cohen dotanco...@gmail.com
 To: linux-il. linux-il@cs.huji.ac.il
 Subject: Where to learn Linux?


 I have been using Linux as an end user for several years, but now I
 think that I might like to make a career out of *nix administration.
 Where are some good places to get a certificate from? Is an online
 certificate as good as an offline course? What online certificates are
 honourable? What real-world courses in Israel are recommended?

 Thanks!



 --
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open
 Systems

 =}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Jonathan Ben Avraham

Hi Dov,
Not far off at all from the original question. The first thing that I look 
for in an employee or consultant is is he has this feel for the state that 
you mention. If the employee has only used Windows or Mac at the GUI 
level, then the chance of his understanding the system state is very small 
because the visual pane of Windows and Mac that is designed to make things 
easy effectively prevents all understanding of the system state.


 - yba


On Mon, 15 Mar 2010, Dov Grobgeld wrote:


Date: Mon, 15 Mar 2010 09:39:51 +0200
From: Dov Grobgeld dov.grobg...@gmail.com
To: Elazar Leibovich elaz...@gmail.com
Cc: Jonathan Ben Avraham y...@tkos.co.il, linux-il linux-il@cs.huji.ac.il
Subject: Re: Where to learn Linux?

I think it there is something more subtle going on, and that is the concept
of a state. The state is where you are and I feel the big difference
between GUI and command line operation is in the latter, the state is
available without heavy visual interaction. Once you have used the system
enough, you feel the state, and you build a motoric memory for moving from
one state to another. With GUI systems you never reach that proficiency and
you have to do more guess work and more hunt and peck to move from state to
state. It may be easier the first time to use a GUI, but the second and the
third time, you'd be better off typing the command, because it is much more
repeatable.

So the difference between Unix/Linux and Windows in this sense is that in
Unix/Linux you have full control of the system from the command line where
you can have this feeling for where you are.

Anyhow, this is sliding into something that is quite far off from the
original question.

Regards,
Dov

On Mon, Mar 15, 2010 at 08:06, Elazar Leibovich elaz...@gmail.com wrote:


Writing an email without the screen is perfectly doable even within vanilla
windows machine, with nothing installed.
Say, for XP: Windows key - down down - Enter [Now outlook is running] -
Ctrl+n - write email address - Tab Tab Tab - write subject - Tab -
Write Content - Ctrl+Enter.

Not to mention how easier it is when launchy style programs are installed.

And in both systems it is impossible to do that unless you have a fairly
good knowledge of the system (which email client is installed? Should you
type mutt or pine? etc.)

2010/3/14 Dov Grobgeld dov.grobg...@gmail.com

On Sun, Mar 14, 2010 at 14:37, Jonathan Ben Avraham y...@tkos.co.ilwrote:




Even a guy who just shows up with a Dvorak keyboard, no mouse and does
everything inside of EMACS gets an offer.



This more or less describes me, so do I get the job? :-) Also reminds me
of the time a number of years ago when I had turned in my monitor for
repair, and then returned home to my computer without a monitor. Just for
the fun of it and to prove I don't know what, I turned the computer on,
logged in, wrote an email of a page and a half, printed it out to see that I
didn't make too many mistakes which I hadn't and then and sent it off. When
I tell that story to Windows users, they don't even understand what I'm
talking about.



Good luck,

 - yba



On Sun, 14 Mar 2010, Dotan Cohen wrote:

 Date: Sun, 14 Mar 2010 13:34:04 +0200

From: Dotan Cohen dotanco...@gmail.com
To: linux-il. linux-il@cs.huji.ac.il
Subject: Where to learn Linux?


I have been using Linux as an end user for several years, but now I
think that I might like to make a career out of *nix administration.
Where are some good places to get a certificate from? Is an online
certificate as good as an offline course? What online certificates are
honourable? What real-world courses in Israel are recommended?

Thanks!




--
 EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open
Systems

=}ooO--U--Ooo{=
- y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il








--
 EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open Systems
=}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread sammy ominsky
On 15/03/2010, at 09:53, Jonathan Ben Avraham wrote:

 Hi Dov,
 Not far off at all from the original question. The first thing that I look 
 for in an employee or consultant is is he has this feel for the state that 
 you mention. If the employee has only used Windows or Mac at the GUI level, 
 then the chance of his understanding the system state is very small because 
 the visual pane of Windows and Mac that is designed to make things easy 
 effectively prevents all understanding of the system state.


Honestly, even though I spend many hours a day on the command line of debian 
servers, I feel I've ruined myself for linux by delving too far into OS X on 
the command line :)

OS X doesn't prevent understanding of the system state at all, it just doesn't 
force that understanding.  If the desire to delve is present, the command line 
offers much deeper system access than the GUI ever could.  It's very different 
than linux, though.

Someone plugged a USB drive into one of the servers in a data center in the US, 
and for the life of me, I couldn't think of anything on a debian system that 
would give me a list of all attached disks. On OS X, I'd just type 'diskutil 
list' (output at the bottom of this email, if anyone's curious).  In the end, 
dmesg told me where to find the disk, but maybe it's time for some disk utility 
on linux that's caught up to the present?  cfdisk is great if you already know 
what device you want :)

Anyway, back on topic...  My company is considering creating a position for a 
junior sysadmin, and honestly, I'd much rather have a 20-year old with 6 years 
of playing with servers in his basement than a freshly-minted RHCP or 
whatever.

--sambo


Anything that does this on linux?

zefat:~ sambo$ diskutil list
/dev/disk0
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*500.1 GB   disk0
   1:EFI 209.7 MB   disk0s1
   2:  Apple_HFS Backup  499.8 GB   disk0s2
/dev/disk1
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*250.1 GB   disk1
   1:EFI 209.7 MB   disk1s1
   2:  Apple_HFS zefat   249.7 GB   disk1s2
/dev/disk2
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk2
   1:EFI 209.7 MB   disk2s1
   2:ZFS Archive 999.9 GB   disk2s2
/dev/disk3
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk3
   1:EFI 209.7 MB   disk3s1
   2:ZFS Archive 999.9 GB   disk3s2
/dev/disk4
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk4
   1:EFI 209.7 MB   disk4s1
   2:ZFS Archive 999.9 GB   disk4s2
/dev/disk5
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk5
   1:EFI 209.7 MB   disk5s1
   2:ZFS geniza  999.9 GB   disk5s2
/dev/disk6
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk6
   1:EFI 209.7 MB   disk6s1
   2:ZFS geniza  999.9 GB   disk6s2
/dev/disk7
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk7
   1:EFI 209.7 MB   disk7s1
   2:ZFS geniza  999.9 GB   disk7s2
/dev/disk8
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk8
   1:EFI 209.7 MB   disk8s1
   2:ZFS geniza  999.9 GB   disk8s2
/dev/disk9
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk9
   1:EFI 209.7 MB   disk9s1
   2:ZFS geniza  999.9 GB   disk9s2


___
Linux-il mailing list

Re: Where to learn Linux?

2010-03-15 Thread shimi
On Mon, Mar 15, 2010 at 10:24 AM, sammy ominsky s...@avoidant.org wrote:

snip

zefat:~ sambo$ diskutil list
 /dev/disk0
   #:   TYPE NAMESIZE
 IDENTIFIER
   0:  GUID_partition_scheme*500.1 GB   disk0
   1:EFI 209.7 MB   disk0s1
   2:  Apple_HFS Backup  499.8 GB   disk0s2
 /dev/disk1
   #:   TYPE NAMESIZE
 IDENTIFIER
   0:  GUID_partition_scheme*250.1 GB   disk1
   1:EFI 209.7 MB   disk1s1
   2:  Apple_HFS zefat   249.7 GB   disk1s2

 /snip

That looks somewhat familiar...

# fdisk -l

Disk /dev/sda: 32.0 GB, 320 bytes
255 heads, 63 sectors/track, 3890 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x###

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  34  273073+  83  Linux
/dev/sda2  35389030973320   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x###

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1  34  273073+  83  Linux
/dev/sdb2  35421233559785   83  Linux
/dev/sdb34213  121601   942927142+  83  Linux

?
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread sammy ominsky
On 15/03/2010, at 10:30, shimi wrote:

 That looks somewhat familiar...
 # fdisk -l

Exactly what I wanted!  Thank you.

--sambo


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Shlomi Fish
On Monday 15 Mar 2010 10:24:04 sammy ominsky wrote:
 On 15/03/2010, at 09:53, Jonathan Ben Avraham wrote:
  Hi Dov,
  Not far off at all from the original question. The first thing that I
  look for in an employee or consultant is is he has this feel for the
  state that you mention. If the employee has only used Windows or Mac at
  the GUI level, then the chance of his understanding the system state is
  very small because the visual pane of Windows and Mac that is designed
  to make things easy effectively prevents all understanding of the system
  state.
 
 Honestly, even though I spend many hours a day on the command line of
 debian servers, I feel I've ruined myself for linux by delving too far
 into OS X on the command line :)
 
 OS X doesn't prevent understanding of the system state at all, it just
 doesn't force that understanding.  If the desire to delve is present, the
 command line offers much deeper system access than the GUI ever could. 
 It's very different than linux, though.
 
 Someone plugged a USB drive into one of the servers in a data center in the
 US, and for the life of me, I couldn't think of anything on a debian
 system that would give me a list of all attached disks. On OS X, I'd just
 type 'diskutil list' (output at the bottom of this email, if anyone's
 curious).  In the end, dmesg told me where to find the disk, but maybe
 it's time for some disk utility on linux that's caught up to the present? 
 cfdisk is great if you already know what device you want :)
 

Why aren't mount (with no arguments) or df good enough?

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Original Riddles - http://www.shlomifish.org/puzzles/

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Xen and storage

2010-03-15 Thread Amos Shapira
2010/3/12 Hetz Ben Hamo het...@gmail.com:
 Hi,
 I have taken 3 machines for a project: 2 machines will act as Xen servers
 and one machine will act as storage.
 The storage box is just a machine with few hard disks connected with a RAID
 controller.
 What I would like to do is create few Xen VM's with the fastest possible I/O
 in terms of storage.
 I have few options:
 1. I can create an LVM on the storage machine, create few Logical Volumes
 and export them as NFS to the Xen servers and configure each VM to some file
 images. Problem is, that file I/O with Xen is slower compared working with
 LVM's.
 2. I can create an LVM on the storage machine, create few Logical Volumes,
 and export those as iSCSI devices. I'm not sure whats the performance of Xen
 with iSCSI devices exported from the storage box.
 3. I can create few partitions on the storage machine, export them as iSCSI
 devices and do LVM on the Xen servers. Problem: I don't know how much the
 penalty doing LVM on the Xen machines.
 My question: What is the best option?
 Thanks,
 Hetz

I don't have practical experience with hosting Xen images on SAN but
when I researched the market for a SAN-based configuration of our
production network (currently 20 Xen hosts hosting about 10 Xen guests
each, doing DRBD between pairs of Xen guests and linux-ha for HA), at
least one or two of the options I checked mentioned that if I store
the Xen images on the SAN then it will require much higher bandwidth
to it than if I use it just for plain data.

Based on this input, I'd recommend that you'll look at having the
images on internal server disks and try to achieve HA at the xen guest
level, then compare the performance with iSCSI hosted xen images.

Hope this helps.

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Baruch Siach
Hi sammy,
On Mon, Mar 15, 2010 at 10:24:04AM +0200, sammy ominsky wrote:
 On 15/03/2010, at 09:53, Jonathan Ben Avraham wrote:
 
  Hi Dov,
 Not far off at all from the original question. The first thing that I look 
 for in an employee or consultant is is he has this feel for the state that 
 you mention. If the employee has only used Windows or Mac at the GUI level, 
 then the chance of his understanding the system state is very small because 
 the visual pane of Windows and Mac that is designed to make things easy 
 effectively prevents all understanding of the system state.
 
 
Honestly, even though I spend many hours a day on the command line of debian 
servers, I feel I've ruined myself for linux by delving too far into OS X on 
the command line :)
 
OS X doesn't prevent understanding of the system state at all, it just 
doesn't force that understanding.  If the desire to delve is present, the 
command line offers much deeper system access than the GUI ever could.  It's 
very different than linux, though.
 
Someone plugged a USB drive into one of the servers in a data center in the 
US, and for the life of me, I couldn't think of anything on a debian system 
that would give me a list of all attached disks. On OS X, I'd just type 
'diskutil list' (output at the bottom of this email, if anyone's curious).  
In the end, dmesg told me where to find the disk, but maybe it's time for 
some disk utility on linux that's caught up to the present?  cfdisk is great 
if you already know what device you want :)
 
Anyway, back on topic...  My company is considering creating a position for a 
junior sysadmin, and honestly, I'd much rather have a 20-year old with 6 
years of playing with servers in his basement than a freshly-minted RHCP or 
whatever.
 
 Anything that does this on linux?

If you have a recent Debian testing (Squeeze), make sure that you have the 
package devicekit-disks installed and run:

# devkit-disks --dump

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Dotan Cohen
 Anyway, back on topic...  My company is considering creating a position for a 
 junior sysadmin, and honestly, I'd much rather have a 20-year old with 6 
 years of playing with servers in his basement than a freshly-minted RHCP or 
 whatever.


Well, I've been a desktop user of Fedora and Ubuntu since 2005, but
never got too deep into the workings of the system. So it is that
depth that I'd like to get into now. I'll go break some things and get
back to you!

I don't have  US key at the moment, but fstab and mstab are two places
that I would look for is I wanted to know where the device was
mounted. If I just wanted to know that the device was recognised, I'd
start with lsusb.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Amos Shapira
On 14 March 2010 22:52, guy keren c...@actcom.co.il wrote:
 it's not easy to get a first job, because who in their right mind will let
 someone with no experience shave on the backs of their poor users? unlike

From the constant stream of complaints I see on this mailing list -
Israeli ISP's :)

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Dotan Cohen
 Why aren't mount (with no arguments) or df good enough?


Shh! Don't give all the magic secrets away!

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Baruch Siach
Hi Shlomi,

On Mon, Mar 15, 2010 at 10:36:46AM +0200, Shlomi Fish wrote:
 On Monday 15 Mar 2010 10:24:04 sammy ominsky wrote:
  On 15/03/2010, at 09:53, Jonathan Ben Avraham wrote:
   Hi Dov,
   Not far off at all from the original question. The first thing that I
   look for in an employee or consultant is is he has this feel for the
   state that you mention. If the employee has only used Windows or Mac at
   the GUI level, then the chance of his understanding the system state is
   very small because the visual pane of Windows and Mac that is designed
   to make things easy effectively prevents all understanding of the system
   state.
  
  Honestly, even though I spend many hours a day on the command line of
  debian servers, I feel I've ruined myself for linux by delving too far
  into OS X on the command line :)
  
  OS X doesn't prevent understanding of the system state at all, it just
  doesn't force that understanding.  If the desire to delve is present, the
  command line offers much deeper system access than the GUI ever could. 
  It's very different than linux, though.
  
  Someone plugged a USB drive into one of the servers in a data center in the
  US, and for the life of me, I couldn't think of anything on a debian
  system that would give me a list of all attached disks. On OS X, I'd just
  type 'diskutil list' (output at the bottom of this email, if anyone's
  curious).  In the end, dmesg told me where to find the disk, but maybe
  it's time for some disk utility on linux that's caught up to the present? 
  cfdisk is great if you already know what device you want :)
 
 Why aren't mount (with no arguments) or df good enough?

I guess the device is not mounted yet.

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread sammy ominsky
On 15/03/2010, at 10:36, Shlomi Fish wrote:

 maybe
 it's time for some disk utility on linux that's caught up to the present? 
 cfdisk is great if you already know what device you want :)

 Why aren't mount (with no arguments) or df good enough?

Because they'd show only mounted disks.  The USB drive was fresh out of the box 
and plugged in, no format or mount point.

--sambo


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread sara fink
On Mon, Mar 15, 2010 at 10:47 AM, Amos Shapira amos.shap...@gmail.comwrote:

 On 14 March 2010 22:52, guy keren c...@actcom.co.il wrote:
  it's not easy to get a first job, because who in their right mind will
 let
  someone with no experience shave on the backs of their poor users?
 unlike

 From the constant stream of complaints I see on this mailing list -
 Israeli ISP's :)


snooping around?


 --Amos

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread sammy ominsky
Actually, there's another position we may be looking to fill sooner than the jr 
sysadmin position, or it may be the same position...

We need someone to do customer support during Israel business hours.  Would 
need to be someone familiar with and comfortable on the linux command line, 
willing to learn the asterisk console and our email infrastructure.  Prefer 
someone with some shell scripting ability or perl, php, etc.  Among the things 
we do are VoIP, php development and web hosting for a niche sort of client, and 
majordomo and mailman mailing lists.  Work from home providing support both by 
phone and e-mail (RT tickets).  All client and business communication is in 
English.  We provide a VoIP line and pay for home internet.  Salary negotiable, 
but not high.  This is a Jr. level position with potential defined by 
initiative.  We have a history of hiring entry-level people who stay with us 
for years.

We may or may not be ready to hire immediately, i'll have to check.

--sambo
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Amos Shapira
On 14 March 2010 23:37, Jonathan Ben Avraham y...@tkos.co.il wrote:
 Hi Dotan,
 I hire Linux sys-admin's, Linux kernel hacks and Linux developers.

 The first thing that I look for in a prospective employee is a hobbyist
 interest in Linux. If a guy shows up in my office with an RFID chipped white
 rat in his pocket that he keeps track of using a Linux app that he wrote and
 loaded onto his notebook computer, then he gets a job offer. An RHCE
 certification doesn't match that.

I'm with you here. I also look for people for whom linux is not just a
day job.

 Another dead giveaway is a prospective engineer who shows up with a laptop
 that runs his own distribution of Linux because he knows all of the standard
 distros and is not happy with any of them and tells me what is wrong with
 each of them until I finally have to tell him to shut up.

This one could be a problem, though - he'll want to reinvent every
wheel in your system instead of taking the approach I take - there is
99.9% chance someone has already found a solution and put it up on the
web.

Otherwise, I'm with you on the gist of things.

Cheers,

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Amos Shapira
On 15 March 2010 20:11, sara fink sara.f...@gmail.com wrote:


 On Mon, Mar 15, 2010 at 10:47 AM, Amos Shapira amos.shap...@gmail.com
 wrote:

 On 14 March 2010 22:52, guy keren c...@actcom.co.il wrote:
  it's not easy to get a first job, because who in their right mind will
  let
  someone with no experience shave on the backs of their poor users?
  unlike

 From the constant stream of complaints I see on this mailing list -
 Israeli ISP's :)

 snooping around?

What do you mean? Me?

I'm in Australia now, though I got my workplace interested in looking
at hiring an Israeli system administrator in order to have someone
watch our 24/7 system on their day time.

No need to apply though, I'll probably post something here if it
becomes relevant.

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Ben Gurion - arrivals in Firefox

2010-03-15 Thread Gabor Szabo
Does anyone know if there is any web site where one can find out details of
arrivals on Ben Gurion airport even with Firefox?

http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTravelers/OnlineFlights.aspx?flightsType=arr

has some javascript that immediately hides the details so I need to
view source and then search for the text.
Trying to search tells me it only works with IE 5.5 and newer!

Gabor
-- 
Gabor Szabo http://szabgab.com/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Noam Rathaus
Not as accurate, but still works:
http://www.flightstats.com/go/FlightStatus/flightStatusByAirport.do?airportCode=TLVairportQueryType=0airportQueryTimePeriod=1sortField=3airlineCode=;

On Mon, Mar 15, 2010 at 2:56 PM, Gabor Szabo szab...@gmail.com wrote:
 Does anyone know if there is any web site where one can find out details of
 arrivals on Ben Gurion airport even with Firefox?

 http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTravelers/OnlineFlights.aspx?flightsType=arr

 has some javascript that immediately hides the details so I need to
 view source and then search for the text.
 Trying to search tells me it only works with IE 5.5 and newer!

 Gabor
 --
 Gabor Szabo                     http://szabgab.com/

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Valery Reznic


--- On Mon, 3/15/10, Gabor Szabo szab...@gmail.com wrote:

 From: Gabor Szabo szab...@gmail.com
 Subject: Ben Gurion - arrivals in Firefox
 To: linux-il linux-il@cs.huji.ac.il
 Date: Monday, March 15, 2010, 2:56 PM
 Does anyone know if there is any web
 site where one can find out details of
 arrivals on Ben Gurion airport even with Firefox?
 
 http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTravelers/OnlineFlights.aspx?flightsType=arr
 
 has some javascript that immediately hides the details so I
 need to
 view source and then search for the text.
I do the same.
And what's wrong with search in the source ? :)

Valery.

 Trying to search tells me it only works with IE 5.5 and
 newer!
 
 Gabor
 -- 
 Gabor Szabo             
        http://szabgab.com/
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 


  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Herouth Maoz
This advice is from the Mac community, and can probably be applied to  
Linux, though I didn't try it myself on either: Install GreaseMonkey  
and then add the relevant script:


http://yehudab.com/blog/2008/11/new-scrpt-iaa/

Quoting Gabor Szabo szab...@gmail.com:


Does anyone know if there is any web site where one can find out details of
arrivals on Ben Gurion airport even with Firefox?

http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTravelers/OnlineFlights.aspx?flightsType=arr

has some javascript that immediately hides the details so I need to
view source and then search for the text.
Trying to search tells me it only works with IE 5.5 and newer!

Gabor
--
Gabor Szabo http://szabgab.com/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Stan Goodman
At 14:56:26 on Monday Monday 15 March 2010, Gabor Szabo 
szab...@gmail.com wrote:
 Does anyone know if there is any web site where one can find out
 details of arrivals on Ben Gurion airport even with Firefox?

 http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTra
velers/OnlineFlights.aspx?flightsType=arr

 has some javascript that immediately hides the details so I need to
 view source and then search for the text.
 Trying to search tells me it only works with IE 5.5 and newer!

 Gabor

Israel is not the 51st state of the American union, it is a subsidiary of 
Microsoft. Bill Gates won it fair and square years ago, by providing 
cheap courses for web designers, and then teaching them only M$ gimmicks 
that real browsers, the developers of which knock themselves out to stick 
to recognized standards, don't support. And this will get worse before it 
gets better; already the sick funds and the Airports Authority (i.e. the 
Government of Israel), which are all supported by taxes and fees paid by 
all, feel that they need not serve anyone who is not also a Microsoft 
customer.

When this came up recently in connection with the sick funds, I said that 
the right way to combat this discrimination would be to get a lawyer 
interested in it. That's what it took to restrict smoking in enclosed 
public places -- without Amos Hausner, restaurants in Israel would still 
be obscured by a blue haze. Someplace there is a young lawyer recently 
out of law school who would jump at the chance to make a name for 
himself. We need to find him.

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Where to learn Linux?

2010-03-15 Thread Elazar Leibovich
Well, it depends.
State on CLI is not necessarily much more availible.
For example, when looking at a vim window, it is not immediately clear
whether you're at: (1) vim edit mode, (2) vim regular mode (3) selecting
something with screen, where your keyboard are now not even sent to the vim
window.
I think it's more a matter of training. I'm a trained vim user, so I can see
immediately through the subltle hints (cursor shape, etc.) which state am I
in. And nevertheless, I find myself many times typing Ctrl+[ to reset the
state, since it's faster for me to reset the state, than to figure out
whether or not I'm in text mode.
OTOH I use at work the windows environment alot. And I found myself
launching programs with launchy (no state needed here! In CLI I need to
remember where would Ctrl+3 lead me, and whether or not I can exit the
programs there. In windows there's no state, all the apps are Alt+Space
away. Always), using the Winkey+Number to navigate between programs (again,
no state in here, Winkey+3 gives the third app you launched, whereever you
are).
Keyboard friendly programs also gives me a similar stateless feel. For
instance, eclipse has the F12 key to bounce me back to the editor from many
states (and all common states), and have Ctrl+3 to search for a specific
command.

My main problem with GUI interfaces is their relative sluggishness/resource
usage.  A similar criticism was directed to emacs when computers were
slower. I hope Moore's law would be able to handle it eventually.

On Mon, Mar 15, 2010 at 9:39 AM, Dov Grobgeld dov.grobg...@gmail.comwrote:

 I think it there is something more subtle going on, and that is the concept
 of a state. The state is where you are and I feel the big difference
 between GUI and command line operation is in the latter, the state is
 available without heavy visual interaction. Once you have used the system
 enough, you feel the state, and you build a motoric memory for moving from
 one state to another. With GUI systems you never reach that proficiency and
 you have to do more guess work and more hunt and peck to move from state to
 state. It may be easier the first time to use a GUI, but the second and the
 third time, you'd be better off typing the command, because it is much more
 repeatable.

 So the difference between Unix/Linux and Windows in this sense is that in
 Unix/Linux you have full control of the system from the command line where
 you can have this feeling for where you are.

 Anyhow, this is sliding into something that is quite far off from the
 original question.

 Regards,
 Dov


 On Mon, Mar 15, 2010 at 08:06, Elazar Leibovich elaz...@gmail.com wrote:

 Writing an email without the screen is perfectly doable even within
 vanilla windows machine, with nothing installed.
 Say, for XP: Windows key - down down - Enter [Now outlook is running] -
 Ctrl+n - write email address - Tab Tab Tab - write subject - Tab -
 Write Content - Ctrl+Enter.

 Not to mention how easier it is when launchy style programs are installed.

 And in both systems it is impossible to do that unless you have a fairly
 good knowledge of the system (which email client is installed? Should you
 type mutt or pine? etc.)

 2010/3/14 Dov Grobgeld dov.grobg...@gmail.com

 On Sun, Mar 14, 2010 at 14:37, Jonathan Ben Avraham y...@tkos.co.ilwrote:


 Even a guy who just shows up with a Dvorak keyboard, no mouse and does
 everything inside of EMACS gets an offer.


 This more or less describes me, so do I get the job? :-) Also reminds me
 of the time a number of years ago when I had turned in my monitor for
 repair, and then returned home to my computer without a monitor. Just for
 the fun of it and to prove I don't know what, I turned the computer on,
 logged in, wrote an email of a page and a half, printed it out to see that I
 didn't make too many mistakes which I hadn't and then and sent it off. When
 I tell that story to Windows users, they don't even understand what I'm
 talking about.


 Good luck,

  - yba



 On Sun, 14 Mar 2010, Dotan Cohen wrote:

  Date: Sun, 14 Mar 2010 13:34:04 +0200
 From: Dotan Cohen dotanco...@gmail.com
 To: linux-il. linux-il@cs.huji.ac.il
 Subject: Where to learn Linux?


 I have been using Linux as an end user for several years, but now I
 think that I might like to make a career out of *nix administration.
 Where are some good places to get a certificate from? Is an online
 certificate as good as an offline course? What online certificates are
 honourable? What real-world courses in Israel are recommended?

 Thanks!



 --
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open
 Systems

 =}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 

Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Stan Goodman
At 14:56:26 on Monday Monday 15 March 2010, Gabor Szabo 
szab...@gmail.com wrote:
 Does anyone know if there is any web site where one can find out
 details of arrivals on Ben Gurion airport even with Firefox?

 http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTra
velers/OnlineFlights.aspx?flightsType=arr

 has some javascript that immediately hides the details so I need to
 view source and then search for the text.
 Trying to search tells me it only works with IE 5.5 and newer!

 Gabor

Israel is not the 51st state of the American union, it is a subsidiary of 
Microsoft. Bill Gates won it fair and square years ago, by providing 
cheap courses for web designers, and then teaching them only M$ gimmicks 
that real browsers, the developers of which knock themselves out to stick 
to recognized standards, don't support. And this will get worse before it 
gets better; already the sick funds and the Airports Authority (i.e. the 
Government of Israel), which are all supported by taxes and fees paid by 
all, feel that they need not serve anyone who is not also a Microsoft 
customer.

When this came up recently in connection with the sick funds, I said that 
the right way to combat this discrimination would be to get a lawyer 
interested in it. That's what it took to restrict smoking in enclosed 
public places -- without Amos Hausner, restaurants in Israel would still 
be obscured by a blue haze. Someplace there is a young lawyer recently 
out of law school who would jump at the chance to make a name for 
himself. We need to find him.

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Oleg Goldshmidt
On Mon, Mar 15, 2010 at 5:36 PM, Stan Goodman
stan.good...@hashkedim.com wrote:
 At 14:56:26 on Monday Monday 15 March 2010, Gabor Szabo
 szab...@gmail.com wrote:
 Does anyone know if there is any web site where one can find out
 details of arrivals on Ben Gurion airport even with Firefox?

 http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTra
velers/OnlineFlights.aspx?flightsType=arr

 has some javascript that immediately hides the details so I need to
 view source and then search for the text.

I actually see a system message saying that the service is
unavailable (on both Hebrew and English sites).

Try changing all the slashes in the URL after Rashat to backslashes
(\he-IL\Airports\...) and see if that helps. It's a bug that has
been on this most amazing of websites since forever, and it was
discussed on this list a couple of times.

If it works, bookmark departures, arrivals, and scheduled flights with
backslashes for later use.

Of course, they might have improved the site further and even that
does not work anymore.

-- 
Oleg Goldshmidt | o...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Xen and storage

2010-03-15 Thread Etzion Bar-Noy
On Mon, Mar 15, 2010 at 10:41 AM, Amos Shapira amos.shap...@gmail.comwrote:

 2010/3/12 Hetz Ben Hamo het...@gmail.com:
  Hi,
  I have taken 3 machines for a project: 2 machines will act as Xen servers
  and one machine will act as storage.
  The storage box is just a machine with few hard disks connected with a
 RAID
  controller.
  What I would like to do is create few Xen VM's with the fastest possible
 I/O
  in terms of storage.
  I have few options:
  1. I can create an LVM on the storage machine, create few Logical Volumes
  and export them as NFS to the Xen servers and configure each VM to some
 file
  images. Problem is, that file I/O with Xen is slower compared working
 with
  LVM's.
  2. I can create an LVM on the storage machine, create few Logical
 Volumes,
  and export those as iSCSI devices. I'm not sure whats the performance of
 Xen
  with iSCSI devices exported from the storage box.
  3. I can create few partitions on the storage machine, export them as
 iSCSI
  devices and do LVM on the Xen servers. Problem: I don't know how much the
  penalty doing LVM on the Xen machines.
  My question: What is the best option?
  Thanks,
  Hetz

 I don't have practical experience with hosting Xen images on SAN but
 when I researched the market for a SAN-based configuration of our
 production network (currently 20 Xen hosts hosting about 10 Xen guests
 each, doing DRBD between pairs of Xen guests and linux-ha for HA), at
 least one or two of the options I checked mentioned that if I store
 the Xen images on the SAN then it will require much higher bandwidth
 to it than if I use it just for plain data.


Why? Where does the secret IO arrive from?

Ez


 Based on this input, I'd recommend that you'll look at having the
 images on internal server disks and try to achieve HA at the xen guest
 level, then compare the performance with iSCSI hosted xen images.

 Hope this helps.

 --Amos

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: XWindows - how capture window ?

2010-03-15 Thread Erez D
use XDamage extension.

On Sat, Mar 13, 2010 at 1:03 PM, Valery Reznic valery_rez...@yahoo.comwrote:

 OK, I found something interesting.
 It's turn out that for some reason on-screen rendering is a problem too.

 Greatly oversimplified description of my application:
 There is a mai windows with 2 buttons ('A', and 'B')
 When buttons 'A' pressed Windows 'W' (with a lot of child windows) created
 and shown on the screen. It's done with function 'callback_A'

 When I press button 'B' I want following to happened:
 1. Window 'W created, like it was created, when button 'A' pressed
 2. Window 'W content is captured.

 So I have callback_B like this:
 void callback_B()
 {
callback_A(); // create Window 'W'
capture_window();
 }

 So far so good. The only trouble is that requests sent to XServer in the
 function callback_A have no chance to be processed before call to
 capture_window() function, because application does not retirned to it's
 main application loop, which process events.
 To get XServer chance to process events callback_B was modified as
 following:

 void callback_B()
 {
callback_A(); // create Window 'W'
handle_events();
capture_window();
 }

 Where handle_events looks like:
 void handle_events()
 {
   XFlush(display);
   XSync(display, False);

 while (XtAppPending(appContext))
 {
   XtAppProcessEvent(appContext,Mask );
   }
 }

 This functions used in this application in other cases when events should
 be handled and it's works OK.
 But in this case, Window 'W' was only partially drawn.

 I found workaround modifie callback_B
 void callback_B()
 {
callback_A(); // create Window 'W'
handle_events();

usleep(10);
handle_events();

capture_window();
 }

 After some sleep and addition handle_events call Window 'W' rendered on
 screen as expected.

 But I don't why first approach didn't work.
 From the XSync man page:
 -
   The XSync function flushes the output buffer and then waits until all
   requests have been received and processed by the X server.  Any
 errors
   generated must be handled by the error handler.  For each protocol
   error received by Xlib, XSync calls the client application’s error
 han-
   dling routine (see section 11.8.2).  Any events generated by the
 server
   are enqueued into the library’s event queue.
 ---
 So it's looks like XSync alone should do the job.
 Obviously it was not - and it was a reason, that event_handle function was
 written.

 What I did with sleep and two calls to even_handle is work, but it's ugly.
 Anyone has idea why XSync alone is not enough and how I can wait to all
 requests to be processed by XServer ?

 Regards,
 Valery.


 --- On Sun, 3/7/10, Nadav Har'El n...@math.technion.ac.il wrote:

  From: Nadav Har'El n...@math.technion.ac.il
  Subject: Re: XWindows - how capture window ?
  To: Erez D erez0...@gmail.com
  Cc: Valery Reznic valery_rez...@yahoo.com, linux-il. 
 linux-il@cs.huji.ac.il
  Date: Sunday, March 7, 2010, 10:38 AM
  On Thu, Mar 04, 2010, Erez D wrote
  about Re: XWindows - how capture window ?:
   composite window managers (i.e. compiz, baryl) work by
  drawing the original
   window off screen, then read it as a 2D picture, and
  render it back to the
   screen with certain effects.
   So i know it is possible to grab an off screen window.
  I do not know however
   how to make it off screen.
 
  This is done using the Composite extension. See
  http://www.freedesktop.org/wiki/Software/CompositeExt
 
  But please note that all these extensions, as their title
  implies, are
  not available in every installation of X. The right way
  to use them is
  to use them when they're available, but fall back to some
  slower or uglier
  alternative when they aren't.
 
   There is an X Extension called XDamage, which reports
  changes on the window
   so you do not have to poll it for changes. These
  window managers use it.
 
  Right. http://www.freedesktop.org/wiki/Software/XDamage
 
 
  --
  Nadav Har'El
  |
  Sunday, Mar  7 2010, 21 Adar 5770
  n...@math.technion.ac.il
 
 |-
  Phone +972-523-790466, ICQ 13349191 |Business jargon is the
  art of saying
  http://nadav.harel.org.il
 |nothing while appearing to say a lot.
 




 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Xen and storage

2010-03-15 Thread Amos Shapira
2010/3/16 Etzion Bar-Noy eza...@tournament.org.il:


 On Mon, Mar 15, 2010 at 10:41 AM, Amos Shapira amos.shap...@gmail.com
 wrote:

 2010/3/12 Hetz Ben Hamo het...@gmail.com:
  Hi,
  I have taken 3 machines for a project: 2 machines will act as Xen
  servers
  and one machine will act as storage.
  The storage box is just a machine with few hard disks connected with a
  RAID
  controller.
  What I would like to do is create few Xen VM's with the fastest possible
  I/O
  in terms of storage.
  I have few options:
  1. I can create an LVM on the storage machine, create few Logical
  Volumes
  and export them as NFS to the Xen servers and configure each VM to some
  file
  images. Problem is, that file I/O with Xen is slower compared working
  with
  LVM's.
  2. I can create an LVM on the storage machine, create few Logical
  Volumes,
  and export those as iSCSI devices. I'm not sure whats the performance of
  Xen
  with iSCSI devices exported from the storage box.
  3. I can create few partitions on the storage machine, export them as
  iSCSI
  devices and do LVM on the Xen servers. Problem: I don't know how much
  the
  penalty doing LVM on the Xen machines.
  My question: What is the best option?
  Thanks,
  Hetz

 I don't have practical experience with hosting Xen images on SAN but
 when I researched the market for a SAN-based configuration of our
 production network (currently 20 Xen hosts hosting about 10 Xen guests
 each, doing DRBD between pairs of Xen guests and linux-ha for HA), at
 least one or two of the options I checked mentioned that if I store
 the Xen images on the SAN then it will require much higher bandwidth
 to it than if I use it just for plain data.

 Why? Where does the secret IO arrive from?

I haven't dug into this but I figured it was around reading the
program files from the storage to the iSCSI client which actually runs
the Xen image and storing the Xen guest's state if you use xen's
suspend to disk stuff.

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Xen and storage

2010-03-15 Thread Etzion Bar-Noy
Assuming your farm is a production one, suspend to disk is rather rare, and
by design, would probably not be a day-to-day process of the system. Anyhow
- suspend to disk is an operation which is being performed on NFS SR as
well, just the same (create file which contains memory dump of the VM).

NFS has other advantages, like LUN alignment and thin provisioning (assuming
you did not purchase the foundation for Citrix XenServer package). Also -
for real-life production systems I have seen that network communication over
iSCSI, for about 50 VMs on 5 physical servers would not exceed the 200Mb/s
at peak times.

Of course - specific applications can (and will) stress the storage and
network, however, many common storage devices cannot maintain a high rate of
random IO (common to DBs, like Oracle, MySQL, Exchange, MSSQL, etc). The
disks would commonly be the bottleneck, and not the network/FCS transport.

Don't believe me? Check your virtual farm. See what throughput you get for
your DRBD/central storage links.

Ez

On Mon, Mar 15, 2010 at 10:58 PM, Amos Shapira amos.shap...@gmail.comwrote:

 2010/3/16 Etzion Bar-Noy eza...@tournament.org.il:
 
 
  On Mon, Mar 15, 2010 at 10:41 AM, Amos Shapira amos.shap...@gmail.com
  wrote:
 
  2010/3/12 Hetz Ben Hamo het...@gmail.com:
   Hi,
   I have taken 3 machines for a project: 2 machines will act as Xen
   servers
   and one machine will act as storage.
   The storage box is just a machine with few hard disks connected with a
   RAID
   controller.
   What I would like to do is create few Xen VM's with the fastest
 possible
   I/O
   in terms of storage.
   I have few options:
   1. I can create an LVM on the storage machine, create few Logical
   Volumes
   and export them as NFS to the Xen servers and configure each VM to
 some
   file
   images. Problem is, that file I/O with Xen is slower compared working
   with
   LVM's.
   2. I can create an LVM on the storage machine, create few Logical
   Volumes,
   and export those as iSCSI devices. I'm not sure whats the performance
 of
   Xen
   with iSCSI devices exported from the storage box.
   3. I can create few partitions on the storage machine, export them as
   iSCSI
   devices and do LVM on the Xen servers. Problem: I don't know how much
   the
   penalty doing LVM on the Xen machines.
   My question: What is the best option?
   Thanks,
   Hetz
 
  I don't have practical experience with hosting Xen images on SAN but
  when I researched the market for a SAN-based configuration of our
  production network (currently 20 Xen hosts hosting about 10 Xen guests
  each, doing DRBD between pairs of Xen guests and linux-ha for HA), at
  least one or two of the options I checked mentioned that if I store
  the Xen images on the SAN then it will require much higher bandwidth
  to it than if I use it just for plain data.
 
  Why? Where does the secret IO arrive from?

 I haven't dug into this but I figured it was around reading the
 program files from the storage to the iSCSI client which actually runs
 the Xen image and storing the Xen guest's state if you use xen's
 suspend to disk stuff.

 --Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Avraham Rosenberg
On Mon, Mar 15, 2010 at 06:38:43PM +0200, Oleg Goldshmidt wrote:
 On Mon, Mar 15, 2010 at 5:36 PM, Stan Goodman
 stan.good...@hashkedim.com wrote:
  At 14:56:26 on Monday Monday 15 March 2010, Gabor Szabo
  szab...@gmail.com wrote:
  Does anyone know if there is any web site where one can find out
  details of arrivals on Ben Gurion airport even with Firefox?
 
  http://www.iaa.gov.il/Rashat/he-IL/Airports/BenGurion/informationForTra
 velers/OnlineFlights.aspx?flightsType=arr
 
  has some javascript that immediately hides the details so I need to
  view source and then search for the text.
 
 I actually see a system message saying that the service is
 unavailable (on both Hebrew and English sites).
 
 Try changing all the slashes in the URL after Rashat to backslashes
 (\he-IL\Airports\...) and see if that helps. It's a bug that has
 been on this most amazing of websites since forever, and it was
 discussed on this list a couple of times.
 
 If it works, bookmark departures, arrivals, and scheduled flights with
 backslashes for later use.
 
 Of course, they might have improved the site further and even that
 does not work anymore.
 
 -- 
 Oleg Goldshmidt | o...@goldshmidt.org
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Hi,
Apparently they did improve. Trying Oleg's advice I got Wrong/Not
supported browser (or something like that).
The only way around it I found was to download the page and read it with
w3m: w3m -I UTF8 Desktop/OnlineFlightsTemplate.aspx.html

Cheers, Avraham
-- 
Please avoid sending to this address Excell or Powerpoint attachments.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il