Re: Server Disk Problem

2010-07-28 Thread Daniel Feiglin
Hi folks!

Here we go:

In addition to posting this query, I found and downloaded a short LVM
Howto. In addition, I used a live openSUSE 11.3 CD. Following the Howto,
I was able to discern that:

1. The server had two LVM volumes on two separate physical drives
configured for RAID 1.
2. They showed as /dev/sda and /dev/sdb.
3. After going through the Howto instructions, I was able to demonstrate
that sda was corrupted and unmountable as an LVM drive but sdb was OK,
and I was able to get into it and copy data to a disk on key.

If anyone is interested, I will prepare a log of the procedure and post
it. At this point I am using the LVM instructions as a bit of a parrot,
but that looks likely to change for the better. :)

Thanks for your response,


Daniel

P.S. If anyone is wondering, why openSUSE and not ...?, please note
that I have been a SUSE user since 1999 and I'm too lazy to change. In
any event, 11.3 seems to be a good release.


On 07/28/2010 12:46 AM, Amos Shapira wrote:
 On 28 July 2010 06:37, Etzion Bar-Noy eza...@tournament.org.il wrote:
   
 As I have said - if he could mount it, he can read the superblock.
 
 I missed the mounted part, only that he is looking for a secondary 
 superblock.

 Still:
 1. If he's still looking for a secondary superblock (as fsck
 recommend) then that tool can help him achieve that.
 2. If he wants to try to salvage the files to another disk then this
 tool can help there too.

 --Amos

   
 Ez

 On Tue, Jul 27, 2010 at 3:50 AM, Amos Shapira amos.shap...@gmail.com
 wrote:
 
 2010/7/27 Etzion Bar-Noy eza...@tournament.org.il
   
 Are you checking the correct device?
 If fsck.ext3 can't find superblock, the system could not have mounted
 the device to begin with.
 Please post the results of
 lvm lvs
 cat /etc/fstab (if available)
 Thanks
 Ez
 
 Here is a method using testdisk to find the backup superblocks:
 http://www.cgsecurity.org/wiki/Advanced_Find_ext2_ext3_Backup_SuperBlock

 (never tried this).

 --Amos

   
 2010/7/26 Daniel Feiglin dilog...@inter.net.il
 
 Hello folks!

 I am trying to assist in the following situation:

 The user has a 1u IBM Pizza server. It was configured as one
 partition
 (ext3) and loaded with Centos something-or-other, with the partition
 set
 up as a single LVM volume (yes, including the root directory).

 One fine day, after a reboot, it ran fsck which conked out after
 checking about 12% of the disk advising to run fsck manually. At that
 point, we logged in as root, and ran fsck -n /dev/whatever to see
 what's
 happening.

 The latter yielded the dreaded corrupt super block, try the next one
 (8193). That (as I kind of expected) didn't work either.

 From being root I can see the various directories an even cd to
 them.
 I am aware  that it means little if their contents are corrupted.

 Question:

 1. Are there any recovery tools for this kind of situation?
 2. Is my only choice, to install another pre-partitioned hard disk, log
 in with (say) a live CD, mount the corrupt disk and try to manually
 copy my data directories?

 Regards,


 Daniel

 ___
 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

 

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


Re: Alternative for getline() function in AIX 5.3

2010-07-28 Thread Nadav Har'El
On Wed, Jul 28, 2010, Etzion Bar-Noy wrote about Re: Alternative for getline() 
function in AIX 5.3:
 IBM supply a set of GNU utilities, including GCC-related software (and GCC,
 as well, if I recall correctly, but an old one) in an additional CD supplied
 with AIX. This is called something around Utilities for Linux or some
 other lie. So you do not need to force gcc to compile under AIX, but only
 use it.
 Same goes, probably, for many additional libraries.

I didn't check, but it is quite likely that while they supply gcc and many
other GNU utilities, they do not have glibc. While glibc's getline() is
trivial to port to AIX, much of glibc is very closely related to the kernel's
APIs, so it varies a lot from kernel to kernel. Last time I checked, glibc
was only available for Linux.

But needless to say, parts of glibc (like the aforementioned geline()) should
have no trouble to compile on AIX.


-- 
Nadav Har'El|   Wednesday, Jul 28 2010, 17 Av 5770
n...@math.technion.ac.il |-
Phone +972-523-790466, ICQ 13349191 |Does replacing myself with a shell-script
http://nadav.harel.org.il   |make me impressive or insignificant?

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


Re: Playing TAU lectures from videos.tau.ac.il

2010-07-28 Thread Stan Goodman
At 20:46:08 on Monday Monday 26 July 2010, Ariel Biener 
ar...@post.tau.ac.il wrote:
  I'll bite. What this thread asks is not how to redistribute these
  films for free or for pay [FreeDist], but rather how to legitimately
  view them on Linux while fully respecting the copyrights. Apparently,
  the TAU workers did not do enough work to ensure portability and
  interoperability for non-Microsoft-based operating systems, and the
  people who asked here want to find a good workaround. This thread is
  entirely due to their lack of ability (or because they did not care
  enough), and it should be expected given that people use Linux and
  want to view the lectures there, which is within their rights as TAU
  students.

 Agreed.

  That may not be a bad thing, because it gives publicity to the
  university, and allows other people to enjoy your content. See:
 
  * http://remix.lessig.org/
 
  * http://ocw.mit.edu/ (OpenCourseWare).

 Yes, but TAUs policy on copyright is not on discussion, nor am I
 authorized to
 change it.

  These internal means likely take time, as many people who have tried
  to contact the operators of web-sites that do not function in
  non-MSIE-browsers can attest to. In the meanwhile, people would need
  some Linux-specific workarounds, which would not be needed if the TAU
  staff cared enough about checking that. You reap what you sow.

 I do not like prejudice. The only way to fix TAU issues is via the help
 desk. Trust me,
 we're not your usual Joe ISP. We are a strong Unix/Linux shop, and most
 of our
 applications, especially web apps, are based on open source.

But it has been explained to you that Linux users have already addressed 
the help desk, which has not found (or which doesn't really care to find) 
a way to solve the problem, thus leaving Linux users unable to access the 
pages that they need for their course work. What does trust me mean in 
such a case? 

Hiding behind copyright law is a weak excuse. The university cannot 
arrange its student pages in such a way that proprietary software is 
needed for access, and then complain when students who are told to use 
the pages try to access without the proprietary software. I don't think 
that argument is populistic, as you have argued; I don't think you do 
either, if you will think about it.


 -- Ariel
  --
  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



-- 
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


Looking for a programmer for a web project - Speedy Composer

2010-07-28 Thread Uri Even-Chen
Hi all,

I hope it's OK to write to this list.  I'm looking for a programmer
for an open source web project called Speedy Composer - a program that
will automatically compose music.  This is a project I did a few years
ago, which can compose melodies using MATLAB - using artificial neural
networks.  I need a programmer who can convert this MATLAB code into
web interface, allowing users to create accounts, then compose their
own melodies according to specific musical chords, and saving the
composed melodies in MIDI format to the user's account on the server,
letting the users play the music or download it in MIDI format.  The
programming language is open, can be PHP and/or C/C++ or Java, or any
other open programming language.  I want to create a website using
this program (with English interface), and also release it as an open
source project.

You can find more details and examples of melodies composed by this
project on this website:
http://www.speedy.net/composer/

There is also a project on SourceForge, where you can download the
MATLAB source files  project files:
https://sourceforge.net/projects/speedycomposer/

There are two options of working with me:
1. Partnership.  We can share the profits from this project.  Let me
know if you are willing to work as a partner.
2. Freelancer.  If you want to work as a freelancer, let me know how
much you will charge per this project, or per hour and how many hours
are estimated.

If you are interested, please send me a short resume and programming
skills, how many hours you estimate to complete this work, whether you
prefer partnership or freelancer, and how much you will charge
(including all taxes).  Please send all this information to my e-mail
(u...@speedy.net), and don't forget to write Programmer - Speedy
Composer as the title.

Also, if you have advice on ways to find a programmer (where to
advertise), please let me know.

Best Regards,
Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Blog: http://www.speedy.net/uri/blog/

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


[4GIVEAWAY] More stuff

2010-07-28 Thread Marc Volovic
Ok, known drill.

1. Four (maybe five, maybe six) Display Port cables
2. One AGP VGA Card
3. One Adaptec 39160 SCSI HBA

Ya want em, come and get 'em from the great urban sprawl that is Mazkeret 
Batya. Else shed their mortal coil they shall and no later than Saturday at 
that.

Best regards

Marc Volovic
marcvolo...@me.com




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


OT: web fonts

2010-07-28 Thread Dotan Cohen
Not a Linux question, but probably relevant for some people here.

I'm working on a Hebrew website [1] and although it looks great in
Firefox, Opera and Chrome on Linux, IE on Windows diplays terrible,
terrible fonts. Which fonts should I specify in the CSS, ones that I
can trust look decent and are installed on default Windows
installations? I could probably just look at the code for Walla or
TheMarker, but I figure that I would get a better answer here. Thanks.

[1] http://tikun-mekarerim.co.il

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: OT: web fonts

2010-07-28 Thread Tomer Cohen
I would suggest not to mess with fonts, as for most usages it already has
good choices for every operating system and browser. You can instead specify
font-family:sans-serif, as serif fonts are never looking good on screens
(but ideal for prints).

If you are very geeky, you can load fonts fronts from the stylesheet itself,
so you can show culmus fonts for Windows, as well as any other chosen font.

On Wed, Jul 28, 2010 at 21:46, Dotan Cohen dotanco...@gmail.com wrote:

 Not a Linux question, but probably relevant for some people here.

 I'm working on a Hebrew website [1] and although it looks great in
 Firefox, Opera and Chrome on Linux, IE on Windows diplays terrible,
 terrible fonts. Which fonts should I specify in the CSS, ones that I
 can trust look decent and are installed on default Windows
 installations? I could probably just look at the code for Walla or
 TheMarker, but I figure that I would get a better answer here. Thanks.

 [1] http://tikun-mekarerim.co.il




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


Re: OT: web fonts

2010-07-28 Thread Dotan Cohen
On Wed, Jul 28, 2010 at 22:06, Tomer Cohen to...@gmx.net wrote:
 I would suggest not to mess with fonts, as for most usages it already has
 good choices for every operating system and browser. You can instead specify
 font-family:sans-serif, as serif fonts are never looking good on screens
 (but ideal for prints).


That's what I do for English-language sites, let the browser handle
it. But this Hebrew site looks terrible, apparently IE default
settings for fonts have ugly Hebrew glyphs.


 If you are very geeky, you can load fonts fronts from the stylesheet itself,
 so you can show culmus fonts for Windows, as well as any other chosen font.


I understand that is not very portable, rather I would prefer to use
the system's fonts, I just need to know what are good system fonts in
Windows / IE.

 On Wed, Jul 28, 2010 at 21:46, Dotan Cohen dotanco...@gmail.com wrote:

 Not a Linux question, but probably relevant for some people here.

 I'm working on a Hebrew website [1] and although it looks great in
 Firefox, Opera and Chrome on Linux, IE on Windows diplays terrible,
 terrible fonts. Which fonts should I specify in the CSS, ones that I
 can trust look decent and are installed on default Windows
 installations? I could probably just look at the code for Walla or
 TheMarker, but I figure that I would get a better answer here. Thanks.

 [1] http://tikun-mekarerim.co.il



 --
 Tomer Cohen
 http://tomercohen.com




-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


HP printers to whoever wants to put new cartridges in them

2010-07-28 Thread Dotan Cohen
Be it known that the House of Cohen is relinquishing all rights and
claim to the following articles:
HP Desktjet 1600 Printer
HP Officejet 4255 Mutli printer/fax/scan/copier

The 1600 cries for a new black cartridge, the 4255 cries but we know
not for what. Those brave men and ladies who find themselves within or
near Nesher's city limits are hereby encouraged to embrace said fine
contraptions, to heal them, and to derive what pleasures they may from
them.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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