Re: flash killer extension for firefox 4

2011-04-03 Thread Diego Iastrubni
On יום שני 28 מרץ 2011 16:02:03 Udi Finkelstein wrote:
> I stand corrected.
> What I wrote below was for Windows Firefox.
> Under Linux you will find the same under
> "Edit/preferences/Advanced/Update".
> 
Unless you are using a version of Firefox which was packaged by your 
distribution, and in this case you still have no control over the version of 
Firefox you have - they decide for you.

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


Re: Linux has won!

2011-04-03 Thread Geoff Shang

On Sun, 3 Apr 2011, Steve G. wrote:


FWIW, I have machines running dual win7/ubuntu. I use windows for one thing
only - managing podcasts on iPads with iTunes (seems that Apple has Windows
software, but not Linux (maybe this is how they repay Windows for the
investment when Apple was going down the drain a few years ago).


It seems to me that there are a number of Linux projects which, on the 
face of it, ought to be able to do this.  I've not tried any and we've got 
an iPod 4 Touch in any case, but I'dve thought that one of them should be 
able to do what you want.


Geoff.


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


Re: auto-maximize a logical partition with ext3

2011-04-03 Thread Etzion Bar-Noy
DD is a lousy OS replication tool, and I would not have used it. Using
simple (!!!) scripting to replicate systems, with any possible combination
of sfdisk, LVM, mkfs.ext3, resize2fs would probably be better, not to
mention - faster.

Example:
Boot; create a new partition layout on your new disk using sfdisk and an
answer file (hint: read the man pages); format partitions (all full size,
yes?); mount partitions; replicate using 'tar' over network, or over NFS
share (better do it from a single tar file, or compressed tar file. It's
faster to decompress than to compress); mount/tar remaining partitions; fix
boot loader; reboot

I have done so countless times in a set of automated tools. Easiest possible
solution. DD seems faster on first look, but sets so many additional
problems (amongst is the one you have described. Others deal with different
hardware layout), and you copy lots of dead nothing.

Ez

On Sun, Apr 3, 2011 at 8:19 PM, Ira Abramov
wrote:

> Quoting guy keren, from the post of Sun, 03 Apr:
> >
> > if it is the last partition, how about using expect (or similar) to
> > automate 'fidk' on the device (probably need to set a loop device on the
> > image file first), delete the partition and re-create it? as far as i
> > remember, when you create a partition via fdisk's interactive prompt, by
> > default it suggest to use all the available extra space.
> >
> > if it's a logical partition - you'll need to delete the underlying
> > logical part as well, i assume.
>
> that solution has come to mind, and I have seen one case where it was
> used (to create, not resize). there's no need even for expect, you can
> simply redirect the input because the interaction is well known in
> advance, but it's a very ugly solution I hope not to have to implement
> for a dozen reasons. At the moment I'm taking all the information I can
> with greps and awk, dumping with SFDISK, making the corrections and
> loading back. c'est la vie.
>
> Happily, my next task is a bit more interesting. making vmbuilder work
> with logical partitions...
>
>
> --
> Good omen
> Ira Abramov
> http://ira.abramov.org/email/
>
> ___
> 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: auto-maximize a logical partition with ext3

2011-04-03 Thread Ira Abramov
Quoting guy keren, from the post of Sun, 03 Apr:
>
> if it is the last partition, how about using expect (or similar) to  
> automate 'fidk' on the device (probably need to set a loop device on the  
> image file first), delete the partition and re-create it? as far as i  
> remember, when you create a partition via fdisk's interactive prompt, by  
> default it suggest to use all the available extra space.
>
> if it's a logical partition - you'll need to delete the underlying  
> logical part as well, i assume.

that solution has come to mind, and I have seen one case where it was
used (to create, not resize). there's no need even for expect, you can
simply redirect the input because the interaction is well known in
advance, but it's a very ugly solution I hope not to have to implement
for a dozen reasons. At the moment I'm taking all the information I can
with greps and awk, dumping with SFDISK, making the corrections and
loading back. c'est la vie.

Happily, my next task is a bit more interesting. making vmbuilder work
with logical partitions...


-- 
Good omen
Ira Abramov
http://ira.abramov.org/email/

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


Re: auto-maximize a logical partition with ext3

2011-04-03 Thread guy keren

Ira Abramov wrote:

Quoting Hetz Ben Hamo, from the post of Sun, 03 Apr:

Umm, last time I checked, resize2fs (which now supports ext4, at least in
Fedora) can resize to use all available space if you don't give it any


Maybe I should have been more verbose - I know how to resize the FS,
it's a no brainer. the problem is resizing the partition to the max
without having to find the media size, or at the very least figuring out
what is the maximum size it's alowed to be set to.

I can get the info in sectors with fdisk -lu, then I could get, process
and write back the partition table with sfdisk, but it is hard to get
the right number of sections for the partitions. for instance, I have
here a CF card of 1GB, it has 2001888 sectors, but if I use fdisk to
create a partition with the default maximum size it ends at 2001855 - so
is it a problem if I set the partition end to the end of the disk or how
do I find out the number of sectors to leave out if it needs to land on
the mysterious and anacronistic "cylinder boundery"?


if it is the last partition, how about using expect (or similar) to 
automate 'fidk' on the device (probably need to set a loop device on the 
image file first), delete the partition and re-create it? as far as i 
remember, when you create a partition via fdisk's interactive prompt, by 
default it suggest to use all the available extra space.


if it's a logical partition - you'll need to delete the underlying 
logical part as well, i assume.


--guy


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


Re: Linux has won!

2011-04-03 Thread Steve G.
One machine is a netbook, and is barely usable as it is...

The other could handle a VM, but I have never had any luck installing
Windows into a VM. Using windows as my main OS is too painful - always some
crap to take care of, not worth the hassle.

Finally, vmware requires recompiling any time the kernel changes, and
virtualbox on my other linux box was a resource hog. This new one may be
better, as it does have the right hardware to natively support VMs, but I
have not tried it yet.

Z.

On Sun, Apr 3, 2011 at 10:22 AM, Elazar Leibovich  wrote:

> 2011/4/3 Steve G. 
>
>>
>> So I have it in use 5 minutes every couple of days, and the rest is pure
>> Linux.
>>
>
> Why don't you use a virtual machine. I think some of them can redirect USB
> from host to virtual system.
>
>
>> Z.
>>
>>


-- 
Check out my web site - www.words2u.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


USB redirection into a virtual machine (was: Re: Linux has won!)

2011-04-03 Thread Omer Zak
On Sun, 2011-04-03 at 19:22 +0300, Elazar Leibovich wrote:
> 2011/4/3 Steve G. 
> 
> So I have it in use 5 minutes every couple of days, and the
> rest is pure Linux.
> 
> 
> Why don't you use a virtual machine. I think some of them can redirect
> USB from host to virtual system. 

At least in the case of VirtualBox, USB can be redirected from host to
virtual machine.
When you are running a virtual machine, VirtualBox offers a menu and one
of the menu options is to open a list of USB devices connected to the
host and make it possible for you to select some of them for redirection
to the virtual machine.
Note that the keyboard and mouse receive special handling.

--- Omer


-- 
By running MS-Windows XP on your PC, you are probably a multi-zombie.
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


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


Re: Linux has won!

2011-04-03 Thread Elazar Leibovich
2011/4/3 Steve G. 

>
> So I have it in use 5 minutes every couple of days, and the rest is pure
> Linux.
>

Why don't you use a virtual machine. I think some of them can redirect USB
from host to virtual system.


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


Re: Linux has won!

2011-04-03 Thread Nadav Har'El
On Sun, Apr 03, 2011, Stan Goodman wrote about "Re: Linux has won!":
> To emphasize the above, recall that there was a time when most of the 
> ATMs in the United States were running OS/2, and many (including myself) 
> fell into the trap of concluding that OS/2 had a bright future for that 
> reason, Somehow things didn't quite work out that way.

This is a good point, but I think the situation is now different: It's not
just one type of business device that has Linux - it's almost every new
"smart" device, and devices that people commonly bring into their home.
And many of these devices (especially Android) do give the users some feeling
of an "operating system", unlike the situation of ATMs.

> Linux has made good inroads inside devices where the proverbial "Jake 
> the Plumber" doesn't see it and doesn't know it is there. Windows, on 
> the other hand is literally the only OS he has ever seen or heard of.

Right. Linux is not receiving the publicity it deserves. So it has one,
but nobody knows it yet ;-)

-- 
Nadav Har'El| Sunday, Apr  3 2011, 29 Adar II 5771
n...@math.technion.ac.il |-
Phone +972-523-790466, ICQ 13349191 |Energizer Bunny arrested - charged with
http://nadav.harel.org.il   |battery.

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


Re: Linux has won!

2011-04-03 Thread Nadav Har'El
On Sun, Apr 03, 2011, Ariel Biener wrote about "Re: Linux has won!":
>  On 04/03/2011 02:33 PM, Nadav Har'El wrote:
> 
> Sorry for top posting. I think however that you're wrong.
> 
> As a desktop platform, Linux has not won, and that was what

But line of reasoning brings, as I exlained, two questions:

1. There is a trend of the traditional "desktop" being replaced, or just
   eclipsed, by "alternative" devices, such as tablets, smartphones, tvs,
   streamers, networked hard disks, etc. If all of these use Linux but
   traditional "desktops" still don't, in what sense has Windows continued
   to win?

2. If people get used to alternative UIs from all these devices, what will
   they have left as an excuse to choose the expensive Windows and Office
   on their desktop?

-- 
Nadav Har'El| Sunday, Apr  3 2011, 29 Adar II 5771
n...@math.technion.ac.il |-
Phone +972-523-790466, ICQ 13349191 |"God is dead." - Nietzsche; "Nietzsche is
http://nadav.harel.org.il   |dead" - God

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


Re: Linux has won!

2011-04-03 Thread Steve G.
FWIW, I have machines running dual win7/ubuntu. I use windows for one thing
only - managing podcasts on iPads with iTunes (seems that Apple has Windows
software, but not Linux (maybe this is how they repay Windows for the
investment when Apple was going down the drain a few years ago).

For my needs, Windows is not worth the trouble. Virus checks, spyware
checks, daily updates that can sometimes take hours, it is slower to start
and shut down, slower in performance, and while it does not crash as often
as XP and NT and 2000 used to, it is not as stable as Ubuntu. The only
advantage it does seem to have is hardware compatibility.

So I have it in use 5 minutes every couple of days, and the rest is pure
Linux.

Z.

On Sun, Apr 3, 2011 at 6:14 AM, Stan Goodman wrote:

> On Sunday, April 03, 2011 04:48:02 PM Ariel Biener Ariel Biener
>  wrote:
> > As a desktop platform, Linux has not won, and that was what
> > your colleague was referring to. The fact Linux is embedded
> > into many devices, and that some of them even present a UI
> > to you is not irrelevant, Linux is indeed a platform that is uniquely
> > adept for these devices (both in terms of stability, development and
> > most probably in terms of licensing), however, he meant his "desktop
> > OS", and we're not there yet.
>
> To emphasize the above, recall that there was a time when most of the
> ATMs in the United States were running OS/2, and many (including myself)
> fell into the trap of concluding that OS/2 had a bright future for that
> reason, Somehow things didn't quite work out that way.
>
> Linux has made good inroads inside devices where the proverbial "Jake
> the Plumber" doesn't see it and doesn't know it is there. Windows, on
> the other hand is literally the only OS he has ever seen or heard of.
>
> When you are tempted to think that "we are there", spare a thought for
> OS/2, and think again.
> --
> 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
>



-- 
Check out my web site - www.words2u.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Looking for KVM consultant

2011-04-03 Thread Meir Kriheli
On 04/03/2011 01:25 PM, Ira Abramov wrote:
> Quoting Tzafrir Cohen, from the post of Sun, 03 Apr:
>> On Sun, Apr 03, 2011 at 10:41:13AM +0300, Tom Rosenfeld wrote:
>>> Hi guys,
>>> We are looking for help setting up KVM in our production environment.
>>> We have been using Vserver, but want to move to KVM which has many more
>>> tools for management.
>>
>> For the record, the direct replacement for Linux VServer would be OpenVZ
>> or (for newer kernels. Not Centos 5.x) potentially lxc.
> 
> I have had a very good track record with Proxmox VE:
> http://pve.proxmox.com/wiki/Main_Page
> 
> It's a Debian with both KVM and OpenVZ, built-in clustering and a
> unified Web interface to create and manage the machines.
> 
> 

+1 for Proxmox

Cheers
--
Meir

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


Re: Linux has won!

2011-04-03 Thread Stan Goodman
On Sunday, April 03, 2011 04:48:02 PM Ariel Biener Ariel Biener 
 wrote:
> As a desktop platform, Linux has not won, and that was what
> your colleague was referring to. The fact Linux is embedded
> into many devices, and that some of them even present a UI
> to you is not irrelevant, Linux is indeed a platform that is uniquely
> adept for these devices (both in terms of stability, development and
> most probably in terms of licensing), however, he meant his "desktop
> OS", and we're not there yet.

To emphasize the above, recall that there was a time when most of the 
ATMs in the United States were running OS/2, and many (including myself) 
fell into the trap of concluding that OS/2 had a bright future for that 
reason, Somehow things didn't quite work out that way.

Linux has made good inroads inside devices where the proverbial "Jake 
the Plumber" doesn't see it and doesn't know it is there. Windows, on 
the other hand is literally the only OS he has ever seen or heard of.

When you are tempted to think that "we are there", spare a thought for 
OS/2, and think again.
-- 
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: Linux has won!

2011-04-03 Thread Ariel Biener

 On 04/03/2011 02:33 PM, Nadav Har'El wrote:

Sorry for top posting. I think however that you're wrong.

As a desktop platform, Linux has not won, and that was what
your colleague was referring to. The fact Linux is embedded
into many devices, and that some of them even present a UI
to you is not irrelevant, Linux is indeed a platform that is uniquely
adept for these devices (both in terms of stability, development and most
probably in terms of licensing), however, he meant his "desktop
OS", and we're not there yet.

--Ariel

Today over lunch, a few of us were talking about Linux vs. Windows.

Somebody said, among other things, that he prefers Windows because it is more
popular. Then it dawned on me: We're so used to thinking that Linux is a
niche OS that only 1% of the people use at home, that we (or at least I)
missed the fact that this changed! Over the last few years, suddenly that is
no longer true: Today there are probably more copies of Linux than Windows
running in people's homes!

Why am I saying this? Because while most "traditional" PCs are still running
Windows, new kinds of consumer home have appeared to replace or accompany
the home computer, and many of them are running Linux:

   * Smartphones and Tablets with Android, WebOS or MeeGo.
   * Media streamers (e.g., Xtreamer, Popcorn, etc).
   * Residential gateways (a.k.a. home "routers").
   * DVRs (e.g., Tivo)
   * Televisions (e.g., from Samsung and Sony)
   * GPS (e.g., from Garmin)
   * Networked hard disks (e.g., WD My Book Live)
   * Personal video screens on airplains

So probably the number of home installations of Linux, in one of these home
devices, is already greater than the number of home installations of Windows!

And of course, add to this the fact that Linux is also more popular on
servers, e.g., Google's and Facebook's servers - over a million (!) of
them, all use Linux - so even if your PC is running Windows, the Web sites
you use are actually based on Linux.

Some might argue that the fact that these devices use Linux is irrelevant,
because their Linux is not exposed to the users. I argue that this is not
accurate: Some of them do expose an operating system (e.g., Android), in some
of them you need to be aware of Linux to add extensions or understand their
on-disk formats. But more importantly - The fact that these devices are *not*
based on Windows is what matters. It is starting to educate the users that
Windows isn't the only "allowed" user interface: People used to hate Linux's
UI (e.g., Gnome, KDE, OpenOffice) because they are different from Windows'.
But now everything is different from Windows: Android is different from
Windows, Apple iOS is different from Windows, Xtreamer's menu system is
different from Windows, Gmail's UI is different from Windows - suddenly Linux
doesn't look that "alien" any more.

And finally, as Linux-based devices outnumbers Windows-based PCs, and perhaps
even out-costs them, the amount of investment into Linux development will
increase, to the benefit of all Linux users.

So,

We won!!!

Vive la revolution :-)





--
 --
 Ariel Biener
 e-mail: ar...@post.tau.ac.il
 PGP: http://www.tau.ac.il/~ariel/pgp.html


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


Linux has won!

2011-04-03 Thread Nadav Har'El
Today over lunch, a few of us were talking about Linux vs. Windows.

Somebody said, among other things, that he prefers Windows because it is more
popular. Then it dawned on me: We're so used to thinking that Linux is a
niche OS that only 1% of the people use at home, that we (or at least I)
missed the fact that this changed! Over the last few years, suddenly that is
no longer true: Today there are probably more copies of Linux than Windows
running in people's homes!

Why am I saying this? Because while most "traditional" PCs are still running
Windows, new kinds of consumer home have appeared to replace or accompany
the home computer, and many of them are running Linux:

  * Smartphones and Tablets with Android, WebOS or MeeGo.
  * Media streamers (e.g., Xtreamer, Popcorn, etc).
  * Residential gateways (a.k.a. home "routers").
  * DVRs (e.g., Tivo)
  * Televisions (e.g., from Samsung and Sony)
  * GPS (e.g., from Garmin)
  * Networked hard disks (e.g., WD My Book Live)
  * Personal video screens on airplains

So probably the number of home installations of Linux, in one of these home
devices, is already greater than the number of home installations of Windows!

And of course, add to this the fact that Linux is also more popular on
servers, e.g., Google's and Facebook's servers - over a million (!) of
them, all use Linux - so even if your PC is running Windows, the Web sites
you use are actually based on Linux.

Some might argue that the fact that these devices use Linux is irrelevant,
because their Linux is not exposed to the users. I argue that this is not
accurate: Some of them do expose an operating system (e.g., Android), in some
of them you need to be aware of Linux to add extensions or understand their
on-disk formats. But more importantly - The fact that these devices are *not*
based on Windows is what matters. It is starting to educate the users that
Windows isn't the only "allowed" user interface: People used to hate Linux's
UI (e.g., Gnome, KDE, OpenOffice) because they are different from Windows'.
But now everything is different from Windows: Android is different from
Windows, Apple iOS is different from Windows, Xtreamer's menu system is
different from Windows, Gmail's UI is different from Windows - suddenly Linux
doesn't look that "alien" any more.

And finally, as Linux-based devices outnumbers Windows-based PCs, and perhaps
even out-costs them, the amount of investment into Linux development will
increase, to the benefit of all Linux users.

So,

We won!!!

Vive la revolution :-)


-- 
Nadav Har'El| Sunday, Apr  3 2011, 28 Adar II 5771
n...@math.technion.ac.il |-
Phone +972-523-790466, ICQ 13349191 |I have a watch cat! If someone breaks in,
http://nadav.harel.org.il   |she'll watch.

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


Re: auto-maximize a logical partition with ext3

2011-04-03 Thread Ira Abramov
Quoting Hetz Ben Hamo, from the post of Sun, 03 Apr:
> Umm, last time I checked, resize2fs (which now supports ext4, at least in
> Fedora) can resize to use all available space if you don't give it any

Maybe I should have been more verbose - I know how to resize the FS,
it's a no brainer. the problem is resizing the partition to the max
without having to find the media size, or at the very least figuring out
what is the maximum size it's alowed to be set to.

I can get the info in sectors with fdisk -lu, then I could get, process
and write back the partition table with sfdisk, but it is hard to get
the right number of sections for the partitions. for instance, I have
here a CF card of 1GB, it has 2001888 sectors, but if I use fdisk to
create a partition with the default maximum size it ends at 2001855 - so
is it a problem if I set the partition end to the end of the disk or how
do I find out the number of sectors to leave out if it needs to land on
the mysterious and anacronistic "cylinder boundery"?

-- 
The doctor is |IN|
Ira Abramov
http://ira.abramov.org/email/

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


Re: auto-maximize a logical partition with ext3

2011-04-03 Thread Hetz Ben Hamo
Umm, last time I checked, resize2fs (which now supports ext4, at least in
Fedora) can resize to use all available space if you don't give it any
parameters. See this: http://www.hermann-uwe.de/taxonomy/term/1867

Thanks,
Hetz

2011/4/3 Ira Abramov 

> Hello friends, last resort before I go and reinvent the wheel, badly.
>
> I have a system here that creates a dozen images for medias of different
> sizes, installing a few dozen machines every day. I would like to make
> the process more unified - install the same 4G image on all medias (dd)
> and then maximize sda6, the last ext3 partition, and naturally, the
> underlying extended partition sda4.
>
> The only tool that automates resizing like that is parted, and it still
> needs a precise partition length instead of "use all available space",
> and won't resize ext3 if I don't turn off the journaling first (make it
> ext2). I tried deducing the maximum partition size with fdisk -l and
> other sfdisk instead, but each uses different units and I have no idea
> how to convert them all correctly so I'm left with working, non
> overlapping partitions.
>
> I'm prepared to do it the hard way, I just wondered if there's a tool I
> missed or an existing script that already does this.
>
> Thanks.
>
> --
> His own worst enemy
> Ira Abramov
> http://ira.abramov.org/email/
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz  ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


auto-maximize a logical partition with ext3

2011-04-03 Thread Ira Abramov
Hello friends, last resort before I go and reinvent the wheel, badly.

I have a system here that creates a dozen images for medias of different
sizes, installing a few dozen machines every day. I would like to make
the process more unified - install the same 4G image on all medias (dd)
and then maximize sda6, the last ext3 partition, and naturally, the
underlying extended partition sda4.

The only tool that automates resizing like that is parted, and it still
needs a precise partition length instead of "use all available space",
and won't resize ext3 if I don't turn off the journaling first (make it
ext2). I tried deducing the maximum partition size with fdisk -l and
other sfdisk instead, but each uses different units and I have no idea
how to convert them all correctly so I'm left with working, non
overlapping partitions.

I'm prepared to do it the hard way, I just wondered if there's a tool I
missed or an existing script that already does this.

Thanks.

-- 
His own worst enemy
Ira Abramov
http://ira.abramov.org/email/

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


Re: Looking for KVM consultant

2011-04-03 Thread Ira Abramov
Quoting Tzafrir Cohen, from the post of Sun, 03 Apr:
> On Sun, Apr 03, 2011 at 10:41:13AM +0300, Tom Rosenfeld wrote:
> > Hi guys,
> > We are looking for help setting up KVM in our production environment.
> > We have been using Vserver, but want to move to KVM which has many more
> > tools for management.
> 
> For the record, the direct replacement for Linux VServer would be OpenVZ
> or (for newer kernels. Not Centos 5.x) potentially lxc.

I have had a very good track record with Proxmox VE:
http://pve.proxmox.com/wiki/Main_Page

It's a Debian with both KVM and OpenVZ, built-in clustering and a
unified Web interface to create and manage the machines.


-- 
The butterfly effect
Ira Abramov
http://ira.abramov.org/email/

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


Re: Looking for KVM consultant

2011-04-03 Thread Tzafrir Cohen
On Sun, Apr 03, 2011 at 10:41:13AM +0300, Tom Rosenfeld wrote:
> Hi guys,
> We are looking for help setting up KVM in our production environment.
> We have been using Vserver, but want to move to KVM which has many more
> tools for management.

For the record, the direct replacement for Linux VServer would be OpenVZ
or (for newer kernels. Not Centos 5.x) potentially lxc.

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

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


Re: Looking for KVM consultant

2011-04-03 Thread Gilboa Davara
On Sun, 2011-04-03 at 10:41 +0300, Tom Rosenfeld wrote:
> Hi guys,
> We are looking for help setting up KVM in our production environment.
> We have been using Vserver, but want to move to KVM which has many
> more tools for management.
> 
> Our initial tests under CentOS 5.4 have not been good. The KVM guests
> often hang when they are under load.
> 
> Any recommendations?
> 
> Thanks,
> 
> 
> Tom Rosenfeld

Hi Tom,

A couple of questions:

1. Are you talking about Internet facing environment or are you talking
about an internal server?

2. What are you planning to run on the server(s)? Linux VM's? Windows
VM's? What level of support do you require?

3. As others have mentioned, CentOS 5.4 is getting old, I'd use CentOS
5.5 instead.

4. Beyond that, given the difficulties CentOS is having in releasing
both CentOS 5.6 and CentOS 6 (RHEL 6.1 has already in beta testing while
CentOS developers have no clear roadmap for CentOS 5.6 and 6.0 release).

5. Having said all that, I'd either:
a. Buy RHEL 6.0 (if you require small number of VM's)
b. Buy RHEV 2.2 (if you require better support and/or larger number of
VM's; should be twice as expensive as RHEL 6.0)
c. Use Fedora 14/x86_64. (If you don't mind the 13 month-long support
cycle or this is an internal server that doesn't require daily patching)
d. Switch to another distro (SLES?)
e. Switch to CentOS + VMWare server.

In my case, I usually opt for Fedora for in-office [1] use and RHEL for
out-office use. But than again, I will be able to give far better advise
with some additional information.

- Gilboa
[1] Using our own VM deployment and configuration scripts as opposed to
use virt-manager.
-- 
Gilboa Davara
http://www.wirex-systems.com


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


Re: Looking for KVM consultant

2011-04-03 Thread Ram-on Agmon
Xen should be better for servers.
You can download red hat 6 from red hat site (free register, free download
for 30 days or so, you can use it forever, but is not legal :).

Ram on.

2011/4/3 Tom Rosenfeld 

> Hi guys,
> We are looking for help setting up KVM in our production environment.
> We have been using Vserver, but want to move to KVM which has many more
> tools for management.
>
> Our initial tests under CentOS 5.4 have not been good. The KVM guests often
> hang when they are under load.
>
> Any recommendations?
>
> Thanks,
>
> Tom Rosenfeld
>
> Cloud Optimization Engineer
>  tom.rosenf...@exlibrisgroup.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: Looking for KVM consultant

2011-04-03 Thread Gleb Natapov
On Sun, Apr 03, 2011 at 10:55:22AM +0300, Tom Rosenfeld wrote:
> We spoke to Matrix, but they of course want to sell us the whole RH RHEV
> suite. We just want the open source stuff.
> 
Just demand RHEL6 from them. RHEL6 includes kvm+libvirt and you get support from
Red Hat (as long as you use libvirt to start kvm guests).

> About the version: I will check, I just did a yum install. How stable is
> CentOS 6? The only thing the physical host will do is to host KVM. Should I
> be using CentOS 6, or perhaps something lighter?
> 
> Thanks,
> -tom
> 
> 
> 
> On Sun, Apr 3, 2011 at 10:48 AM, Dima (Dan) Yasny  wrote:
> 
> > Being in .il, who can help with Red Hat's technologies better than Matrix?
> >
> > And yes, 5.4 is old, kvm works much better in 5.6, and even better in 6
> >
> >
> > 2011/4/3 Tom Rosenfeld :
> > > Hi guys,
> > > We are looking for help setting up KVM in our production environment.
> > > We have been using Vserver, but want to move to KVM which has many more
> > > tools for management.
> > >
> > > Our initial tests under CentOS 5.4 have not been good. The KVM guests
> > often
> > > hang when they are under load.
> > >
> > > Any recommendations?
> > >
> > > Thanks,
> > >
> > > Tom Rosenfeld
> > >
> > > Cloud Optimization Engineer
> > >
> > > tom.rosenf...@exlibrisgroup.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


--
Gleb.

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


Re: Looking for KVM consultant

2011-04-03 Thread shimi
2011/4/3 Tom Rosenfeld 

> We spoke to Matrix, but they of course want to sell us the whole RH RHEV
> suite. We just want the open source stuff.
>
>
Smart choice. RHEV is... I don't even have a word for that. And that's even
before the fact that you need Windows(TM) Server (???) 2008 (???) R2 (???
!!) to actually use it at its latest version. (or so we were told...)

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


Re: Looking for KVM consultant

2011-04-03 Thread Noam Meltzer
CentOS 6 is not out yet.


2011/4/3 Tom Rosenfeld 

> We spoke to Matrix, but they of course want to sell us the whole RH RHEV
> suite. We just want the open source stuff.
>
> About the version: I will check, I just did a yum install. How stable is
> CentOS 6? The only thing the physical host will do is to host KVM. Should I
> be using CentOS 6, or perhaps something lighter?
>
> Thanks,
> -tom
>
>
>
> On Sun, Apr 3, 2011 at 10:48 AM, Dima (Dan) Yasny wrote:
>
>> Being in .il, who can help with Red Hat's technologies better than Matrix?
>>
>> And yes, 5.4 is old, kvm works much better in 5.6, and even better in 6
>>
>>
>> 2011/4/3 Tom Rosenfeld :
>> > Hi guys,
>> > We are looking for help setting up KVM in our production environment.
>> > We have been using Vserver, but want to move to KVM which has many more
>> > tools for management.
>> >
>> > Our initial tests under CentOS 5.4 have not been good. The KVM guests
>> often
>> > hang when they are under load.
>> >
>> > Any recommendations?
>> >
>> > Thanks,
>> >
>> > Tom Rosenfeld
>> >
>> > Cloud Optimization Engineer
>> >
>> > tom.rosenf...@exlibrisgroup.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
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Looking for KVM consultant

2011-04-03 Thread Tom Rosenfeld
We spoke to Matrix, but they of course want to sell us the whole RH RHEV
suite. We just want the open source stuff.

About the version: I will check, I just did a yum install. How stable is
CentOS 6? The only thing the physical host will do is to host KVM. Should I
be using CentOS 6, or perhaps something lighter?

Thanks,
-tom



On Sun, Apr 3, 2011 at 10:48 AM, Dima (Dan) Yasny  wrote:

> Being in .il, who can help with Red Hat's technologies better than Matrix?
>
> And yes, 5.4 is old, kvm works much better in 5.6, and even better in 6
>
>
> 2011/4/3 Tom Rosenfeld :
> > Hi guys,
> > We are looking for help setting up KVM in our production environment.
> > We have been using Vserver, but want to move to KVM which has many more
> > tools for management.
> >
> > Our initial tests under CentOS 5.4 have not been good. The KVM guests
> often
> > hang when they are under load.
> >
> > Any recommendations?
> >
> > Thanks,
> >
> > Tom Rosenfeld
> >
> > Cloud Optimization Engineer
> >
> > tom.rosenf...@exlibrisgroup.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: Looking for KVM consultant

2011-04-03 Thread Dima (Dan) Yasny
Being in .il, who can help with Red Hat's technologies better than Matrix?

And yes, 5.4 is old, kvm works much better in 5.6, and even better in 6


2011/4/3 Tom Rosenfeld :
> Hi guys,
> We are looking for help setting up KVM in our production environment.
> We have been using Vserver, but want to move to KVM which has many more
> tools for management.
>
> Our initial tests under CentOS 5.4 have not been good. The KVM guests often
> hang when they are under load.
>
> Any recommendations?
>
> Thanks,
>
> Tom Rosenfeld
>
> Cloud Optimization Engineer
>
> tom.rosenf...@exlibrisgroup.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: Looking for KVM consultant

2011-04-03 Thread Hetz Ben Hamo
Hi,
Few things:

1. Did you compile KVM from source? CentOS 5.4 is really old, and for best
results you should either use RHEL 6 or the latest Fedora.
2. It's pretty hard to find a consulting for KVM. Frankly, they're doing a
lousy job of marketing it, specially for hosting businesses.

Good luck,
Hetz

2011/4/3 Tom Rosenfeld 

> Hi guys,
> We are looking for help setting up KVM in our production environment.
> We have been using Vserver, but want to move to KVM which has many more
> tools for management.
>
> Our initial tests under CentOS 5.4 have not been good. The KVM guests often
> hang when they are under load.
>
> Any recommendations?
>
> Thanks,
>
> Tom Rosenfeld
>
> Cloud Optimization Engineer
>  tom.rosenf...@exlibrisgroup.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>


-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz  ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Looking for KVM consultant

2011-04-03 Thread Tom Rosenfeld
Hi guys,
We are looking for help setting up KVM in our production environment.
We have been using Vserver, but want to move to KVM which has many more
tools for management.

Our initial tests under CentOS 5.4 have not been good. The KVM guests often
hang when they are under load.

Any recommendations?

Thanks,

Tom Rosenfeld

Cloud Optimization Engineer
 tom.rosenf...@exlibrisgroup.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il