[gentoo-user] Conditional TMOUT variable
Hi All, I've exported TMOUT=1200 to make sure an absent minded colleague does not leave his console logged in as root and walk away. This has the desired effect - except that when I am su'd in via SSH it also kicks in and logs me out midstream whatever I have been doing at the time. Is there something to take account of user activity before allowing TMOUT to kick in? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Sat, 29 Nov 2008 12:23:23 +0200 Alan McKinnon <[EMAIL PROTECTED]> wrote: > On Saturday 29 November 2008 11:19:47 Daniel Iliev wrote: > > Now let's put the assumptions aside and do a test. > > > > [EMAIL PROTECTED] # test $ cat /usr/portage/packages/All/* > test1 > > [EMAIL PROTECTED] # test $ cp test1 test2 > > [EMAIL PROTECTED] # test $ ls -lah > > total 2.3G > > drwxr-xr-x 2 root users 4.0K 2008-11-29 01:38 . > > drwxr-xr-x 44 root users 4.0K 2008-11-29 01:36 .. > > -rw-r--r-- 1 root users 1.2G 2008-11-29 01:38 test1 > > -rw-r--r-- 1 root users 1.2G 2008-11-29 01:40 test2 > > localhost test # filefrag * > > test1: 1125 extents found, perfection would be 10 extents > > test2: 1923 extents found, perfection would be 10 extents > > localhost test # time cat test1 > /dev/null > > > > real0m26.747s > > user0m2.110s > > sys 0m1.450s > > localhost test # time cat test2 > /dev/null > > > > real0m29.825s > > user0m1.780s > > sys 0m1.690s > > This is not a test unfortunately. You did one run on one file and one > run on another file. We do not know what else the machine was doing > at that time, and that unknown is a considerable one. > This result is from the last of three repetitions. Its values were in the middle (not average). The deviations were in the range 1 to 1.5 seconds. Every time reading the more fragmented was slower. The system was idle in level 3, no X running. I used iostat before the tests and it registered several tens of KBs written for 1 min before the test. Compared to the size of the test files and the speed of the disk it is insignificant. > Repeat your test eliminating this factor. Preferably, remount the > filesystems after each run and repeat 1000 times. Then analyze the > statistical distribution of your results. This should eliminate most > random factors and give a more realistic real-world view. > I'm not willing to waste time for 1000 repetitions, but why don't you do the test yourself just a couple of times and see if there will be a case when the more fragmented file gets read faster? Actually my results are a little lower than what I expected but enough for me to say that fragmentation matters. At least until proved otherwise. Fragmentation leads to seeks. The average seek time on modern disks is several milliseconds. Yes, there are algorithms reordering the I/O requests to minimize the seek penalty, but still seeks are there and they hurt performance. -- Best regards, Daniel
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Sat, 29 Nov 2008 09:45:40 + Neil Bothwick <[EMAIL PROTECTED]> wrote: > No, and nor should they. Each filesystem implementing its own > encryption layer would be a nightmare. A separate encryption layer on > which you create any filesystem you like is much more sensible. It's true for Linux and any other kernel designed to work with many implementations of "the same" thing (FS in this case). MS doesn't care about many file systems, but just their own, therefore they don't face this problem. -- Best regards, Daniel
[gentoo-user] FAT/VFAT fs analyser ???
Hi, I want to analyze an VFAT image to gather information of its structure. Does anyone know of an VFAT analyzer/editor? Thank you very much in advance for any help! Have a nice weekend! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] something is filling up the filesystem
On Sun, 30 Nov 2008 02:35:19 +0100, Daniel Pielmeier wrote: > First I would try to search for files that have changed recently and > than try to find out which program writes to them. > > find / -mmin -10 Add -xdev to that, otherwise it will search everything, including /proc, /sys and /home,producing a lot of false results. -- Neil Bothwick Master of all I survey (at the moment, empty pizza boxes) signature.asc Description: PGP signature
[gentoo-user] audacious 1.5 not playing
I updated audacious and audacious-plugins from 1.4.6 and .5 to 1.4.1-r1 and r3, respectively. It comes up and seems to operate fine, but it won't play my ogg files. It doesn't even seem to try. I downgraded to 1.4.6/5 and it plays fine. I'll be testing it on mp3 files today, I hope, to see if it's a problem unique to 1.5.x. Anyone else having problems with audacious 1.5.x? -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.
Re: [gentoo-user] Conditional TMOUT variable
On Sun, 30 Nov 2008 09:48:15 +, Mick wrote: > I've exported TMOUT=1200 to make sure an absent minded colleague does > not leave his console logged in as root and walk away. > > This has the desired effect - except that when I am su'd in via SSH it > also kicks in and logs me out midstream whatever I have been doing at > the time. Where do you set this, in the profile/bashrc? You could test $SSH_TTY before setting the variable, so it is not set for SSH logins. I use a similar method to give a different prompt for SSH sessions. [[ -n "${SSH_TTY}" ]] || export TMOUT=1200 -- Neil Bothwick Always proofread carefully to see if you any words out. signature.asc Description: PGP signature
Re: [gentoo-user] FAT/VFAT fs analyser ???
On Sunday 30 November 2008 12:06:57 [EMAIL PROTECTED] wrote: > Hi, > > I want to analyze an VFAT image to gather information of > its structure. > > Does anyone know of an VFAT analyzer/editor? > > Thank you very much in advance for any help! > Have a nice weekend! > mcc Do you want to know how FAT works? Wikipedia is as good a place to start looking as any. Do you want to know more about the files and directories on our disk? If so, please be more specific about what you want to find out. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Sunday 30 November 2008 11:53:10 Daniel Iliev wrote: > On Sat, 29 Nov 2008 09:45:40 + > > Neil Bothwick <[EMAIL PROTECTED]> wrote: > > No, and nor should they. Each filesystem implementing its own > > encryption layer would be a nightmare. A separate encryption layer on > > which you create any filesystem you like is much more sensible. > > It's true for Linux and any other kernel designed to work with many > implementations of "the same" thing (FS in this case). MS doesn't care > about many file systems, but just their own, therefore they don't > face this problem. True, MS will not face this problem. We will. In common with what we have to do with everything else MS makes. Please don't give them any more clever ideas... -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Sunday 30 November 2008 11:50:18 Daniel Iliev wrote: > > > real 0m26.747s > > > user 0m2.110s > > > sys 0m1.450s > > > localhost test # time cat test2 > /dev/null > > > > > > real 0m29.825s > > > user 0m1.780s > > > sys 0m1.690s > > > > This is not a test unfortunately. You did one run on one file and one > > run on another file. We do not know what else the machine was doing > > at that time, and that unknown is a considerable one. > > This result is from the last of three repetitions. Its values were in > the middle (not average). The deviations were in the range 1 to 1.5 > seconds. Every time reading the more fragmented was slower. That's a HUGE deviation, I assume it's real time. What's the difference in user and sys time? Those are much more important here. > The system was idle in level 3, no X running. I used iostat before > the tests and it registered several tens of KBs written for 1 min before > the test. Compared to the size of the test files and the speed of the > disk it is insignificant. You didn't remove the effect of buffers and caches. The only way I know of to test this correctly is to reboot the machine after every run, start no services and run the test with a cold cache. Otherwise you don't really know what you are measuring. > > Repeat your test eliminating this factor. Preferably, remount the > > filesystems after each run and repeat 1000 times. Then analyze the > > statistical distribution of your results. This should eliminate most > > random factors and give a more realistic real-world view. > > I'm not willing to waste time for 1000 repetitions, but why don't you > do the test yourself just a couple of times and see if there will be a > case when the more fragmented file gets read faster? You are the one making them claims! You do the test! > Actually my results are a little lower than what I expected but enough > for me to say that fragmentation matters. At least until proved > otherwise. Fragmentation leads to seeks. The average seek time on > modern disks is several milliseconds. Yes, there are algorithms > reordering the I/O requests to minimize the seek penalty, but still > seeks are there and they hurt performance. Buffers and cache? You have two files of 1.2G each. I have more free RAM than that for buffers and cache easily 90% of the time my notebook is on. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] FAT/VFAT fs analyser ???
Hi Alan, the problem is... :) I own a iRiver T60 mp3 player, which uses the VFAT fs as so many usbstick-like mass storage devices do. It /seems/ (which is equivalent to "i dont know, whether..."), that the sequence in which the songs are played depend on the sequence they were entered into the VFAT. Whith rsync I could manage to copy the files, which carry the trackno as the the first two characters in their filename. in alphabetically order onto the device. So nice ... so good. BUT: In some rare cases the T60 insists in playing songs in a different order. Why ? No clue... Another aspect of this is: If I will delete a couple of files on the device and rsync some new, the previously freed directory/VFAT entries will be occupied first, before new ones will be used, which will screw up the playing order totally. Now I am looking for a VFAT editor and analyzer, which permits me to explore and eventually -- if needed -- "hack" the VFAT into a different order, so that my files will be played in the correct track order without reformatting the device in whole for any delete/add file action I want to do. If there is anything outside there, which will help me to manage this task ... it would be very nice! Thank you very much for your help and time in advance! Kind regards mcc Alan McKinnon <[EMAIL PROTECTED]> [08-11-30 13:20]: > On Sunday 30 November 2008 12:06:57 [EMAIL PROTECTED] wrote: > > Hi, > > > > I want to analyze an VFAT image to gather information of > > its structure. > > > > Does anyone know of an VFAT analyzer/editor? > > > > Thank you very much in advance for any help! > > Have a nice weekend! > > mcc > > Do you want to know how FAT works? Wikipedia is as good a place to start > looking as any. > > Do you want to know more about the files and directories on our disk? If so, > please be more specific about what you want to find out. > > -- > alan dot mckinnon at gmail dot com > -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
[gentoo-user] lanmap ebuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody! First of all: Lanmap (http://www.parseerror.com/lanmap/) - "lanmap sits quietly on a network and builds a picture of what it sees." Since Lanmap is not on the official portage tree, does any of you know any overlay that provide ebuilds or any other way to "canonically" install Lanmap on Gentoo? I checked the developer's website and found out his Subversion Repository is currently offline. He links to "zipped snapshots of revisions", but they are all very old (latest from Mar/2006). I know there is a package of Lanmap for Debian, but I don't know whether it is up-to-date or not. In case there is no answer for my questions, do any you recommend an alternative for Lanmap? Thanks in advance. Best regards, Saffi - -- Ricardo Saffi Marques http://www.las.ic.unicamp.br/~saffi/ == Laboratory of System Administration and Security - LAS Institute of Computing - IC P.O. Box: 6176 University of Campinas - UNICAMP 13083-852, Campinas, SP, Brazil == -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkkyiLoACgkQjUOIEC3P9790xgCeNiUCoXLVM+NSbOWHvMWn3p2K nAcAniP0RuEpSXARXeWHvRk7tXbcK5oI =XLI7 -END PGP SIGNATURE-
Re: [gentoo-user] lanmap ebuild
Ricardo Saffi Marques schrieb: > Hi everybody! > > First of all: Lanmap (http://www.parseerror.com/lanmap/) - "lanmap > sits quietly on a network and > builds a picture of what it sees." > > Since Lanmap is not on the official portage tree, does any of you know > any overlay that provide > ebuilds or any other way to "canonically" install Lanmap on Gentoo? > > I checked the developer's website and found out his Subversion > Repository is currently offline. He > links to "zipped snapshots of revisions", but they are all very old > (latest from Mar/2006). > > I know there is a package of Lanmap for Debian, but I don't know > whether it is up-to-date or not. > > In case there is no answer for my questions, do any you recommend an > alternative for Lanmap? Thanks > in advance. > > Best regards, > > Saffi > You can look this up yourself: $ update-eix-remote update "Will update the eix db with everything which is an overley" $ eix lanmap or search bugzilla $ bugz search lanmap or just google. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] lanmap ebuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin wrote: > You can look this up yourself: You bet I did it. I'm not a noob! That's why I ended up coming here to ask if any of you knew anything about it. The eix-update-remote part I didn't know. Thanks, will give it a try. > or search bugzilla I did it from the website. http://bugs.gentoo.org Nothing. > or just google. I even searched from the Gentoo Forums, but found nothing about it. That's when I considered that someone from the list could have already dealt with it. Anyway, thanks for answering. Regards, Saffi - -- Ricardo Saffi Marques http://www.las.ic.unicamp.br/~saffi/ == Laboratory of System Administration and Security - LAS Institute of Computing - IC P.O. Box: 6176 University of Campinas - UNICAMP 13083-852, Campinas, SP, Brazil == -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkkyi68ACgkQjUOIEC3P9791XgCeNdiXB5mijPo5+Ou7HV+nRAZS uM8AoJz+sR6fkh6TmK9Te1KT7ZHdpLYp =XkAD -END PGP SIGNATURE-
Re: [gentoo-user] lanmap ebuild
Ricardo Saffi Marques schrieb: > Justin wrote: > > You can look this up yourself: > > You bet I did it. I'm not a noob! > That's why I ended up coming here to ask if any of you knew anything > about it. > > > The eix-update-remote part I didn't know. Thanks, will give it a try. > > > or search bugzilla > > I did it from the website. http://bugs.gentoo.org > Nothing. > > > or just google. > > I even searched from the Gentoo Forums, but found nothing about it. > That's when I considered that someone from the list could have already > dealt with it. > Anyway, thanks for answering. > > Regards, > > Saffi > Shouldn't sound that harsh, sorry. It looks like that it has a automake style installer included, so just type make. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] FAT/VFAT fs analyser ???
[EMAIL PROTECTED] schrieb am 30.11.2008 13:31: > Hi Alan, > > the problem is... :) > > I own a iRiver T60 mp3 player, which uses the VFAT fs as > so many usbstick-like mass storage devices do. > > It /seems/ (which is equivalent to "i dont know, whether..."), > that the sequence in which the songs are played depend > on the sequence they were entered into the VFAT. Whith > rsync I could manage to copy the files, which carry the > trackno as the the first two characters in their filename. > in alphabetically order onto the device. > > So nice ... so good. > BUT: > In some rare cases the T60 insists in playing songs in > a different order. > Why ? No clue... > > Another aspect of this is: If I will delete a couple of > files on the device and rsync some new, the previously freed > directory/VFAT entries will be occupied first, before new > ones will be used, which will screw up the playing order > totally. > > Now I am looking for a VFAT editor and analyzer, which > permits me to explore and eventually -- if needed -- > "hack" the VFAT into a different order, so that my > files will be played in the correct track order without > reformatting the device in whole for any delete/add file > action I want to do. > > If there is anything outside there, which will help > me to manage this task ... it would be very nice! > > Thank you very much for your help and time in advance! > Kind regards > mcc > The firmware iriver provides to use their player as an usb mass storage device is simply crap. I also use one of the first players that firmware was available for. Now I see you own a newer player and still nothing has changed. And you are right the order is controlled by the order they are saved to the filesystem. It seems this is only true for the usb driver and not the mtp driver which is afaik only usable on windows. So the solution would be to make the driver smart enough to give control over the play order either by filename or better an option to look up the tags and sort according to different tags. But I guess this wont happen anytime soon. The problem was also reported here [1], but I guess you know this link as the rsync solution was also posted there. Regards, Daniel [1] https://lists.ubuntu.com/archives/ubuntu-users/2008-January/135493.html signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] lanmap ebuild
Ricardo Saffi Marques schrieb: > Justin wrote: > > You can look this up yourself: > > You bet I did it. I'm not a noob! > That's why I ended up coming here to ask if any of you knew anything > about it. > > > The eix-update-remote part I didn't know. Thanks, will give it a try. > > > or search bugzilla > > I did it from the website. http://bugs.gentoo.org > Nothing. > > > or just google. > > I even searched from the Gentoo Forums, but found nothing about it. > That's when I considered that someone from the list could have already > dealt with it. > Anyway, thanks for answering. > > Regards, > > Saffi > Take a look into the INSTALL.txt. Is written there what to do and which deps are requiered. Additionally fill a ebuild request bug at b.g.o. Next saturday it is bugday, I will try to get time to solve it then. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] FAT/VFAT fs analyser ???
Daniel Pielmeier <[EMAIL PROTECTED]> [08-11-30 14:21]: > [EMAIL PROTECTED] schrieb am 30.11.2008 13:31: > > Hi Alan, > > > > the problem is... :) > > > > I own a iRiver T60 mp3 player, which uses the VFAT fs as > > so many usbstick-like mass storage devices do. > > > > It /seems/ (which is equivalent to "i dont know, whether..."), > > that the sequence in which the songs are played depend > > on the sequence they were entered into the VFAT. Whith > > rsync I could manage to copy the files, which carry the > > trackno as the the first two characters in their filename. > > in alphabetically order onto the device. > > > > So nice ... so good. > > BUT: > > In some rare cases the T60 insists in playing songs in > > a different order. > > Why ? No clue... > > > > Another aspect of this is: If I will delete a couple of > > files on the device and rsync some new, the previously freed > > directory/VFAT entries will be occupied first, before new > > ones will be used, which will screw up the playing order > > totally. > > > > Now I am looking for a VFAT editor and analyzer, which > > permits me to explore and eventually -- if needed -- > > "hack" the VFAT into a different order, so that my > > files will be played in the correct track order without > > reformatting the device in whole for any delete/add file > > action I want to do. > > > > If there is anything outside there, which will help > > me to manage this task ... it would be very nice! > > > > Thank you very much for your help and time in advance! > > Kind regards > > mcc > > > > The firmware iriver provides to use their player as an usb mass storage > device is simply crap. I also use one of the first players that firmware > was available for. Now I see you own a newer player and still nothing > has changed. > > And you are right the order is controlled by the order they are saved to > the filesystem. It seems this is only true for the usb driver and not > the mtp driver which is afaik only usable on windows. > > So the solution would be to make the driver smart enough to give control > over the play order either by filename or better an option to look up > the tags and sort according to different tags. But I guess this wont > happen anytime soon. > > The problem was also reported here [1], but I guess you know this link > as the rsync solution was also posted there. > > Regards, > > Daniel > > [1] https://lists.ubuntu.com/archives/ubuntu-users/2008-January/135493.html > Hi Daniel, Yes, I know of the rsync-trickbut it does not help me to circumvent the probem I described. Do you know of any useable VFAT editor/analyzer ? Keep hacking! ;) mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] lanmap ebuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin wrote: > Shouldn't sound that harsh, sorry. Don't worry, no problem! That's the problem with written text. Does not carry how the sentence would "sound" if spoken! :-) > It looks like that it has a automake style installer included, so just > type make. Yeah, but where's that automake? Did you succeed to checkout from his svn? It was out when I tried. Or did you get it from one of the zipped files? I didn't touch them since they're old, but will give it a try, then. Thanks Justin! Best regards, Saffi - -- Ricardo Saffi Marques http://www.las.ic.unicamp.br/~saffi/ == Laboratory of System Administration and Security - LAS Institute of Computing - IC P.O. Box: 6176 University of Campinas - UNICAMP 13083-852, Campinas, SP, Brazil == -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkkylFoACgkQjUOIEC3P97+j/wCfX5vGpkNiB7T89sXkY6+8e9Te PnIAnjCrXHKSBJPPJwY1+LNJ5p7w36et =jSKA -END PGP SIGNATURE-
Re: [gentoo-user] lanmap ebuild
Justin wrote: > Take a look into the INSTALL.txt. Is written there what to do and which > deps are requiered. Additionally fill a ebuild request bug at b.g.o. > Next saturday it is bugday, I will try to get time to solve it then. Nice! I will! Thanks! -- Ricardo Saffi Marques http://www.las.ic.unicamp.br/~saffi/ == Laboratory of System Administration and Security - LAS Institute of Computing - IC P.O. Box: 6176 University of Campinas - UNICAMP 13083-852, Campinas, SP, Brazil ==
Re: [gentoo-user] something is filling up the filesystem
> So tomorrow i'll try to find out wich one is guilty and try find a > remedy... (now it's 3 am, i'm a bit tired...) > i'll post back. > > Thank you all for the quick help! > Davide > I found that i had accidentally enable the full debugging output of my wireless card in the kernel, so that was where all those messages came from. Thanks again to every one. Davide
Re: [gentoo-user] something is filling up the filesystem
On Sunday 30 November 2008, Michele Schiavo wrote: > lsof ? Both find and lsof are good to show what is/has been accessed/changed. However, you may want to think of setting up logrotate and giving it a max size for your log file(s) above which it will rotate them. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xf86-video-intel, compiz, mplayer -fs file.avi freeze
> I cannot solve your problem because I know little of X and nothing > about compiz (which I consider futile), but for this kind of problem, > you may want to know about the magic SysRq key. It allows you to at > least reboot your system cleanly when the system seems locked, and > some times can even help you kill the bad program an resume work. > http://www.kernel.org/doc/Documentation/sysrq.txt > Thanks. I solved problem by recompiling whole Xorg to version same as in ubuntu. This is part from portage.keywords: <=x11-drivers/xf86-video-intel-2.4.2-r3 <=x11-base/xorg-x11-7.3 <=x11-base/xorg-server-1.5.2 <=x11-libs/libpciaccess-0.10.3 <=x11-proto/xproto-7.0.13 <=x11-apps/xauth-1.0.3 <=x11-libs/libXrender-0.9.4 <=x11-proto/renderproto-0.9.3 <=x11-proto/xextproto-7.0.3 <=x11-libs/libXau-1.0.4 <=x11-libs/libXext-1.0.4 <=x11-proto/inputproto-1.4.4 <=x11-apps/rgb-1.0.3 <=x11-libs/libX11-1.1.5 <=x11-apps/xinit-1.0.8-r3 <=x11-proto/xf86driproto-2.0.4 <=x11-libs/libXxf86vm-1.0.2 <=x11-proto/randrproto-1.2.2 <=x11-libs/libXfont-1.3.3 <=x11-drivers/xf86-video-v4l-0.2.0 <=x11-drivers/xf86-video-fbdev-0.4.0 <=x11-drivers/xf86-input-keyboard-1.3.1 <=x11-drivers/xf86-input-evdev-2.0.6 <=x11-drivers/xf86-input-synaptics-0.15.2-r2 <=x11-drivers/xf86-input-mouse-1.3.0 <=x11-libs/xtrans-1.2.2 <=media-libs/mesa-7.2 <=x11-proto/printproto-1.0.4 <=x11-libs/libdrm-2.3.1 <=x11-libs/pixman-0.12.0 <=x11-misc/xkeyboard-config-1.3
[gentoo-user] FIXED: Re: Bug 246672 ATI-DRIVERS
James tampabay.rr.com> writes: > ati-drivers will not compile, any version. Using the latest information in Bug 246672, I finally got ati-drivers-8.552-r2 working. thanks James
Re: [gentoo-user] Back up a server in real-time
On Monday 17 November 2008, Joerg Schilling wrote: > William Kenworthy <[EMAIL PROTECTED]> wrote: > > dirvish is in portage. > > > > tar/rsync/cp are not really backups but manual copies. If you want true > > backup you need scripts to handle the extra functionality for things > > like versioning, archive management and the all important restore. > > star has everything you need for backups and it is based on the standard > archive format. Thanks Joerg, I have just had a quick look at star. Would you know if there is a LiveCD that has star - or will I be able to restore a fs from an archive created with star, but using tar to do it as it comes in e.g. Knoppix? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Back up a server in real-time
Mick <[EMAIL PROTECTED]> wrote: > On Monday 17 November 2008, Joerg Schilling wrote: > > William Kenworthy <[EMAIL PROTECTED]> wrote: > > > dirvish is in portage. > > > > > > tar/rsync/cp are not really backups but manual copies. If you want true > > > backup you need scripts to handle the extra functionality for things > > > like versioning, archive management and the all important restore. > > > > star has everything you need for backups and it is based on the standard > > archive format. > > Thanks Joerg, I have just had a quick look at star. Would you know if there > is a LiveCD that has star - or will I be able to restore a fs from an archive > created with star, but using tar to do it as it comes in e.g. Knoppix? Did you check grml? Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] something is filling up the filesystem
Mick wrote: > On Sunday 30 November 2008, Michele Schiavo wrote: > >> lsof ? >> > > Both find and lsof are good to show what is/has been accessed/changed. > However, you may want to think of setting up logrotate and giving it a max > size for your log file(s) above which it will rotate them. > I'm not sure how fast logrotate checks the size but it sounded like his was getting big pretty fast. It may not would have checked often enough to do him any good. It is a good idea tho. I do my emerge log and messages by size as well. I know when hal or something thinks I have a disc in the DVD drive but don't, it can put a LOT in messages. Good idea tho. Dale :-) :-)
[gentoo-user] Re: boot messages; vga; vesa; HDTV monitor
Volker Armin Hemmann wrote: On Saturday 29 November 2008, 7v5w7go9ub0o wrote: 1. Anyone aware of a wiki or other gentoo "help" that describes how to change the boot message "size" during boot? yes, it is. In /usr/src/Documentation. Thanks for the reply. Wasn't able to find any reference here (/usr/src/linux/Documentation) to anything other than configuring the kernel for framebuffer alternatives. Either way, it seems that my HDTV monitor is not very happy with the framebuffer - but works great with X.
Re: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor
On Monday 01 December 2008, 7v5w7go9ub0o wrote: > Volker Armin Hemmann wrote: > > On Saturday 29 November 2008, 7v5w7go9ub0o wrote: > >> 1. Anyone aware of a wiki or other gentoo "help" that describes how to > >> change the boot message "size" during boot? > > > > yes, it is. In /usr/src/Documentation. > > Thanks for the reply. > > Wasn't able to find any reference here (/usr/src/linux/Documentation) to > anything other than configuring the kernel for framebuffer alternatives. > > Either way, it seems that my HDTV monitor is not very happy with the > framebuffer - but works great with X. have you looked here? /usr/src/linux/Documentation/fb/ /usr/src/linux/Documentation/fb/vesafb.txt /usr/src/linux/Documentation/fb/framebuffer.txt
Re: [gentoo-user] Re: [OT] filesystems
On Sat, 29 Nov 2008 04:21:44 pm Jorge Peixoto de Morais Neto wrote: > On Thu, Nov 27, 2008 at 10:12 AM, Daniel Troeder <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, den 26.11.2008, 15:26 +0100 schrieb Florian Philipp: > > You can buy so called "archival grade" DVD-Rs that should work for 10-20 > > years in a good environment. There are hugh differences between > > products. In germany you can buy very good ones from Verbatim for around > > 2€/disk. > > This can be hard to find in my mid-sized Brazilian city. If I lived in > the mega-metropolis of São Paulo, this would be far easier. And thanks > very much for recommending Verbatim. I have heard of Taiyo Yuden, but > that would likely be far harder to find. > > Speaking of md5sum/shasum, do you know some tool that adds data > redundancy? I heard dvddistaster does this, but I guess it is limited > to DVDs. It would be great fo find a general data redundancy tool. In > the moment, with the tools I know, the best I can do is store the > files twice, with md5sums/shasums to decide which version is correct. Have a look at app-arch/par2cmdline ( http://parchive.sourceforge.net/ ). It will create parity files for an arbitrary set of data files and you can choose your level of redundency (from 0 = now redundency, just integrity checking, up to 100%). Although expect your parity files to be on the order of the percentage for size, i.e. 50% redundancy for some given files to take about 50% of their size for the parity files). The down side I find with the tool is that it doesn't currently support directories. This isn't so bad for creating parity files, but during checking/restore, the program expects all files to exist in the current directory, despite which sub-dirs they were originally in. You can get around this with a tar/rar/zip first, then calculate parities on the archive though. > By the way, it seems from my (limited) experience that even sha256sums > are IO-bound (even on my not-so-powerful Athlon XP 2600+), so it makes > sense to calculate sha256sums (as instead of md5sums) even it is > overkill. To be doubly sure, one can calculate sha256sums *and* > md5sums.
Re: [gentoo-user] Cannot login with publickey on sshd
Mick wrote: > On Saturday 29 November 2008, Eric Martin wrote: > >> Mick wrote: >> >>> Hi All, >>> >>> For some reason my Gentoo rsa public key is not liked by 3.9p1-11.el4_7 >>> sshd, which is running on a CentOS server. On the Gentoo machine I am >>> running net-misc/openssh-5.1_p1-r1. This is what it shows: >>> === >>> debug1: fd 3 clearing O_NONBLOCK >>> debug1: Connection established. >>> debug3: timeout: 14835 ms remain after connect >>> debug3: Not a RSA1 key file /home/michael/.ssh/id_rsa. >>> debug2: key_type_from_name: unknown key type '-BEGIN' >>> >> It sounds like you're using a pgp public key, is this on purpose? >> AFAIK, you need to convert pgp keys -> openssh keys before you use >> them. Have you tried making a public key via ssh-keygen? >> > > Thanks Eric, > > The "--BEGIN" string is I believe from the private key generated using > ssh-keygen. If looks like this: > = > > -BEGIN RSA PRIVATE KEY- > Proc-Type: 4,ENCRYPTED > DEK-Info: DES-EDE3-CBC, > > X > XX... etc. > = > > where "X" is the hash of the key. > > The public key starts with: > = > ssh-rsa X...etc > = > > As I mentioned the same ssh key pair seems to work fine with other servers. > What did you use to generate the key? Also, what does the client / server say for the key fail? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cannot login with publickey on sshd
On Monday 01 December 2008, Eric Martin wrote: > What did you use to generate the key? Also, what does the client / > server say for the key fail? I used something like: ssh-keygen -v -t rsa -b 2048. I have even generated a second key pair and tried that too, with no success. The client messages are in the first message I sent to the list - basically showing this: debug1: Connection established. debug3: timeout: 14828 ms remain after connect debug3: Not a RSA1 key file /home/michael/.ssh/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-BEGIN' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'Proc-Type:' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'DEK-Info:' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace . . . debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-END' debug3: key_read: missing keytype The server messages are shown here: http://pastebin.centos.org/22705 -- Regards, Mick signature.asc Description: This is a digitally signed message part.