[Job] Linux IT-Ops administrator
Ex Libris Jerusalem is looking for a Linux IT-Ops administrator Responsibilities : - Manage computer room physical infrastructure - Install, configure and maintain Linux and Solaris servers - 2nd line support for RD - Storage management on NetApp - Manage VMware cluster - Data backup responsibility for offices around the world Required experience skills: - RedHat Linux - Vmware Vsphere 5.x - NetApp NAS and SAN storage - Sun Solaris - Project management - AIX - desirable - Oracle - desirable Please send your C.V. to me. -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Job Op at Ex Libris - NetApp Storage Expert
If you are interested in the position below, please send your CV to me at trosenf...@gmail.com Thanks, -tom --- Job Title: Cloud Storage Engineer Division/Department:Cloud Infrastructure Location: Jerualem GENERAL DESCRIPTION Senior Cloud Storage engineer team member to join a dynamic and very bright team of folks working with cutting edge technologies needed as our business is booming ESSENTIAL JOB DUTIES AND RESPONSIBILITIES Manage and design Cloud Storage solution, NetApp A team member who is all about working with the latest and greatest technologies Joining a team which responsible for an increasingly virtualized Linux environment comprised of more than 300 physical servers and fast growing in multi datacenter locations worldwide. Deploy and operate large scale cloud infrastructure and application services in our own data centers Deploy, support, and operation of virtualized Linux environment Participate in on-call rotation to support 24x7 coverage of our services Work with our Engineers and Systems Architects on infrastructure projects There is a heavy reliance on open-source software. REQUIRED QUALIFICATIONS B.S./B.A./M.S. degree or equivalent technical training A minimum of 3-5 years of NetApp Administration experience with virtulization (KVM or Vserver preferable) NetApp hardware and configuration NetApp technologies such as Snapmirror, Snaplock, Snapvault, OSSV a plus NetApp cluster technology for FC and iSCSI a plus A minimum of 3-5 years of Unix/Linux Administration experience Experience with designing and deploying virtualized infrastructures such as KVM, Vservers Must have excellent communication skills Must be a team player and able and willing to roll their sleeves up ABOUT EX LIBRIS Ex Libris is the leading provider of automation solutions for academic and research libraries. Offering the only comprehensive product suite for electronic, digital, and print materials, Ex Libris provides efficient, user-friendly products that serve the needs of libraries today and will facilitate their transition into the future. Ex Libris maintains an impressive customer base consisting of thousands of sites in more than 75 countries on six continents, including 10 of the top 10 universities around the world. With headquarters in Jerusalem, we have 12 locations globally, with North American offices in Chicago and Boston. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Job Op at Ex Libris - Linux NOC Support Analyst
If you are interested in the position below, please send your CV to me and tal@exlibrisgroup.com Thanks, -tom --- ** Position Title: Linux NOC Support Analyst ** ** Ex Libris Global Support Business Unit in Jerusalem is seeking an analyst for the 24/7 Network Operation Center which is meant to provide first line customer support worldwide. ** ** Responsibilities include: Receive support incidents from internal and external clients* *** Work with control and monitoring systems Perform the initial analysis of support incidents Resolve the issues or refer them to the relevant group Follow the incidents until resolution ** ** Required professional experience: Mastery of Linux command line Basic understanding of system monitoring concepts and management tools Experience providing service and communicating with a large scale customer base Experience in technical analysis Knowledge in networking diagnosis Familiarity with Solaris, Oracle, My SQL – advantage Experience in a round the clock call center, NOC or HUB – advantage Knowledge in scripting language (C-shell, bash, Perl) – advantage Knowledge in storage and backup – advantage ** ** Knowledge in networking diagnosis – advantage Required Languages English - very high level both written and spoken Additional languages -- advantage ** ** Candidate must be willing to work on a shift rotation basis ** ** *About the company:* Ex Libris Group is a leading provider of library automation solutions, offering a comprehensive product suite for the discovery, management, and distribution of all library materials- print, electronic and digital. Dedicated to developing the market's most inventive and creative solutions, Ex Libris leads the way in defining and designing efficient, user-friendly products that serve the needs of academic, research, and national libraries today, and enabling them to transition into the future. The company's solutions are being used by over 4,500 establishments worldwide. The company provides services in over 20 languages, in 73 countries, in 6 different continents. Exlibris's headquarter, research, development and support centers are located in Jerusalem and the company has subsidiaries around the world. ** ** Tom Rosenfeld Cloud Optimization Engineer Tel: +972-2-649-9394 tom.rosenf...@exlibrisgroup.com [image: Description: cid:image001.jpg@01CC2126.7B997470] www.exlibrisgroup.com ** ** image001.jpg___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Linux job at Ex Libris Jerusalem.
If you are interested, email me your CV -tom --- ** * * *Position Description:* Ex Libris Global Support Business Unit is seeking a representative for the 24/7 HUB operation which is meant to provide initial support to Ex Libris customers worldwide. *Responsibilities include:* [image: *]Receive support incidents from internal and external clients [image: *]Work with control and monitoring systems [image: *]Preform the initial analysis of support incidents raised by customers of all company products [image: *]Resolve the issues customers raise and/or refer them to the relevant professional sources [image: *]Follow the incidents until resolution [image: *]Maintain communication with clients and different elements within the organization *Relevant education:* BA degree in a relevant field – Computer Science, Industrial Engineering or a relevant retraining course * * *Required professional experience:* [image: *]Experience in a round the clock call center, NOC or HUB [image: *]3 years of experience as a Linux system administrator are required [image: *]Basic understanding of network monitoring concepts and management tools, such as Nagios, Zenoss or similar. [image: *]Knowledge in scripting language (C-shell, bash, Perl) will be considered an advantage [image: *]Knowledge in storage and backup will be considered an advantage [image: *]Knowledge in Oracle database will be considered an advantage [image: *]Knowledge in networking diagnosis will be considered an advantage [image: *]Experience providing service and communicating with a large scale customer base [image: *]Experience in technical analysis [image: *]Familiarity with Linux, Unix, Oracle, My SQL will be considered an advantage * * *Required Languages *** English at a very high level both written and spoken Additional languages will be considered an advantage * * *Important skills / characteristics* [image: *]Service oriented [image: *]Strong communication skills [image: *]Strong analytical skills and ability to collate and interpret data from various sources [image: *]Ability to work in a team and good rapport with others [image: *]Ability to independently learn [image: *]Organized and detail oriented Candidate must be willing to work on a shift rotation basis Residency in Jerusalem – an advantage ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Linux jobs at : ממטריקס
FYI If you are interested send your CV directly to Shlomit. -tom -- Forwarded message -- From: Shlomit Cohen shlomi...@matrix.co.il Date: 2011/7/20 Subject: תום רוזנפלד-הודעה ממטריקס To: trosenf...@gmail.com trosenf...@gmail.com ** ** תום שלום, ** ** בהמשך לשיחתנו הטלפונית, ** ** אשמח אם תשלח לי קורות חיים של חברים בתחום הLINUX ** ** תודה רבה על שיתוף הפעולה!!! ** ** ** ** J שלומית ליבוביץ| מח' גיוס מטריקס טל': 972-9-9598744+ | דואל: shlomi...@matrix.co.ilusern...@matrix.co.il לרשותך מטריקס ברשת: [image: cid:718292309@20122010-2D34] http://www.wikit.co.il/ [image: cid:718292309@20122010-2D3B] http://blogix.co.il/ [image: cid:718292309@20122010-2D42]http://www.facebook.com/group.php?gid=6583811451 [image: cid:718292309@20122010-2D49]http://www.linkedin.com/groups?gid=51743trk=myg_ugrp_ovr [image: cid:718292309@20122010-2D50] http://www.matrix.co.il/ [image: cid:718292309@20122010-2D57] ** ** ** ** image003.gifimage006.gifimage001.gifimage005.gifimage004.gifimage002.gif___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: total uptime between shutdowns
Thanks I'll give it a try when I have some time to play. 2011/7/4 Ricardo F ri...@hotmail.com Hello, You can use tuptime http://sourceforge.net/projects/tuptime/ it works well for count time between restarts and the number of total restarts. Regards ___ 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
Looking for KVM consultant
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
Re: Looking for KVM consultant
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 dya...@gmail.com 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 trosenf...@gmail.com: 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
[Job Offer] Xconnect looking for systems engineer
Send inquiries directly to Ronnen. Let him know you saw it here. -tom -- Forwarded message -- From: Ronnen Slasky ronnen.sla...@xconnect.net Date: Mon, Mar 14, 2011 at 10:02 AM Subject: looking for systems engineer To: Tom Rosenfeld trosenf...@gmail.com Hey Tom, We are looking for an experienced systems engineer. XConnect is the global leader in network peering and offers the most comprehensive and reliable solutions to help service providers deliver rich multimedia IP communications across networks while improving service quality and reducing costs. Backed by Tier 1 venture capital firms, XConnect operates the largest worldwide ENUM-based IP-peering federation, the Global Alliance, and the world’s first national VoIP/NGN interconnection federations in the Netherlands, South Africa and Korea. Title: Systems and Network Engineer Description: - Working in a dynamic environment with a team of highly skilled system and network engineers - Installation and maintenance of all hardware and software (local and remote) - Deployment and debugging of real time proprietary and complex applications - Networking and communication between our various POPs - Researching, evaluating, and recommending new technologies and solutions as required - Security – firewalls, VPN, IPSEC Requirements: - You must be a team player with initiative, and be able to see complex projects through to their completion. - 5+ years experience in system administration (primarily Linux)– supporting a 24x7 production environment - Excellent verbal and written communication skills in English. All internal communication is done in English. - Router and Switch configuration – cisco and juniper - Advantage - Mysql DB administration skills - Advantage - Experience with VoIP – Advantage - Familiarity with Checkpoint / Juniper Firewalls and security concepts *Ronnen Slasky – VP Operations and Product* *XConnect* - Bridging the VoIP Islands T: +972 (0)2 621-8006 F: +972 (0)2 678-8712 M: +972 (0) 52-556-5577 ronnen.sla...@xconnect.net www.xconnect.net Skype: Ronnen.Slasky *XConnect** **announce HD Voice Interconnection trial. Click herehttp://www.xconnect.net/hd-trial for more information.* * * * **The information in this email is confidential and may be privileged. It is solely for the addressee and access by anyone else is unauthorized.* ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[Job Offer] Linux Admin at Ex Libris in Jerusalem
Position at Ex Libris in Jerusalem Oracle DBA a plus See http://www.exlibrisgroup.com/?catid={5353799F-AAF3-46F9-A622-0FCD5112287D} Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
total uptime between shutdowns
Hi Guys, Is there a tool that will show me the total uptime (availability) of a machine between reboots? That is, if the machine was up for 24 hours and then shutdown for an hour and then up for 23 hours I want an answer of 47. I need this for charge-back of departments using cloud computer which they sometimes turn off. Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: total uptime between shutdowns
Thanks for all your tips! I found that the information is basically available in 'last -x'. Below is a rough script I put together to estimate total times rounded to hours: Thanks, -tom #!/bin/bash # # Compute total hours machine has been running, minus time it was turned off. # Based on output from 'last -x' # STOP_F=/tmp/stop START_F=/tmp/start last -x |awk '/shutdown/ {print $5, $6, $7, $8}' |tac $STOP_F last -x |awk '/reboot/ {print $5, $6, $7, $8}' |tac $START_F # Start times (should be 1 more than shutdown times): # get rid of 1st start line since machine is still up sed -i '1d' $START_F # # Read 1 line from each file and compare # (see redirection at end of while loop # while read STOP 8 do read START 7 # compute time machine was stopped start_s=$(date -d $START +%s) stop_s=$(date -d $STOP +%s) ((duration = start_s - stop_s)) ((tot_hours = duration / (60*60) )) echo total hours stopped = $tot_hours ((saved_hours+=tot_hours)) done 7$START_F 8$STOP_F # # Compute total uptime since first boot # # seconds at 1st boot first_s=$( date -d $(last |tail -1 | awk '{$1=; $2= ;print }') +%s) now_s=$(date +%s) ((elapsed_hours= (now_s - first_s) /(60*60) )) echo Total elapsed hours = $elapsed_hours echo Saved hours = $saved_hours echo Total charged hours = $((elapsed_hours - saved_hours)) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Amazon free to new customers!
*If you haven't already tried cloud computing, this is your chance to use free for a year! -tom * *http://aws.amazon.com/free/* *Amazon offers new customers free cloud computing for a year* By Carl Brooks 21 Oct 2010 | SearchCloudComputing.com Apparently deciding that a random Thursday afternoon was simply *not awesome* until it dropped a bombshell, cloud computinghttp://searchcloudcomputing.techtarget.com/sDefinition/0,,sid201_gci1287881,00.htmlleader Amazon said it will now give away a free year of Amazon Web Services (AWS) for new users. Beginning Nov. 1, new AWS customers will be able to run a free Amazon EC2 Micro Instance http://aws.amazon.com/free/ for a year, while also leveraging a new free usage tier for Amazon's Simple Storage Service (S3)http://searchcloudcomputing.techtarget.com/sDefinition/0,,sid201_gci1230589,00.html, Elastic Block Store, Elastic Load Balancing and AWS data transfer, states Amazon Web Services' website. A Micro instancehttp://searchcloudcomputing.techtarget.com/news/article/0,289142,sid201_gci1519899,00.htmlis a about half a CPU core and 613 MB of RAM, enough to comfortably run the family website or chug away at a smallish database application without insane Web-scale traffic. In fact, it's about what a pretty high-end server was capable of 10 years ago; those were enough to get Yahoo and Google going, so no scoffing from the power snobs. There are a few limits: only 10 GB of impermanent Elastic Block Storage, 5 GB of permanent S3, and a maximum of 30 GB of traffic in and out. But, uh, it's *free*. Free, free, free. Why? Who knows. Let's just say that anyone who has guessed what AWS' operating margins are (the difference between what it costs AWS to run an instance and what AWS charges for that instance) should let those guesses go, because apparently the answer is infinity. It costs so little to run AWS instances that they are just going to give them away like a never-ending supply of cheese and cracker samples at Costco. image001.gifimage003.gifimage004.gifimage006.gif___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Amazon EC2 hosting,
Some more updates. As some have pointed out there are different kinds of instances. The cheapest $.02 micro is a special case and does give variable performance as is documented . In our installations we are using much larger instances and their performance has always been steady and this is in fact guarenteed by their SLA. In terms of disk IO, amazon definitely has issues. There it is variable and depends on the load from other users. We mostly get around this by stripping all our DB over 8 virtual disks. Amazon has a private Beta where they are working to address this issue. -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Amazon free to new customers!
On Sun, Oct 24, 2010 at 10:10 AM, geoffrey mendelson geoffreymendel...@gmail.com wrote: On Oct 24, 2010, at 9:51 AM, Tom Rosenfeld wrote: If you haven't already tried cloud computing, this is your chance to use free for a year! -tom Does this have to be a web server? Can one use it for an Asterisk or other SIP relay or a private HTTP or SOCKS proxy? Geoff -- Geoffrey S. Mendelson, N3OWJ/4X1GM To help restaurants, as part of the stimulus package, everyone must order dessert. As part of the socialized health plan, you are forbidden to eat it. :-) No, it does not have to be a web server. Actually, the point of Amazon is that you can install any OS and any software you like! -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Amazon EC2 hosting,
Hi, I just came across this thread from back in Aug about Amazon's cloud. I'd like to add that I have been a satisfied customer of Amazon for over a year, using their services for both consulting at at my current job where we use it to run our SaaS offering. The capabilities keep improving and the prices keep coming down. Their lowest end server is now just 2 cents an hour! There are some issues with the IO, but it is certainly adequate for all but high performance needs. We use 8 way stripped disks and get about 100 MBp/s sequential reads. If anyone wants more details, I'll be happy to share with you. -tom On Thu, Aug 12, 2010 at 9:56 AM, Gadi Cohen dra...@wastelands.net wrote: On 12/08/2010 00:00, Maxim Veksler wrote: Are you familiar with EC2 cc1.4xlarge instance type ? http://aws.amazon.com/ec2/instance-types/ Not really... I did have a look around there a while back, but it just seemed overly complicated. I like paying a flat rate and knowing exactly what I get, especially since it's more than enough power for me for the next little while. Also with 16 cores can I quite easily divide my work into nice little VMs (xen-based), which I believe (but am not sure) that I could migrate to the cloud at a later stage. It says bandwidth is free until November... then what? Or more importantly... assuming you are in fact a proud owner of an xlarge instance, please share your use case and experiences with us :) Gadi -- Gadi Cohen aka Kinslayer dra...@wastelands.net www.wastelands.net Freelance admin/coding/design HABONIM DROR linux/fantasy enthusiast KeyID 0x93F26EF5: 256A 1FC7 AA2B 6A8F 1D9B 6A5A 4403 F34B 93F2 6EF5 / / ___ 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
Amazon AWS users?
Hi Guys, I am looking for a forum of Israeli Amazon AWS users, or possibly to start one. If you have any sources or want join let me know. http://aws.amazon.com/ec2/ Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Client recovery of NFS mount
On Wed, May 12, 2010 at 11:36 PM, Oron Peled o...@actcom.co.il wrote: On Wednesday, 12 בMay 2010 13:55:51 Ehud Karni wrote: On Wed, 12 May 2010 10:28:13 Tom Rosenfeld wrote: Is there a way in RHEL 5 for NFS clients to recover automatically after a server reboot? There is the hard (and intr that can go with it) option for NFS mounts: ... Beside the very valid and good advice Ehud just gave, let me add another one. Move to NFS4 (both server and clients of course). I have done it some 2 years ago and it pays big time in reliability (also performance, but that's less noticable in my (low-volume) case). Thanks guys. I also use hard, intr and it usually works fine, but not always. :-( I have read that NFS4 is better in this respect, but never looked into it. If both my client and server support NFS4 is it just a matter of adding it as mount option? Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Client recovery of NFS mount
Hi Guys, Is there a way in RHEL 5 for NFS clients to recover automatically after a server reboot? Every time my server goes down, even for just a few minutes the clients get stuck with STALE nfshandles and the only way for me to recover is to umount and then mount again. Isn't there some mount option that will allow the clients to retry until the server replies again? Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: can't close logical volume
FYI I know this is no solution, but a reboot cleared it up. -tom On Sun, Apr 18, 2010 at 5:07 PM, Amos Shapira amos.shap...@gmail.comwrote: On 19 April 2010 00:00, Tom Rosenfeld tro...@bezeqint.net wrote: I am not using any loop devices so 'losetup -a' shows no output 'lsof' also has nothing for /dev/vgelg/lvelg since it has never been mounted on this machine. Any other ideas? Something must be keeping this device open (unless there is a bug). Maybe it's open under a different name? (the /dev/VGNAME/LVNAME path is just a convenience symlink to /dev/mapper/..., and you should really look for devices with the same major/minor block device numbers). If worse comes to worst - do the Windows and reboot to single user. --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
can't close logical volume
Hi Guys, I am having troupe with an LVM volume. I umounted a disk and moved it to a new system. There I did pvscan and vgscan --mknodes However I can do no further operations on the volume since LVM thinks it is still open. It did not even create the block devise even though lvdisplay show it exists. I am looking for a way to force the volume closed, but have not had any luck. See the output below. Thanks, -tom # vgchange -an vgelg Can't deactivate volume group vgelg with 1 open logical volume(s) # ls -l /dev/vgelg/lvelg ls: /dev/vgelg/lvelg: No such file or directory # vgdisplay -v vgelg Using volume group(s) on command line Finding volume group vgelg --- Volume group --- VG Name vgelg System ID Formatlvm2 Metadata Areas4 Metadata Sequence No 7 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV4 Act PV4 VG Size 1.17 TB PE Size 4.00 MB Total PE 307196 Alloc PE / Size 281600 / 1.07 TB Free PE / Size 25596 / 99.98 GB VG UUID GPsU3q-4Kv3-oRUk-rgLc-MKcw-eeL9-dA0z6L --- Logical volume --- LV Name/dev/vgelg/lvelg VG Namevgelg LV UUIDfjgl50-jLY1-72NL-VH9z-L1hX-JUo8-fMtJAy LV Write Accessread/write LV Status available # open 1 LV Size1.07 TB Current LE 281600 Segments 1 Allocation inherit Read ahead sectors 32768 Block device 253:4 --- Physical volumes --- PV Name /dev/sdk4 PV UUID zm8X2J-aT8Q-CV9u-YnyE-cghe-oQlH-pefMJv PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk3 PV UUID P7gDOr-Z9d7-tBJz-Jq84-j3nj-c0gL-5I1RRT PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk2 PV UUID eOqwcK-2SJI-xuIT-daBW-sLfZ-Tu18-eTZBgl PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk1 PV UUID nDlr5E-4bCh-sAOh-NjDe-fYn2-73Kd-lnqLxr PV Status allocatable Total PE / Free PE76799 / 6399 # lvdisplay /dev/vgelg/lvelg -v Using logical volume(s) on command line --- Logical volume --- LV Name/dev/vgelg/lvelg VG Namevgelg LV UUIDfjgl50-jLY1-72NL-VH9z-L1hX-JUo8-fMtJAy LV Write Accessread/write LV Status available # open 1 LV Size1.07 TB Current LE 281600 Segments 1 Allocation inherit Read ahead sectors 32768 Block device 253:4 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: can't close logical volume
On Sun, Apr 18, 2010 at 11:24 AM, Noam Meltzer tsn...@gmail.com wrote: You need to deactivate all active LVs before trying to deactivate the VG. lvchange -an /dev/vgelg/lvelg - Noam It won't let me since it thinks its open: # lvchange -an /dev/vgelg/lvelg LV vgelg/lvelg in use: not deactivating 2010/4/18 Tom Rosenfeld tro...@bezeqint.net Hi Guys, I am having troupe with an LVM volume. I umounted a disk and moved it to a new system. There I did pvscan and vgscan --mknodes However I can do no further operations on the volume since LVM thinks it is still open. It did not even create the block devise even though lvdisplay show it exists. I am looking for a way to force the volume closed, but have not had any luck. See the output below. Thanks, -tom # vgchange -an vgelg Can't deactivate volume group vgelg with 1 open logical volume(s) # ls -l /dev/vgelg/lvelg ls: /dev/vgelg/lvelg: No such file or directory # vgdisplay -v vgelg Using volume group(s) on command line Finding volume group vgelg --- Volume group --- VG Name vgelg System ID Formatlvm2 Metadata Areas4 Metadata Sequence No 7 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV4 Act PV4 VG Size 1.17 TB PE Size 4.00 MB Total PE 307196 Alloc PE / Size 281600 / 1.07 TB Free PE / Size 25596 / 99.98 GB VG UUID GPsU3q-4Kv3-oRUk-rgLc-MKcw-eeL9-dA0z6L --- Logical volume --- LV Name/dev/vgelg/lvelg VG Namevgelg LV UUIDfjgl50-jLY1-72NL-VH9z-L1hX-JUo8-fMtJAy LV Write Accessread/write LV Status available # open 1 LV Size1.07 TB Current LE 281600 Segments 1 Allocation inherit Read ahead sectors 32768 Block device 253:4 --- Physical volumes --- PV Name /dev/sdk4 PV UUID zm8X2J-aT8Q-CV9u-YnyE-cghe-oQlH-pefMJv PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk3 PV UUID P7gDOr-Z9d7-tBJz-Jq84-j3nj-c0gL-5I1RRT PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk2 PV UUID eOqwcK-2SJI-xuIT-daBW-sLfZ-Tu18-eTZBgl PV Status allocatable Total PE / Free PE76799 / 6399 PV Name /dev/sdk1 PV UUID nDlr5E-4bCh-sAOh-NjDe-fYn2-73Kd-lnqLxr PV Status allocatable Total PE / Free PE76799 / 6399 # lvdisplay /dev/vgelg/lvelg -v Using logical volume(s) on command line --- Logical volume --- LV Name/dev/vgelg/lvelg VG Namevgelg LV UUIDfjgl50-jLY1-72NL-VH9z-L1hX-JUo8-fMtJAy LV Write Accessread/write LV Status available # open 1 LV Size1.07 TB Current LE 281600 Segments 1 Allocation inherit Read ahead sectors 32768 Block device 253:4 ___ 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: can't close logical volume
On Sun, Apr 18, 2010 at 4:08 PM, Amos Shapira amos.shap...@gmail.comwrote: 2010/4/18 Tom Rosenfeld tro...@bezeqint.net: On Sun, Apr 18, 2010 at 11:24 AM, Noam Meltzer tsn...@gmail.com wrote: You need to deactivate all active LVs before trying to deactivate the VG. lvchange -an /dev/vgelg/lvelg - Noam It won't let me since it thinks its open: # lvchange -an /dev/vgelg/lvelg LV vgelg/lvelg in use: not deactivating Last time I had something like this, as far as I remember, I had to make sure I losetup -d ... the device (I was playing around with Xen DomU's disk images from the Dom0 using losetup, xpartx and vgchange). What does losetup -a shows? Also maybe worth checking output of lsof. Cheers, --Amos I am not using any loop devices so 'losetup -a' shows no output 'lsof' also has nothing for /dev/vgelg/lvelg since it has never been mounted on this machine. Any other ideas? Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: faster rsync of huge directories
On Mon, Apr 12, 2010 at 5:02 PM, Nadav Har'El n...@math.technion.ac.ilwrote: On Mon, Apr 12, 2010, Tom Rosenfeld wrote about Re: faster rsync of huge directories: I realized that in my case I did not really need rsync since it is a local disk to disk copy. I could have used a tar and pipe, but I like cpio: Is this quicker? I can't tell, because it is still running, and will be for a few days, but at least it has started copying instead of just building an index. If it is, then the reason of rsync's extreme slowness which you described was *not* the filesystem speed. It has to be something else. Maybe rsync simply uses tons of memory, and starts thrashing? (but this is just a guess, I didn't look at it code). If this is the case then the copy-while-building- the-list that Shachar described might indeed be a big win. find $FROMDIR -depth -print |cpio -pdma $TODIR By default cpio also will not overwrite files if the source is not newer. I recommend you use the -print0 option to find instead of -print, and add the -0 option to cpio. These are GNU extensions to find and cpu (and a bunch of other commands as well) that uses nulls, instead of newlines, to separate the file names. This allows newline characters in filenames (these aren't common, but nevertheless are legal...). By the way, while cpio -p is indeed a good historic tool, nowadays there is little reason to use it, because GNU's cp make it easier to do almost everything that cpio -p did: The -a option to cp is recursive and copies links, modes, timestamps and so on, and the -u option will only copy if the source is newer than the destination (or the destination is missing). So, cp -au $FROMDIR $TODIR is shorter and easier to remember than find | cpio -p. But please note I didn't test this command, so don't use it on your important data without thinking first! Thanks for the tip Nadav (and everyone else.) While we are on the topic, I use cpio because I am also historic :-) In the past I had to do similar copies on diff versions of *NIX (even before rsync was invented!) and after much testing of issues of hard links, sym links, timestamps, etc I found cpio to be the most portable tool. I guess when I get a chance I will test 'cp -au' Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
faster rsync of huge directories
Hi, I am a great fan of rsync for copying filesystems. However I now have a filesystem which is several hundred gigabytes and apparently has a lot of small files. I have been running rsync all night and it still did not start copying as it is still building the file list. Is there any way to get it to start copying as it goes. Or do any of you have a better tool? Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: faster rsync of huge directories
On Mon, Apr 12, 2010 at 9:41 AM, Tom Rosenfeld tro...@bezeqint.net wrote: Hi, I am a great fan of rsync for copying filesystems. However I now have a filesystem which is several hundred gigabytes and apparently has a lot of small files. I have been running rsync all night and it still did not start copying as it is still building the file list. Is there any way to get it to start copying as it goes. Or do any of you have a better tool? Thanks, -tom Thanks for all the suggestions! I realized that in my case I did not really need rsync since it is a local disk to disk copy. I could have used a tar and pipe, but I like cpio: find $FROMDIR -depth -print |cpio -pdma $TODIR By default cpio also will not overwrite files if the source is not newer. It was also pointed out that ver 3 of rsync now does start to copy before it indexes all the files. Unfortunately, it is not available on CentOS 5. -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: faster rsync of huge directories
On Mon, Apr 12, 2010 at 10:04 AM, Vitaly li...@karasik.org wrote: 2010/4/12 Tom Rosenfeld tro...@bezeqint.net Hi, I am a great fan of rsync for copying filesystems. However I now have a filesystem which is several hundred gigabytes and apparently has a lot of small files. I have been running rsync all night and it still did not start copying as it is still building the file list. Is there any way to get it to start copying as it goes. Or do any of you have a better tool? Are both servers in the same LAN? IMHO, your problem in network band witchbetween source and destination. I have ~4M files, ~800GB - rsync is very fast in the same LAN (1Gb), and slowly for remote destination. Regards, Vitaly I am not even using a lan. It is disk to disk. I have ~16M files ~900GB. rsync has been running about 18 hours and has indexed over 8 million files, but still did not copy even one. Thanks, -tom ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Fwd: Israeli sites that are broken under firefox
I just noticed that Orange seems to have fixed the Bill4u Service. I just check my last bill and after entering the code (on a page that displays fine in Firfox on Linux) it opened a PDF of the original bill. Yeah! -tom On Sun, Jan 18, 2009 at 2:42 PM, Dotan Cohen dotanco...@gmail.com wrote: 2009/1/18 Dov Grobgeld dov.grobg...@gmail.com: Regarding bill4u, they kept asking me if I wanted to get the bill in the email. I said sure, but when an unusable link to their site arrived, I called them up and tried to explain them that I expected to get a pdf file or an html file with the contents of the bill, not a link to their useless site. After trying to explain the difference for a while, I gave up and requested that they keep sending me the bill in paper format... I had the same experience. In fact, the HTML mail pointing to the Orange website had the Hebrew displayed backwards! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü -- -tom 054-688-1417 -- -tom 054-688-1417 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Sound not working in flash (e.g. youtube)
Hi guys, I found the solution! I had given up on this a while ago and was now installing fedora 9 on my laptop and came across this same flash problem where the sound would not work. After trying a few more things I found this very simple solution (at least for Fedora). You just need to install libflashsupport. e.g. # yum install libflashsupport -- -tom 054-688-1417 On Mon, Feb 18, 2008 at 4:31 PM, Tom Rosenfeld [EMAIL PROTECTED] wrote: I am having trouble with sound not working in flash. E.g. Youtube videos play video fine but there is no sound. Web searches show others are having the same trouble, usually with older versions of the plugin, but I have not seen any real solutions. Reading the web leads me to conclude that maybe I need to change some ALSA setting, but I have no idea where to start. Sound seems to work fine in other applications (e.g. vlc, mplayer)). Here is my config: CentOS 4 64 bit Firefox 2, 32 bit Flash plugin 9,0,115,0 Any suggestions? Thanks, -tom
Re: Centralized Linux Authentication With CentOS
What ldap access tools do you recommend? I have been using ldap-account-manager and webmin with mixed results. I also wrote a script that uses the standard useradd(1) to add users and then send them to the ldap server if anyone is interested. Here are some links to useful ldap howtos anddocs: http://www.howtoforge.com/linux_openldap_setup_server_client CentOS full doc at: http://www.centos.org/docs/4/4.5/Reference_Guide/s1-ldap-quickstart.html and http://www.redhat.com/mirrors/LDP/HOWTO/LDAP-HOWTO/ -tom
Re: Sound not working in flash (e.g. youtube)
On Mon, Feb 25, 2008 at 11:09 AM, Constantine Shulyupin [EMAIL PROTECTED] wrote: what happend when you run ll /dev/dsp echo 1 2 3 /dev/dsp ? # ll /dev/dsp crw--- 1 tom_rosenfeld root 14, 3 Feb 10 08:43 /dev/dsp The permissions look fine and the echo produces a click. Again, all my other sound apps work fine except for youtube! Thanks, -tom On Mon, Feb 25, 2008 at 10:00 AM, Tom Rosenfeld [EMAIL PROTECTED] wrote: Thanks for the tip, however this does not seem to help. But I have a few questions. - I do not have an 'alsa reload' Did you mean 'alsactl restore'? - How do you recommend I tweak gnome-sound-properties? I currentlky have the default which does NOT enable sound server startup. At any rate these instructions just seem to re-init sound, but my flash sound problems happens even right after a reboot. Thanks, -tom On Thu, Feb 21, 2008 at 8:02 PM, Constantine Shulyupin [EMAIL PROTECTED] wrote: I have two another suggestions (run from root): 1. kill `lsof -t /dev/dsp` `lsof -t /dev/snd/* ` alsa reload test with: echo 1 2 3 4 5 6 7 /dev/dsp 2. tweak gnome-sound-properties On Thu, Feb 21, 2008 at 6:24 PM, Tom Rosenfeld [EMAIL PROTECTED] wrote: I tried Noam's suggestion below but it did not help. I did not have an /etc/firefox/firefoxrc file, so I created it as described below. I restarted firefox, but flash still di not work. /dev/dsp was fine. Again sound works fine in all my other media apps. Any more suggestions? Thanks, -tom On Mon, Feb 18, 2008 at 3:53 PM, Noam Rathaus [EMAIL PROTECTED] wrote: Hi, I seen this behavior which is caused by ALSA configuration not being used by the flash player, make sure: 1) In /etc/firefox/firefoxrc FIREFOX_DSP=aoss 2) /dev/dsp is there if not cd /dev sudo ./MAKEDEV audio These two solved it for me. On Monday 18 February 2008 15:31:13 Tom Rosenfeld wrote: I am having trouble with sound not working in flash. E.g. Youtube videos play video fine but there is no sound. Web searches show others are having the same trouble, usually with older versions of the plugin, but I have not seen any real solutions. Reading the web leads me to conclude that maybe I need to change some ALSA setting, but I have no idea where to start. Sound seems to work fine in other applications (e.g. vlc, mplayer)). Here is my config: CentOS 4 64 bit Firefox 2, 32 bit Flash plugin 9,0,115,0 Any suggestions? Thanks, -tom 054-244-8025 -- Noam Rathaus CTO [EMAIL PROTECTED] http://www.beyondsecurity.com Know that you are safe. Beyond Security Finalist for the Red Herring 100 Global Awards 2007 -- -tom 054-244-8025 -- Constantine Shulyupin Freelance Embedded Linux Engineer 054-4234440 http://www.linuxdriver.co.il/ -- -tom 054-244-8025 -- Constantine Shulyupin Freelance Embedded Linux Engineer 054-4234440 http://www.linuxdriver.co.il/ -- -tom 054-244-8025
Re: Sound not working in flash (e.g. youtube)
I tried Noam's suggestion below but it did not help. I did not have an /etc/firefox/firefoxrc file, so I created it as described below. I restarted firefox, but flash still di not work. /dev/dsp was fine. Again sound works fine in all my other media apps. Any more suggestions? Thanks, -tom On Mon, Feb 18, 2008 at 3:53 PM, Noam Rathaus [EMAIL PROTECTED] wrote: Hi, I seen this behavior which is caused by ALSA configuration not being used by the flash player, make sure: 1) In /etc/firefox/firefoxrc FIREFOX_DSP=aoss 2) /dev/dsp is there if not cd /dev sudo ./MAKEDEV audio These two solved it for me. On Monday 18 February 2008 15:31:13 Tom Rosenfeld wrote: I am having trouble with sound not working in flash. E.g. Youtube videos play video fine but there is no sound. Web searches show others are having the same trouble, usually with older versions of the plugin, but I have not seen any real solutions. Reading the web leads me to conclude that maybe I need to change some ALSA setting, but I have no idea where to start. Sound seems to work fine in other applications (e.g. vlc, mplayer)). Here is my config: CentOS 4 64 bit Firefox 2, 32 bit Flash plugin 9,0,115,0 Any suggestions? Thanks, -tom 054-244-8025 -- Noam Rathaus CTO [EMAIL PROTECTED] http://www.beyondsecurity.com Know that you are safe. Beyond Security Finalist for the Red Herring 100 Global Awards 2007 -- -tom 054-244-8025
Re: gparted and cloning of LVM partition
On Feb 13, 2008 9:59 PM, Tom Rosenfeld [EMAIL PROTECTED] wrote: Hi, A while ago I got advice from this list to use the gparted on a livecd to clone my disk. I finally got around to trying it and have run into some trouble. I installed Centos 4.5 64-bit on a workstation taking most of the defaults for the partitions which ended up making a small boot partition and the rest of the disk on / using LVM. I am trying to copy the entire (SATA) disk to the 2nd disk using gparted on the live CD. The cd boots ok and sees the 2 disks and the partitions on the 1st, but it does not recognize the LVM partition and thus can't copy it. Do I need to do something to the LVM partition to let parted recognize it? -tom FYI: I got around the problem by using Clonezilla (also recommended on this list). Actually I used a live cd with both Gparted Clonezilla from http://gpartedclonz.tuxfamily.org/index.php I copied the entire disk to an image file over NFS to create my golden image. I then did a 'restore' on a new PC and it workd like a charm. -tom 054-244-8025
Sound not working in flash (e.g. youtube)
I am having trouble with sound not working in flash. E.g. Youtube videos play video fine but there is no sound. Web searches show others are having the same trouble, usually with older versions of the plugin, but I have not seen any real solutions. Reading the web leads me to conclude that maybe I need to change some ALSA setting, but I have no idea where to start. Sound seems to work fine in other applications (e.g. vlc, mplayer)). Here is my config: CentOS 4 64 bit Firefox 2, 32 bit Flash plugin 9,0,115,0 Any suggestions? Thanks, -tom 054-244-8025
gparted and cloning of LVM partition
Hi, A while ago I got advice from this list to use the gparted on a livecd to clone my disk. I finally got around to trying it and have run into some trouble. I installed Centos 4.5 64-bit on a workstation taking most of the defaults for the partitions which ended up making a small boot partition and the rest of the disk on / using LVM. I am trying to copy the entire (SATA) disk to the 2nd disk using gparted on the live CD. The cd boots ok and sees the 2 disks and the partitions on the 1st, but it does not recognize the LVM partition and thus can't copy it. Do I need to do something to the LVM partition to let parted recognize it? Thanks, -tom 054-244-8025
evolution28
Anyone have any experience upgrading evolution 2.0.2 on CentOS / RHEL 4 to evolution2.8? There is a nice yum package in the standard repositories that I installed with: yum -y install evolution28 yum -y install evolution28-evolution-connector I then try to run /usr/evolution28/bin/evolution-2.8 but it crashes immediately Any suggestions? Thanks, -tom 054-244-8025
Linux freelanacer need
HI, Our company in Jerusalem (Malcha) is looking for a consultant who can give us a few days here and there to help with ongoing Linux configurations and troubleshooting. Skills required: -familiarity with CentOS 4.5 64 bit - a must -desktop graphics and video tools, configuration troubleshooting. -desktop sound configuration -xorg.conf configuration for multiple monitors and pad input devices -disk image deployment If you have the skills and are available please forward me your information. -tom
Re: AD Integration/Replacement?
2008/2/3 Ira Abramov [EMAIL PROTECTED]: A(nother) client of mine is fighting the old fight of central directory management. Hi Ira, Let us know what you did. I have a similar situation and am looking for a proven setup -- -tom 054-244-8025
Re: Yum - installing 32 bit binaries on 64 bit CentOS
On Jan 29, 2008 5:36 PM, Oded Arbel [EMAIL PROTECTED] wrote: ... For other 32 bit software, CentOS does not package all 32 bit packages for x86_64 - only the really important stuff (do they offer mplayerplug-in in their 32bit repositories ? I'm not sure), but you can always add another repository that points directly to the 32 bit release: Go to /etc/yum.repos.d locate the CentOS repository file (probably called centos.repo or something) copy it to another file, let's call it centos-i386.repo open the new file for editing and replace every instance of $arch with i386. save and enjoy. Hi Oded, I can manually add another repo, but then how can I easily manage my searches? if I currently have several repos I will have to add a 2nd i386 repo for each one. In most cases I will want only the 64 bit versions, but sometimes the 32 bit versions. Is there then a simply way in Yum to manage this on the command line? Thanks, -tom
Re: Yum - installing 32 bit binaries on 64 bit CentOS
On Feb 3, 2008 9:16 AM, Valery Reznic [EMAIL PROTECTED] wrote: --- Tom Rosenfeld [EMAIL PROTECTED] wrote: Thanks Oded. That sounds like it should work. I was just hoping there was some way to override $arch on the command line. Actually I now vaguely recall some command that temporaroly changes the architecture in your environment. has anyone else heard of it? setarch ? Valery. Thanks Valery, yes 'setarch' is what I was looking for, unfortunatley it does not seem to have any effect on yum's idea of arch. I tried: setarch i386 yum install mplayerplug-in.i386 and I still get nothing. I also check the debug output and it stiil replaces $arch with x86_64. Thanks, -tom
Re: Yum - installing 32 bit binaries on 64 bit CentOS
Thanks Oded. That sounds like it should work. I was just hoping there was some way to override $arch on the command line. Actually I now vaguely recall some command that temporaroly changes the architecture in your environment. has anyone else heard of it? About nspluginwrapper. It is available in CentOS4 and I tried it. It basically works, but not for all plugins. Also it has a bug which sometimes has it stay in memory after you exit and consume 100% of the CPU. It seems like 32 bit firfox is just a cleaner solution since here. Thanks, -tom On Jan 29, 2008 5:36 PM, Oded Arbel [EMAIL PROTECTED] wrote: Specifically for Firefox 32bit plugins, another option is to install nspluginwrapper (http://gwenole.beauchesne.info/projects/nspluginwrapper/ ) that allows running 32 bit plugins under Firefox 64 bit. Its probably not available for CentOS4 (I haven't even bothered to check), but there is a source RPM from the site above that you can use. For other 32 bit software, CentOS does not package all 32 bit packages for x86_64 - only the really important stuff (do they offer mplayerplug-in in their 32bit repositories ? I'm not sure), but you can always add another repository that points directly to the 32 bit release: Go to /etc/yum.repos.d locate the CentOS repository file (probably called centos.repo or something) copy it to another file, let's call it centos-i386.repo open the new file for editing and replace every instance of $arch with i386. save and enjoy. On Tue, 2008-01-29 at 12:00 +0200, Tom Rosenfeld wrote: You guys have been so helpful, here is another yummy question. :-) I am running CentOS 4 64 bit, but sometimes i need to install 32 bit binaries. For example firefox, so that plugins work. Sometimes when I append .386 in my yum install commands it works and finds the 32 bit version. However, often it does not. For example: yum install mplayerplug-in.i386 replies No Match for argument: mplayerplug-in.i386 However we all know that mplayerplug-in.i386 does exist, but only in 32 bit repositories. Yum replaces $arch with x86_64 even when I explicitly ask for .i386. Any suggestions on how to get around this? Thanks, -- -tom 054-244-8025 -- Oded -- -tom 054-244-8025
Re: Recommended filesystem for 6TB storage
I hear ZFS is available on Linux. Anyone has any experience with it there? -tom On Jan 22, 2008 3:28 PM, Jacob Broido [EMAIL PROTECTED] wrote: I agree with Hetz, it really depends on the use scenario of the FS. On a side note, if its a viable platform(solaris), I'd consider seriously ZFS. ZFS IMHO is one of the best FS's today. I can say from a personal experience that ZFS works well with large volumes(10TB+) (both size wise and inode count wise). On Jan 22, 2008 3:05 PM, Hetz Ben Hamo [EMAIL PROTECTED] wrote: Hi Oren, As far as I know, all the popular file-systems do support the sizes EXT3 supports. However, it really depends what are you going to store in your storage. if it's tiny files (few K's each file), and many other parameters do need to be considered before deciding what FS to use. Also, make sure your tools support the FS you choose. Good luck, Hetz On Jan 22, 2008 2:49 PM, Oren Held [EMAIL PROTECTED] wrote: Hi, As far as I understand, ext3 on RHEL5 should support a single filesystem of 8TB or 16TB.. ( http://www.centos.org/product.html) Still, I wonder if it's smart to create a 6TB ext3 file system. In theory, filesystem size won't affect stability or performance (except for fsck speed I guess). But in practice? Anybody got experience with it? I like ext3 for its stability, nativity and popularity; do you think that I should still use something else for such huge disks? Thanks! - Oren = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Skepticism is the lazy person's default position. my blog (hebrew): http://benhamo.org = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Not gonna be king of the world if you're slave to the grind - Skid Row -- -tom 054-244-8025
Yum - installing 32 bit binaries on 64 bit CentOS
You guys have been so helpful, here is another yummy question. :-) I am running CentOS 4 64 bit, but sometimes i need to install 32 bit binaries. For example firefox, so that plugins work. Sometimes when I append .386 in my yum install commands it works and finds the 32 bit version. However, often it does not. For example: yum install mplayerplug-in.i386 replies No Match for argument: mplayerplug-in.i386 However we all know that mplayerplug-in.i386 does exist, but only in 32 bit repositories. Yum replaces $arch with x86_64 even when I explicitly ask for i386. Any suggestions on how to get around this? Thanks, -- -tom 054-244-8025
Re: Finding porn links in hacked web pages
Hi Geoff, Any of these comparison suggestions are fine, but they miss the point. If the site is hacked, the hacker can come back every day, or hour and reinstall his links. You can be sure he already has an automated process. You need to find the source of the break in and then plug it. After that a comparison script will be useful to alert you to new problems. -tom On Jan 28, 2008 10:32 AM, Nadav Har'El [EMAIL PROTECTED] wrote: On Mon, Jan 28, 2008, Geoffrey S. Mendelson wrote about Finding porn links in hacked web pages: He is not technicaly inclined at all, and does not have the ability to check his pages without going to each one in a browser and looking at the page source. He has thousands of pages and runs the site as a Jewish news site, with no income. I was thinking that I could write a program that scans each of his web pages using wget or lynx to download them, but don't want to start writing code if it has been already done. If this guy is the only one changing his content, what I would do is run a trivial script on a remote machine: every day (or whatever) fetch the entire content of the site (with wget) compare (with cmp) the new content to the previous content, and finally email or SMS this guy the number of modified files. If he knows that he modified one page, and got a mail saying one page changed, he's safe. If he changed nothing and got a message that 100 pages changed, he knows he has a big problem. I don't think that scanning for porn links will work; How will you know that these are porn links? And what will happen the next time his site is cracked, and the cracker won't add porn links, but do something else? During the doc.com boom, I remember an Israeli startup whose business was exactly this - noticing that a site has been defaced using remote servers which constantly try to download pages from the site and notice if something has changed. Unfortunately, I can't recall now the company's name. -- Nadav Har'El| Monday, Jan 28 2008, 21 Shevat 5768 [EMAIL PROTECTED] |- Phone +972-523-790466, ICQ 13349191 |A messy desk is a sign of a messy mind. http://nadav.harel.org.il |An empty desk is a sign of an empty mind. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -tom 054-244-8025
Yum cache for a cluster of clients
Hi Guys, I assume there is a simple answer to this. How do I get all of my linux workstation (all running the same version of CentOS 4) to use the same yum cache? Thanks, -tom 054-244-8025
Re: Yum cache for a cluster of clients
Hi Ehud, This sounds great and simple! Can I use this to combine the existing cache from several machines, or will it only work if I do it from scratch? Thanks, -tom On Jan 28, 2008 5:43 PM, Ehud Karni [EMAIL PROTECTED] wrote: On Mon, 28 Jan 2008 13:00:06 Tom Rosenfeld wrote: Hi Guys, I assume there is a simple answer to this. How do I get all of my linux workstation (all running the same version of CentOS 4) to use the same yum cache? Hetz gave you the better, school solution. I have a simpler solution that does not require you to build a yum server. What I do: 1. In /etc/yum.conf change the keepcache option to: keepcache=1 2. Make the cache common to all machine (on an NFS disk) You can do it by changing the cachedir line in /etc/yum.conf to point to the NFS directory, or you can symlink /var/cache/yum to the NFS directory (I prefer this way, as this is the standard place for the cached files). Now, you can run the update on each machine whenever it is convenient the headers and RPMs will be loaded only once. One drawback (?) is the filling of the cache with old packages, You'll have to clear it yourself. Ehud. -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry -- -tom 054-244-8025
Re: Yum cache for a cluster of clients
I am using Centos 4 and keepcache does not seem to exist yet. It looks like it always keeps the cache. On Jan 28, 2008 7:36 PM, Ehud Karni [EMAIL PROTECTED] wrote: On Mon, 28 Jan 2008 19:12:34 Tom Rosenfeld wrote: Hi Ehud, This sounds great and simple! Can I use this to combine the existing cache from several machines, or will it only work if I do it from scratch? Yes, you can. Just copy all the sub directories from /var/cache/yum to a common directory (this will merge all your kept headers and RPMs). After that symlink this directory to /var/cache/yum on each computer. I doubt that you have much headers and RPMs saved (unless you changed your keepcache to 1 long ago). Ehud -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry -- -tom 054-244-8025
Re: copy boot image
On Jan 6, 2008 9:26 PM, Tom Rosenfeld [EMAIL PROTECTED] wrote: On Jan 6, 2008 5:54 PM, Ofek Doron [Ofek BIZ] [EMAIL PROTECTED] wrote: Tom Rosenfeld wrote: What is the recommended method to distributing linux images? There is no recommended method ... maybe partimage (http://www.partimage.org/Main_Page) will be sufficient for you. - doron If I have a workstation with a tuned installation and I want to replicate it to other workstation. The old fashion way is to open the box and physically copy the disk with ghost. How can I do this without a screwdriver? Thanks, -tom Thanks for all your inputs. I think partimage and SystemRescueCd http://www.sysresccd.org are what I was looking for. I will test it out and let y'all know. -tom I also got the following recommendation: use CLONEZILLA, a CD-based live distro exactly for this purpose. I prefer the clonezilla + gparted livecd, which has more options - a mix of partitionmagic + ghost. http://gpartedclonz.tuxfamily.org/index.php http://clonezilla.sourceforge.net/ The clonezilla website says it works well with DRBL http://drbl.sourceforge.net/ for parallel centralized cloning. A quick look at their website, and it looks pretty good. I'd be interested to hear if any of you guys have had any experience with it? Thanks, -tom
copy boot image
What is the recommended method to distributing linux images? If I have a workstation with a tuned installation and I want to replicate it to other workstation. The old fashion way is to open the box and physically copy the disk with ghost. How can I do this without a screwdriver? Thanks, -tom
Re: copy boot image
On Jan 6, 2008 5:54 PM, Ofek Doron [Ofek BIZ] [EMAIL PROTECTED] wrote: Tom Rosenfeld wrote: What is the recommended method to distributing linux images? There is no recommended method ... maybe partimage (http://www.partimage.org/Main_Page) will be sufficient for you. - doron If I have a workstation with a tuned installation and I want to replicate it to other workstation. The old fashion way is to open the box and physically copy the disk with ghost. How can I do this without a screwdriver? Thanks, -tom Thanks for all your inputs. I think partimage and SystemRescueCd http://www.sysresccd.org are what I was looking for. I will test it out and let y'all know. -tom
Re: running 64 bit linux on the desktop
Hi Gilboa, I am not sure what you are saying different that what I suggested. See more inline below... On Dec 25, 2007 8:10 PM, Gilboa Davara [EMAIL PROTECTED] wrote: On Mon, 2007-12-24 at 22:07 +0200, Tom Rosenfeld wrote: Hi, I recently started working at a new firm that is using CentOS 4.5 64 bit on the desktop. We were having trouble with some standard programs and we just realized that they are related to the 64 vs. 32 bit issues. For example the flash plugin to firefox installed fine, but would not work. CentOS (Like RHEL and Fedora) is dual-arch - it installs both the 32bit and 64bit versions of most applications. I am using CentOS 4.5. As far as I see almost every app is 64 bits. There are 64 bit libs installed in /usr/lib64 vs. the 32 bit ones in /usr/lib. You'll need to start the -32bit- version of firefox. In-order to do it, you'll have to install the firefox-32 package (yum install firefox-32) and start the 32bit firefox by using the firefox-32 binary. My yum does not find any package called firefox-32. I had to install it manually with the tar from the firefox site. What repository can I find it in that supports Centos/RHEL? The best workaround I have found is to install the 32 bit firefox instead and then all the plugins work fine. Yikes. Don't. How is this different from your suggestion to install the 32 bit version via yum? Is anyone out there having the same troubles? Any suggestions? You may have to use the 32bit versions of xine/mplayer to view certain Windows-only-encoders, but other then that, nope. Thanks, -tom - Gilboa = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -tom 054-244-8025
Re: Find process id of background ssh?
I have not tested this extensively, but you could try: pgrep ssh |tail -1 This will give you the PID of that last ssh process -tom On Dec 26, 2007 2:55 PM, Oded Arbel [EMAIL PROTECTED] wrote: Hi List. I'm writing a script to automate some system maintenance tasks, and I want to connect over SSH to several remote computers and do stuff on them. I'm using ssh -f to background ssh so I can run the same operation on multiple machines in parallel, otherwise it will be too slow - the maintenance job may take up to a few minutes to run and the script is not supposed to be fully automatic: a human is to monitor the process. But I don't want just to fire and forget the SSH processes - I want to exit from the script only when all the SSH processes have completed. I can do that by monitoring the process ids of the background SSH processes, if I could know them - which I'm having a difficult time detecting. I'm writing in bash, and optimally it would be something like this: for server in 1 2 ...; do ssh -f [EMAIL PROTECTED] 'run maintenance task' pids=$pids $(getSSHpid) done while kill -0 $pids 2/dev/null; do echo Waiting..; sleep 1; done but I didn't manage to find a way to get the process id of the ssh process after it goes to background, other the 'ps'ing for it. How can I go about doing this? -- Oded = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -tom 054-244-8025
Re: Find process id of background ssh?
I have not tested this extensively but you could try: On Dec 26, 2007 2:55 PM, Oded Arbel [EMAIL PROTECTED] wrote: Hi List. I'm writing a script to automate some system maintenance tasks, and I want to connect over SSH to several remote computers and do stuff on them. I'm using ssh -f to background ssh so I can run the same operation on multiple machines in parallel, otherwise it will be too slow - the maintenance job may take up to a few minutes to run and the script is not supposed to be fully automatic: a human is to monitor the process. But I don't want just to fire and forget the SSH processes - I want to exit from the script only when all the SSH processes have completed. I can do that by monitoring the process ids of the background SSH processes, if I could know them - which I'm having a difficult time detecting. I'm writing in bash, and optimally it would be something like this: for server in 1 2 ...; do ssh -f [EMAIL PROTECTED] 'run maintenance task' pids=$pids $(getSSHpid) done while kill -0 $pids 2/dev/null; do echo Waiting..; sleep 1; done but I didn't manage to find a way to get the process id of the ssh process after it goes to background, other the 'ps'ing for it. How can I go about doing this? -- Oded = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -tom 054-244-8025
Re: Interrups statistic - sar vs. mstat
I have seen the same with all the *stat commands (iostat, vmstat, etc). You should ignore the output for the 1st interval. -tom On Dec 26, 2007 12:32 PM, Imri Zvik [EMAIL PROTECTED] wrote: I'm guessing that without an interval (or if with interval - the first output), it is an average since boot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vitaly Sent: Wednesday, December 26, 2007 11:29 AM To: linux-il@cs.huji.ac.il Subject: Re: Interrups statistic - sar vs. mstat On Dec 26, 2007 10:04 AM, Vitaly Karasik [EMAIL PROTECTED] wrote: Probaly it is trivial, but I don't understand why I see different statistics regarding interrups into mstat and sar output. There is 15997 against 92 !!! Can someone explain it? [root]# sar -I SUM |head Linux 2.4.21-47.ELsmp 12/25/2007 12:00:01 AM INTR intr/s 12:10:01 AM sum 15997.32 [ root]# mpstat Linux 2.4.21-47.ELsmp 12/25/2007 11:14:07 AM CPU %user %nice %system %iowait %irq %soft %idle intr/s 11:14:07 AM all 2.40 0.00 7.41 0.05 1.97 10.78 77.39 92.36 The answer was simple - mpstat provides wrong interup statistics when called without interval parameter. I mean, mpstat 1 is OK, but mpstat will tell you wrong numbers. I don't understand yet, if this a feature or a bug. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -tom 054-244-8025
Re: running 64 bit linux on the desktop
Yes I found the same plugin wrapper. It helps but does not seem to work all the time. I was having another problem with several 32 bit programs like ooffice (with the default install) and acroread. When I tried to run as a user authenticated thru LDAP (or NIS) I would get: GLib-WARNING **: getpwuid_r(): failed due to unknown user id After a bit of searching I suspected the problem was that the libnss_ldap.so lib was 64 bits and thus not accessible to these 32 bit programs. I then installed the 32 bit versions via: # yum install nss_ldap.i386 So far it seems to have fixed the problem. Thanks, -tom On Dec 25, 2007 8:24 AM, Dan Kenigsberg [EMAIL PROTECTED] wrote: On Mon, Dec 24, 2007 at 10:07:39PM +0200, Tom Rosenfeld wrote: Hi, I recently started working at a new firm that is using CentOS 4.5 64 bit on the desktop. We were having trouble with some standard programs and we just realized that they are related to the 64 vs. 32 bit issues. For example the flash plugin to firefox installed fine, but would not work. The best workaround I have found is to install the 32 bit firefox instead and then all the plugins work fine. In order to use 32 bit plugins on a 64 bit firefox you may try http://gwenole.beauchesne.info/en/projects/nspluginwrapper . Works for me. -- Dan Kenigsberg http://www.cs.technion.ac.il/~dankenhttp://www.cs.technion.ac.il/%7Edanken ICQ 162180901 -- -tom 054-244-8025
running 64 bit linux on the desktop
Hi, I recently started working at a new firm that is using CentOS 4.5 64 bit on the desktop. We were having trouble with some standard programs and we just realized that they are related to the 64 vs. 32 bit issues. For example the flash plugin to firefox installed fine, but would not work. The best workaround I have found is to install the 32 bit firefox instead and then all the plugins work fine. We are also having trouble running some other apps like open office. Running as a local user works fine, but running as a user from found in the LDAP dir causes a startup error about permissions. Is anyone out there having the same troubles? Any suggestions? Thanks, -tom
Re: print a formatted directory tree
I think you are looking for pstree(1) -tom Noam Meltzer wrote: Hi, I remember I once encounted a utility which can print a formatted output of the directory tree. But can't find it now. What I would like to achieve is something like: + / | - root/ | - usr/ etc. Also, if it can also print filenames with in the directories it would be great. Does any1 here know where can I find such a utility? 10x, Noam = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
printing variable width text with a2ps
How can I print regular (English) text on a PostScript printer in a variable font instead of fixed width. I though 'a2ps' should do it, but the defaults do not. Thanks -- Tom Rosenfeld System Manager Fritz Haber Research Center Hebrew University Phone: (972) 2 658-5270 Fax:(972) 2 651-3742 E-mail: [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
DHCP problem
Hi guys! I am having a DHCP problem. I have a dozen RedHat 9 workstations that are booting via a fixed address DHCP server. The dhcpd.conf file has an entry like the following for each host: host bob { option host-name bob.fh.huji.ac.il; hardware ethernet 00:0d:9d:d9:25:00; fixed-address 132.64.0.89; } Everything works fine, but when we have an extended network outage, these client seem to hang. Once the network returns, the clients no longer can see the network. Even if I wait a few days for them to recover! My other non-dhcp clients of course recover fine once the network returns. I assume this is related to their DHCP leases expiring. Any suggestions? Thanks, -tom -- Tom Rosenfeld System Manager Fritz Haber Research Center Hebrew University Phone: (972) 2 658-5270 Fax:(972) 2 651-3742 E-mail: [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]