Re: A disturbing article...
Guy Cohen wrote: Thats a good example. I'm starting to learn auto mechanics tomorrow. It will take me a while to learn, but next time my car brakes, I won't have to spend all that money at the shop. There is a point of diminishing return when trying to study _everything_ , while it may be good to study all the time, the phrase jack of all trades, master of none does have a point. IMHO some sort of annealing-like approach is best. -- -- regards +--- + Guy Baruch , Plasma Laboratory, Weizmann Institue. + mailto:[EMAIL PROTECTED] + phone: 972-8-934-2211 +--- They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. -- English folk poem, circa 1764 http://bostonreview.mit.edu/BR27.3/bollier.html = 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]
Kernel compile problem
Hi all, I am having a problem when I re-compile my kernel (in Gentoo 1.2). When I run make menuconfig, I can see that Keyboard Support is enabled in Input Core Support, but after I do make dep clean bzImage modules modules_install and copy bzImage to /boot, when I reboot, the kernel doesn't see my keyboard. I can't do dmesg, because I can't type anything, but I noticed during bootup that a message appears saying something like AT keyboard not present(ed). Does anyone have any idea what I am doing wrong? Is there some other option I need to enable (or disable) so that my keyboard is recognized? TIA, Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 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]
RE: A disturbing article...
I don't think you understood my about my ADSL problem (BTW) I tried installing it and I still can't get it to work. I have read the how-to BEZEQ_ADSL_LINUX document but can't get the stupid thing to work! = 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]
RE: Kernel compile problem
My keyboard has a standard PS/2 connector. Kernel version 2.4.19r5 (Gentoo sources). Unfortunately, I can't send my .config right now, only when I get home... Thanks, Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 -Original Message- From: Eran Mann [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 9:46 AM To: Martin Polley Subject: Re: Kernel compile problem Do you have an AT keyboard or some other keyboard (USB for instance)? Could you specify your kernel version and your .config? Martin Polley wrote: Hi all, I am having a problem when I re-compile my kernel (in Gentoo 1.2). When I run make menuconfig, I can see that Keyboard Support is enabled in Input Core Support, but after I do make dep clean bzImage modules modules_install and copy bzImage to /boot, when I reboot, the kernel doesn't see my keyboard. I can't do dmesg, because I can't type anything, but I noticed during bootup that a message appears saying something like AT keyboard not present(ed). Does anyone have any idea what I am doing wrong? Is there some other option I need to enable (or disable) so that my keyboard is recognized? TIA, Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 === 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] -- Eran Mann Senior Software Engineer MRV International Tel: 972-4-9936297 Fax: 972-4-9890430 www.mrv.com 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]
RE: A disturbing article...
On Mon, 14 Oct 2002, Eytan Heidingsfeld wrote: I don't think you understood my about my ADSL problem (BTW) I tried installing it and I still can't get it to work. I have read the how-to BEZEQ_ADSL_LINUX document but can't get the stupid thing to work! my memory fails me here - did you write about this before to the list and asked for some help? with the relevant details that could allow people to help you (relevant error messages, relevant logs from pppd's debug mode, exact system setup? pinging the adsl modem works?) btw, this is not a reply to your letter per ce - i'm not saying that refering to a mailing list for assitance should be the normal route to getting ADSL working - just saying that it _can_ be a route to go, and if you wish to solve the problem, and haven't mailed the list before with these details - you might want to do that. -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = 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]
typing Vs. car mecahnics (was: Re: A disturbing article...)
On Mon, 14 Oct 2002, Guy Cohen wrote: On Sun, Oct 13, 2002 at 09:44:48PM +0200, Oron Peled wrote: So they didn't waste a month or so fighting their keyboards. But the poor guys still use their keyboards *for years* at a fraction of the speed I regularly type. Thats a good example. I'm starting to learn auto mechanics tomorrow. It will take me a while to learn, but next time my car brakes, I won't have to spend all that money at the shop. not quite the same kind of analogy. if someone never uses a computer, and lets some typist do all the 'heavy' typing for them - then your analogy has something to it. but there are those people who simply have to type various documents from time to time, spend quite a while on that, and don't figure they could either pay a typist to type for them, or learn how to type faster. i've seen some programmers with this typing slowness - you would agree they'd want to learn how to type faster, right? btw, i did see people who type with 2 fingers in high speed - 10 fingers is not the only way to type fast. its all in the 'long' brain. -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = 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]
RE: Kernel compile problem
Thanks! I'll try it this evening. If your suggestion doesn't work, I'll post my .config file and/or boot log. I should be able to get at the boot log by booting into my other Linux installation (which lives on a different partition) and mounting my Gentoo partition (instead of booting my old, working Gentoo kernel). BTW, what is the boot log file called? I know how to view it with dmesg, but that doesn't help me here... Thanks, Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 -Original Message- From: Eran Mann [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 12:18 PM To: Martin Polley Cc: [EMAIL PROTECTED] Subject: Re: Kernel compile problem AFAIK you don't need Input Core Keyboard support for PS/2 keyboard in 2.4.x, CONFIG_VT=y and CONFIG_VT_CONSOLE=y should suffice. Of course seeing your full .config and the boot log of the failing kernel could be helpfull in finding the problem... Martin Polley wrote: My keyboard has a standard PS/2 connector. Kernel version 2.4.19r5 (Gentoo sources). Unfortunately, I can't send my .config right now, only when I get home... Thanks, Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 -- Eran Mann Senior Software Engineer MRV International Tel: 972-4-9936297 Fax: 972-4-9890430 www.mrv.com 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]
Re: Webmasters
On Sun, 13 Oct 2002, Ely Levy wrote: Who can I talk to on things related to iglu web/server? I tried linux-il-web but got no answer.. iglu-web -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir = 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]
System Backups
Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? Erez __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com = 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]
Re: System Backups
the mindi/mondo backup program should do the trick for you.. http://www.microwerks.net/~hugo/ Thanks, Hetz On Monday 14 October 2002 12:37, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? Erez __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com = 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]
Re: System Backups
On 10/14/2002 12:37 PM, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? If you really want to backup the whole setup and not only the data, you might want to consider using HDD as backup media. Simply add new HDD to the system and use 'dd' to make exact backup. Then if one HDD will fail, just replace it with the backup HDD. Sagi = 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]
Re: System Backups
On Monday 14 October 2002 12:37 pm, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? depends on the restore level you are looking for. you can simply image the entire disk. check out http://www.partimage.org/ . tal. Erez __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com = 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]
Re: System Backups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 October 2002 12:37, you wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? You don't ** have ** to have a software like ghost to do it. As long as you keep symbolic links symbolic, device files as device files and the permissions then you can copy the entire system to a new disk and that disk will be able to function as an operating system. A few issues: 0. When trying to revive a system from backup you will have to rerun your lilo (if you are using lilo). If you are using grub then you are better off since if the path to your kernel didn't change you will still be able to boot using the old MBR. When using lilo you will *** HAVE *** to rerun lilo (the lilo MBR contains absolute location (in terms of disk physical attributes) of the kernel which has probably changed). 1. There is no need to backup the system itself over and over. If you define a strict policy of separation between the program/data that you install/collect and the system installed programs/data then you can only backup your data (will save a lot of useless backup space). Also keeping all RPMS/.debs that you upgraded on the side is a good practice. 2. There are many backup packages for linux out there. Pick one. I like amanda because it(she ?!?) sends nice emails...:). Most of these know how to preserve all relevant file system information. If you are using more modern file systems with extra info (like access control lists etc...) then pick a backup software that knows how to handle those. These issues are more tricky and you'll have to check for every feature seperately. I advise you not to use those features unless you really need those since backup software support for those is still in the making in some backup packages. Cheers, Mark Erez __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com = 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9qqdGxlxDIcceXTgRAoH3AJ96y8t/D704Ql/Tt6D4wBoep0Jp+QCaA4FL Lrkm/2YTCa6WnpSsLgcNvl4= =J1Wj -END PGP SIGNATURE- = 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]
Re: System Backups
Quoting Erez Boym, from the post of Mon, 14 Oct: Hi, What would be the way to backup an entire system ? depends on your needs. how often you expect to use it, how expensive should the medias be, how many backups do you rotate, etc. you could do a full ghost with a tool called Partition Image, you can use the commercial tools from Norton and PowerQuest. you can rsync once in a while to a remote computer with cheap IDE disks, you can rsync to a local RAID of cheap IDE, you can backup to tapes with tools like AMANDA, you can backup to CDR/DVD-RAM with AMANDA+cdbackup, and there are many more options. then ofcourse there are the bigger enterprise solutions like backupExec, or lower-end commercial ones like BRU. bottom line: depends on your budget and needs. for what I read you described, here's what I think: 1. do a ghost of the server to a cheap disk, maybe using Partition Image (never tested it myself) 2. do a weekly full backup with rsync/tar (depending on the disk space you can afford) to a remote machine, and a daily level 1 (read the manuals of tar and AMANDA for more scenario ideas). that was you can survive a full crash, or just rescue a single file if something gets deleted or changed. 3. if you need a snapshot system like in NetAppliance look at EVMS or LVM. if you prefer the EMC-style, look at the linux MD option with RAID1 disconnection tricks. (though I think EVMS does that too, and more inteligently) 4. B/U is not a small question in any way. RT a lot of FM. -- Finger lickin' good Ira Abramov http://ira.abramov.org/email/ This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal. = 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]
Re: System Backups
There are a number of ways you can go about backing up your system, depending on what type of backup media you have available. The restoration procedure would depend on the backup method. It would be entirely possible to simply copy the file system onto a DVD (or a number of DVDs, depending of the file system size, and then to restore the file system from that by using some kind of rescue disk to boot with and then copying over the files. In order for it to work though, you would have to make sure that ownerships, file permissions, and file-links are preserved when you create the backup. You would have to re-install lilo after doing this if you use the lilo boot-loader (This might or might not be necessary if you use GRUB depending on what you did to the boot sectors and if you moved Linux to a different partition). Since I only have a CD-RW to back up my system, I use a program called Mondo backup to get the job done. It will compress files before they are written onto the disks and can have a backup span many disks. It also has built-in restore functions and can be used for DVDs too Yossi On Mon, 2002-10-14 at 07:37, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? Erez __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com = 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]
Re: System Backups
I think that he didn't look for backup tools, but asked what's wrong with a dumb copy, and if a dumb copy can be used instead of tools like Ghost and mindi/mondo. Since this question bothers me too, can anybody summarize the advantages of a dedicated backup software? Hetz Ben Hamo wrote: the mindi/mondo backup program should do the trick for you.. http://www.microwerks.net/~hugo/ Thanks, Hetz On Monday 14 October 2002 12:37, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? Erez -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel = 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]
Re: System Backups
Sagi Bashari wrote: On 10/14/2002 12:37 PM, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? If you really want to backup the whole setup and not only the data, you might want to consider using HDD as backup media. Simply add new HDD to the system and use 'dd' to make exact backup. Then if one HDD will fail, just replace it with the backup HDD. Sagi Of course, any disk copy, block-by-block and not file-by-file, must be done when the disk is frozen, i.e. either unmounted or in Single mode when nobody writes to the disk. Unless you have LVM with Freeze options. -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel = 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]
Re: System Backups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 October 2002 13:08, you wrote: I think that he didn't look for backup tools, but asked what's wrong with a dumb copy, and if a dumb copy can be used instead of tools like Ghost and mindi/mondo. Since this question bothers me too, can anybody summarize the advantages of a dedicated backup software? A dumb copy can be used (if you pass the right flags to copy or to tar). Advantages/disadvantages: 1. a backup software usually registers itself as a cron process. You don't have to actually write the script or register it in cron. 2. a backup software is usually incremental. Meaning you can always have a snapshot of last night and not waste the entire disk space every night. The backup software only backs us all change since level 0 (full last backup). 3. a backup software sends you nice emails that predict when you will run out of space on your backup media so you can change it before hand. A script does not. 4. a backup software requires some learning (not a lot though and some have graphical front ends which are really easy). 5. a backup software keeps dates on files automatically. This means that you can save years of backups and not worry about organizing the files yourself according to dates (the backup software does it for you). This is all I could think of. Cheers, Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9qqx9xlxDIcceXTgRAosfAJ9WQ86yAVoGyEd8QKdwh+mFrFaqIgCeLfKg omAbOb1b5Ee+ZlLQdrZ4lO4= =KMVY -END PGP SIGNATURE- = 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]
Re: System Backups
On 10/14/2002 1:10 PM, Eli Marmor wrote: Sagi Bashari wrote: On 10/14/2002 12:37 PM, Erez Boym wrote: Hi, What would be the way to backup an entire system ? I have a server which I need too backup, a complete backup setups, *-conf, data, everything and then to easily rebuild the entire server back from scratch. Would it be enough to copy the entire file system on to DVDs, Tape etc. and then reinstall Linux and copy the entire file system back in or do I need a tool like Ghost ? If you really want to backup the whole setup and not only the data, you might want to consider using HDD as backup media. Simply add new HDD to the system and use 'dd' to make exact backup. Then if one HDD will fail, just replace it with the backup HDD. Sagi Of course, any disk copy, block-by-block and not file-by-file, must be done when the disk is frozen, i.e. either unmounted or in Single mode when nobody writes to the disk. Unless you have LVM with Freeze options. What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? Sagi = 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]
Re: System Backups
On Monday 14 October 2002 12:37, Erez Boym wrote: I use this not too sofisticated script: #!/bin/bash # # Creates backups of essential files. After the completion, sends log to predefined address. # Full backup is made at Saturday (Shabbat). Incremental backups are made every weekday. # In order for this script to work: # 1 appropriate crontabentry should be made # 2 THE FIRST RUN OF THIS SCRIPT SHOUD BE ON SATURDAY # 3 status directory should be created. This directory serves for time trakking, so biweekly cleanup # is performed # 4 a little bit of luck :-) # BACKUPDIR=/backup TEMPDIR=/tmp STATUSDIR=/backup/status DATA=/home /root CONFIG=/etc /var/lib #DATA=/home/bgbg/backuptest/data_test #CONFIG=/home/bgbg/backuptest/conf_test LIST=$TEMPDIR/backlist_$$.txt NOLIST=$TEMPDIR/nolist_$$.txt ERRORFILE=$TEMPDIR/backuperrors_$$.txt LOGFILE=$TEMPDIR/backuplog_$$.txt MAILTO=root # any mail address # let's start echo Backup script started on `date`$LOGFILE chmod -R 700 $BACKUPDIR chmod -R 700 $STATUSDIR # ### NOLIST files and directories that should not be backuped ## # #we don't backup files in trash, temp, tmp, cache directories (case insensitive) # in fact, any directory that has a name that ends with those strings will be excluded find $DATA -depth | grep -iE 'temp/ trash/ tmp/ cache/ music/ mp3/ downloads/ dontbackup/'$NOLIST STATUS=`ls -l $STATUSDIR/ | wc -l` let STATUS = STATUS -1 set $(date) # if test $1 = Sat ; then # weekly full backup of all data and config. settings: # if test $STATUS = 14; then #biweekly cleanup echo Biweekly cleanup. SKIPPED `date`$LOGFILE rm -f $BACKUPDIR/data_full* 2$ERRORFILE rm -f $BACKUPDIR/config_full* 2$ERRORFILE fi echo weekly a full backup of all data and config. settings `date`$LOGFILE tar cfz $BACKUPDIR/data_full_$6-$2-$3.tgz $DATA -X $NOLIST 2$ERRORFILE # tar cfz $BACKUPDIR/config_full_$6-$2-$3.tgz $CONFIG -X $NOLIST 2$ERRORFILE if test $STATUS = 14; then #biweekly cleanup echo Biweekly cleanup. Removing incremental backups `date`$LOGFILE rm -f $BACKUPDIR/data_diff* 2$ERRORFILE rm -f $BACKUPDIR/config_diff* 2$ERRORFILE echo DON'T FORGET TO TRANSFER THE FULL BACKUP TO CD !!!$LOGFILE rm -f $STATUSDIR/* $ERRORFILE echo status a $STATUS let STATUS = 0 echo status a $STATUS fi else # incremental backup: # echo incremental backup: `date`$LOGFILE find $DATA -depth -type f \( -ctime -1 -o -mtime -1 \) -print $LIST tar cfzT $BACKUPDIR/data_diff_$6-$2-$3.tgz $LIST -X $NOLIST 2$ERRORFILE rm -f $LIST 2$ERRORFILE # find $CONFIG -depth -type f \( -ctime -1 -o -mtime -1 \) -print $LIST tar cfzT $BACKUPDIR/config_diff_$6-$2-$3.tgz $LIST -X $NOLIST 2$ERRORFILE rm -f $LIST 2$ERRORFILE fi rm -f $NOLIST 2$ERRORFILE let STATUS = STATUS + 1 touch $STATUSDIR/$STATUS $ERRORFILE #close backup and status directories for eddiding chmod -R 500 $BACKUPDIR chmod -R 500 $STATUSDIR echo Ended at `date`$LOGFILE echo - $LOGFILE echo ERROR log$LOGFILE echo $LOGFILE cat $ERRORFILE $LOGFILE echo $LOGFILE echo END OF ERROR LOG$LOGFILE #tell to the friends mail $MAILTO -s Backup log on `hostname`, `date` $LOGFILE ## END ### -- Boris Gorelik Mon, 14/Oct/2002, 8 Heshvan 5763 - ! Molecular Modelling Group ! ! Pharmacy School, Hadassa Faculty of medicine ! ! The Hebrew University of Jerusalem ! ! http://www.md.huji.ac.il/models/group.html ! ! ! = 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]
Boot log files (was: RE: Kernel compile problem)
On Mon, 14 Oct 2002, Martin Polley wrote: BTW, what is the boot log file called? I know how to view it with dmesg, but that doesn't help me here... /var/log/messages and other recent files in /var/log (try ls -alt /var/log) --- Omer Simplify, simplify, simplify. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = 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]
Re: System Backups
Quoting Sagi Bashari, from the post of Mon, 14 Oct: Of course, any disk copy, block-by-block and not file-by-file, must be done when the disk is frozen, i.e. either unmounted or in Single mode when nobody writes to the disk. Unless you have LVM with Freeze options. What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? 1. UGLY 2. you will need to rebuild the mirror once it is reintegrated and thæt is a slow and painful process. 3. you are not guaranteed a stable filesystem of healthy data. ObNote: block-block as backup, and especially dump are a bad idea compared to file serializers such as tar and cpio. moreover dump is not supported anymore in kernel 2.4!! other than the fact dump is OS and FS specific, there are apperently major problems with using it on 2.4 with all it's caching features, and I'd imagine journaling filesystems make it even more problematic. read this from Linus: http://old.lwn.net/2001/0503/a/lt-dump.php3 AMANDA warns about this too (scroll to about the middle of the page) http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/amanda/amanda-2/docs/SYSTEM.NOTES ?rev=1.48content-type=text/vnd.viewcvs-markup -- Born Yesterday Ira Abramov http://ira.abramov.org/email/ This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal. = 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]
Re: Kernel compile problem
On Monday 14 October 2002 10:18, Martin Polley wrote: BTW, what is the boot log file called? I know how to view it with dmesg, but that doesn't help me here... Thanks, That depends. If you've chosen metalog as the logger, the file is: /var/log/everything/current otherwise it is /var/log/messages -- Meir Kriheli MKsoft systems http://www.mksoft.co.il = 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]
speed of RAID1 rebuild [was Re: System Backups]
On Mon, 14 Oct 2002, Ira Abramov wrote: What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? 2. you will need to rebuild the mirror once it is reintegrated and thæt is a slow and painful process. how slow is it really ? Once I build a system with software RAID 1. I had two 36 Gig IDE disks and the rebuild time was IIRC between 12-18 hours. Did I misconfigure something or is this normal ? -- Gabor = 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]
Re: speed of RAID1 rebuild [was Re: System Backups]
On 10/14/2002 4:48 PM, Gabor Szabo wrote: On Mon, 14 Oct 2002, Ira Abramov wrote: What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? 2. you will need to rebuild the mirror once it is reintegrated and thæt is a slow and painful process. how slow is it really ? Once I build a system with software RAID 1. I had two 36 Gig IDE disks and the rebuild time was IIRC between 12-18 hours. Did I misconfigure something or is this normal ? -- Gabor I have two old 15GB HDDs in RAID1 connected to ATA33 controller. The normal transfer rate is around 10MB/s. Newer HDDs with ATA100/133 controller should be much faster. You can see the transfer speed by reading /proc/mdstat when you rebuild the array. BTW - I noticed that when the machine shuts down uncleanly it's automatically starting to rebuild the whole array, even if no data was changed. Isn't there a faster way to sync them? Sagi = 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]
Re: speed of RAID1 rebuild [was Re: System Backups]
On Mon, 14 Oct 2002, Gabor Szabo wrote: On Mon, 14 Oct 2002, Ira Abramov wrote: What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? 2. you will need to rebuild the mirror once it is reintegrated and thæt is a slow and painful process. how slow is it really ? Once I build a system with software RAID 1. I had two 36 Gig IDE disks and the rebuild time was IIRC between 12-18 hours. Did I misconfigure something or is this normal ? -- Gabor I used the same configuration and it took about an hour+ to sync four partitions with a total of 36Gb. - yba -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems =}ooO--U--Ooo{= - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il - = 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]
Speeding up flash access
Hello I'm using flash with JFFS2 on it. Well, its terribly slow and I'm looking a way to speed it up. What options do I have ? Using RAM drive and copying the whole filesystem on boot to it ? Using tmpfs filesystem ? Something else ? Thanks Michael. = 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]
Re: speed of RAID1 rebuild [was Re: System Backups]
you can purch a Mylex AcceleRAID 170 its somewhat expensive as its scsi and the disks need to be scsi too :) maybe there are some good ide raid card out there. any one tried such card ? - Original Message - From: Gabor Szabo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 14, 2002 4:48 PM Subject: speed of RAID1 rebuild [was Re: System Backups] On Mon, 14 Oct 2002, Ira Abramov wrote: What if you setup two disks in RAID1 and pull one of the disks for backup and insert new one instead? 2. you will need to rebuild the mirror once it is reintegrated and thæt is a slow and painful process. how slow is it really ? Once I build a system with software RAID 1. I had two 36 Gig IDE disks and the rebuild time was IIRC between 12-18 hours. Did I misconfigure something or is this normal ? -- Gabor = 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]
Re: Speeding up flash access
On Mon, 2002-10-14 at 16:57, Michael Sternberg wrote: Hello I'm using flash with JFFS2 on it. Well, its terribly slow and I'm looking a way to speed it up. What options do I have ? Using RAM drive and copying the whole filesystem on boot to it ? Using tmpfs filesystem ? Something else ? A wise combination of tmpfs and cramfs is the best solution IMHO. For those not in the know tmpfs is a 'virtual' file system - the files created on it do not exist on disk. Same idea as a RAM disk, but on the file system layer, not the block device. This provides many nice advantages (like memory consumption that adapts to file usage. The ramfs file system is the exact same idea but a more limited implmentation. I recomend using tmpfs for anything you would think of using ramfs. One thing to be aware of - you need to have 'tmpfs' compiled in the kernel for mounting it (so far no big news...) BUT be aware that even if you *do not* choose to compile it into the kernel it will still be included because it is used internally by the shared memory part of the virtual memory subsystem (aka VM). The trick is that when it is used in that fashion it is marked 'unmountable' (actually some parts of the filesystem are not compiled in when compiled in this fashion) but the name of the filesystem still shows up in /proc/filesystems which could be very confusing. Only if you also have an entry for 'shm' is the filesystem actually compiled for general use. cramfs is a compressed, decompress on the fly read-only file system (don't be confused by the 'ram' in the name). The idea is that you have a compressed image of the file system that you mount using loopback device, and everytime yoyu use a (page of a) file for the first time it decompresses to ram. Thus, space is saved on the storage device (flash) because the fs is compressed and at the same time precious RAM is saved because only pages that are being accessed are decompressed, not the entire file system/block device as would be the case with tmpfs/RAM disk You can use it as a root filesystem using the black magic of the 'initrd' option. Suggested usage - Boot into a timy initrd RAM disk image, from it choose an apropriate cramfs compressed image to loopback mount as root (you can support different software version for your application by choosing different images - cool, no? :-), copy from a specific location all files that needs to be read-write to a tmpfs filesystem and terminate the initrd phase continuing the boot. Served well chilled :-) Gilad. Thanks Michael. = 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] -- Gilad Ben-Yossef [EMAIL PROTECTED] http://benyossef.com Geeks rock bands cool name #8192: RAID against the machine = 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]
Re: bttv and emu10k1
Mind my ignorance for a second, but I wasn't even aware linux supports bttv based video capture cards, i'm dying to use mine on it as well!! Any pointers ? Eli 11/10/02 22:09:48, Amir Tal [EMAIL PROTECTED] wrote: hi, i am using bttv with my FlyVideo II TV card, under mandrake9 (decided to play with it for a while, i used debian until not to long ago..). its mandrake's default kernel (2.4.19-16mdk). i had a SB128 sound card until 2 days ago (es1371) and it worked fine. yesterday I've purchased SB Live! (emu10k1) and the problems started : the default bttv driver (in mandrake's kernel) is loading, but i cant get any reception (no channels are displayed, even when scanning). i tried to compile and install the latest bttv driver, and after it loads, all it displays is a blank screen (both in XawTV and Zapping). are there any known issues with bttv and emu10k1 ? here are some of the settings : # lsmod |grep bttv bttv 66880 0 (unused) i2c-algo-bit7432 1 [bttv] videodev5792 2 [bttv] i2c-core 15332 0 [bttv i2c-algo-bit tuner] soundcore 3780 0 [bttv emu10k1] # cat /etc/modules.conf |grep bttv options bttv radio=1 gbuffers=4 card=19 tuner=5 pll=1 card model : 02:09.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12) when modprobing for bttv, it loads with no errors. thanks, -- == Amir Tal Founder, Owner Whatsup, Hebrew Linux Portal Voice:+972-8-9363164 Fax: +972-8-9363164 Cell: +972-58-978979 Email:[EMAIL PROTECTED] URL: www.whatsup.org.il == 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] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = 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]
Re: bttv and emu10k1
On Tuesday 15 October 2002 02:49 am, voguemaster wrote: Mind my ignorance for a second, but I wasn't even aware linux supports bttv based video capture cards, i'm dying to use mine on it as well!! Any pointers ? http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/other-formats/html_single/BTTV.html downloading the latest bttv modules is recommanded. http://bytesex.org/bttv/ tal. Eli 11/10/02 22:09:48, Amir Tal [EMAIL PROTECTED] wrote: hi, i am using bttv with my FlyVideo II TV card, under mandrake9 (decided to play with it for a while, i used debian until not to long ago..). its mandrake's default kernel (2.4.19-16mdk). i had a SB128 sound card until 2 days ago (es1371) and it worked fine. yesterday I've purchased SB Live! (emu10k1) and the problems started : the default bttv driver (in mandrake's kernel) is loading, but i cant get any reception (no channels are displayed, even when scanning). i tried to compile and install the latest bttv driver, and after it loads, all it displays is a blank screen (both in XawTV and Zapping). are there any known issues with bttv and emu10k1 ? here are some of the settings : # lsmod |grep bttv bttv 66880 0 (unused) i2c-algo-bit7432 1 [bttv] videodev5792 2 [bttv] i2c-core 15332 0 [bttv i2c-algo-bit tuner] soundcore 3780 0 [bttv emu10k1] # cat /etc/modules.conf |grep bttv options bttv radio=1 gbuffers=4 card=19 tuner=5 pll=1 card model : 02:09.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12) when modprobing for bttv, it loads with no errors. thanks, -- == Amir Tal Founder, Owner Whatsup, Hebrew Linux Portal Voice:+972-8-9363164 Fax: +972-8-9363164 Cell: +972-58-978979 Email:[EMAIL PROTECTED] URL: www.whatsup.org.il == 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] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = 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]