Re: [gentoo-user] rc.log errors
Does OP have /var on / or is it a separate mount point?
Re: [gentoo-user] rc.log errors
Mine are the same: ls -l /var/log -rw-r--r-- 1 root root627358 Aug 28 09:02 rc.log --- gottl...@nyu.edu wrote: From: Allan Gottlieb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rc.log errors Date: Mon, 27 Aug 2012 22:15:32 -0400 On Mon, Aug 27 2012, cin...@linuxwaves.com wrote: > Hello, my rc.log is full of lines like: > > /etc/rc.conf: line 35: /var/log/rc.log: No such file or directory > > ... and: > /etc/rc.conf: line 35: /var/log/rc.log: Permission denied > > I have these lines in /etc/rc.conf: > > rc_logger="YES" I have this > rc_log_path="/var/log/rc.log" This is the default. > Does anybody know what this means? What permissions do you have for /var/log/rc.log? I have 644 owner root.root. ajglap gottlieb # ls -l /var/log/rc.log -rw-r--r-- 1 root root 8983 Aug 27 06:22 /var/log/rc.log allan _ Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com Join Linux Discussions! --> http://Community.LinuxWaves.com
Re: [gentoo-user] rc.log errors
On Mon, Aug 27 2012, cin...@linuxwaves.com wrote: > Hello, my rc.log is full of lines like: > > /etc/rc.conf: line 35: /var/log/rc.log: No such file or directory > > ... and: > /etc/rc.conf: line 35: /var/log/rc.log: Permission denied > > I have these lines in /etc/rc.conf: > > rc_logger="YES" I have this > rc_log_path="/var/log/rc.log" This is the default. > Does anybody know what this means? What permissions do you have for /var/log/rc.log? I have 644 owner root.root. ajglap gottlieb # ls -l /var/log/rc.log -rw-r--r-- 1 root root 8983 Aug 27 06:22 /var/log/rc.log allan
[gentoo-user] rc.log errors
Hello, my rc.log is full of lines like: /etc/rc.conf: line 35: /var/log/rc.log: No such file or directory ... and: /etc/rc.conf: line 35: /var/log/rc.log: Permission denied I have these lines in /etc/rc.conf: rc_logger="YES" rc_log_path="/var/log/rc.log" Does anybody know what this means? _ Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com Join Linux Discussions! --> http://Community.LinuxWaves.com
Re: [gentoo-user] Re: hdparm + Western Digital Green "idle3"
>> I've just checked out the man page for hdparm. There I noticed the >> new -J switch. It reads: >> >>> Get/set the Western Digital (WD) Green Drive's "idle3" timeout >>> value. This timeout controls how often the drive parks its heads and >>> enters a low power consumption state. The factory default is eight >>> (8) seconds, which is a very poor choice for use with Linux. Leaving >>> it at the default will result in hundreds of thousands of head >>> load/unload cycles in a very short period of time. The drive >>> mechanism is only rated for 300,000 to 1,000,000 cycles, so leaving >>> it at the default could result in premature failure, # smartctl -a /dev/sda | grep Load_Cycle_Count 193 Load_Cycle_Count0x0032 001 001 000Old_age Always - 920472 So i'm at 920K - has anyone tried -J? Since it returns this (below) I think i'll just leave it drive with the 8 second timer. The drive is mirrored. Use of -J is EXTREMELY DANGEROUS. This implementation is not as thorough as the official WDIDLE3.EXE. Use at your own risk! Please also supply the --please-destroy-my-drive flag if you really want this. Program aborted.
Re: [gentoo-user] /usr/tmp -> /var/tmp a problem with new udev?
On Mon, Aug 20, 2012 at 3:01 PM, Allan Gottlieb wrote: > I assume you don't run dracut > either. correct -- Douglas J Hunley (doug.hun...@gmail.com) Twitter: @hunleyd Web: douglasjhunley.com G+: http://goo.gl/sajR3
Re: [gentoo-user] Re: arno-iptables-firewall and kernel-3.4.9-gentoo
On Monday 27 Aug 2012 16:30:51 James wrote: > Mick gmail.com> writes: > > Arno's Iptables Firewall Script v1.9.2d > > Any ideas? > > Wow, I thought his work died out years ago? > NICE!! > > Although I have deviated, it's nice to know, I > can use his site for ideas, scripts and syntax > > > thks! You're welcome. Arno keeps developing his handy script to include latest modules, IPv6, etc. His latest version is 2.0.1b, but portage only has 1.9.2a and 1.9.2d at the moment. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] SSD performance tweaking
On Sun, Aug 26, 2012 at 11:14 AM, Alex Schuster wrote: > Whatever. Then align to 8K instead. But what does this have to do with the > erasable page size? Short answer: Any page written to a block already containing data, the whole block must be erased. This is the "erase block size" people talk about. Block size is always divisible by page size. So if you align to the erase block size, you will always be okay. Long answer: NAND flash cells do not operate like a normal HDD storage, they can only be written to when they are empty. Empty meaning null, devoid of data, unallocated, not just "filled with zeroes" or "ignored by filesystem". So, any time you want to write to a block that already contains data, it must be erased and re-written by the drive controller. On most current-generation SSD the block size is 512k and contains 128 pages (4k each page). In older/slower SSD, or other kind of flash devices like CompactFlash or SD cards, often the erase block is larger, usually 4M or sometimes even up to 16M. (Definitely check the specs for your specific model of SSD to find the correct values.) SSD can write at page-size chunks of data, which is very fast, but only in an empty block. So if the block has data, that data must be relocated or erased and rewritten. TRIM feature tells the SSD that these pages are not used anymore, and allows it to do better garbage collection and combine pages/deallocate those unused blocks. Next time you write to one of those blocks, it will be very fast because erase already happened at TRIM time and these unused blocks are available for writing. This is why SSD without TRIM feature become slower once they have filled up. The drive controller has no knowledge of your filesystem, erase overhead is added to every write once the internal NAND free space is used up. So instead of writing a 4k page now it's potentially erasing 512k data then writing 512k data. 256 times more data touched for the same 4k write! (For a case where you have no TRIM support the only possible way to improve performance once a full drive worth of data has been written is to backup, perform ATA Secure Erase, which will clear the SSD allocation metadata, then restore your backup.) Now imagine if the alignment is not correct for both page size and erase block size, then when you write data it could overlap, causing two blocks to be erased and written instead of only one. In the example from the previous paragraph you can see now how the performance degrades even worse, as well as causing extra erases and writes which will potentially reduce the lifetime of your drive. Additional complexity is added by any further layers, filesystem block size, filesystem alignment (I'm looking at you, FAT32), LVM, RAID stripe size, etc... A good article giving more information about the subject is in the English version of Wikipedia: https://en.wikipedia.org/wiki/Write_amplification (disclaimer: all above info is AFAIK, please correct me if I got any facts or advice wrong)
[gentoo-user] Re: arno-iptables-firewall and kernel-3.4.9-gentoo
Mick gmail.com> writes: > Arno's Iptables Firewall Script v1.9.2d > Any ideas? Wow, I thought his work died out years ago? NICE!! Although I have deviated, it's nice to know, I can use his site for ideas, scripts and syntax thks! James
Re: [gentoo-user] GUI for LVM?
On Mon, 27 Aug 2012 04:43:31 -0500, Dale wrote: > > I'm sure the Red Hat tool was in portage at one time. I tried it some > > years ago but was not impressed. > Maybe it was like my ex. It looked better than it turned out to be. ROTFL -- Neil Bothwick Processor: (n.) a device for converting sense to nonsense at the speed of electricity, or (rarely) the reverse. signature.asc Description: PGP signature
Re: [gentoo-user] GUI for LVM?
Neil Bothwick wrote: > On Mon, 27 Aug 2012 02:08:15 -0500, Dale wrote: > >> A while back I saw some info on the KDE version of LVM management. The >> screenshots looked pretty neat and it seems to be really nice. The >> Redhat toolbox looks nice too but I don't guess it will ever be on >> Gentoo. > I'm sure the Red Hat tool was in portage at one time. I tried it some > years ago but was not impressed. > > Maybe it was like my ex. It looked better than it turned out to be. LOL I was just looking at some screenshots. I did get webmin to create my backup LVM tho. It's a bit different but it did work. Making a backup now. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] GUI for LVM?
On Mon, 27 Aug 2012 02:08:15 -0500, Dale wrote: > A while back I saw some info on the KDE version of LVM management. The > screenshots looked pretty neat and it seems to be really nice. The > Redhat toolbox looks nice too but I don't guess it will ever be on > Gentoo. I'm sure the Red Hat tool was in portage at one time. I tried it some years ago but was not impressed. -- Neil Bothwick A good pun is its own reword. signature.asc Description: PGP signature
Re: [gentoo-user] GUI for LVM?
On Mon, 2012-08-27 at 02:08 -0500, Dale wrote: > Bill Kenworthy wrote: > > On Mon, 2012-08-27 at 00:48 -0500, Dale wrote: > >> Bill Kenworthy wrote: ... > >> > >> Dale ... > Well, I recently bought a new 3Tb drive to replace a 250G and a 750G > that was using LVM to make a 1Tb drive. I have deleted the stuff and > was going to use webmin to create a LVM for backups, until I run out of > space at least. I can't figure out how to create a pv in webmin tho. > It looks like it is done in the vg section but not sure. It's been a > long while since I even looked at webmin and IT HAS CHANGED. > > A while back I saw some info on the KDE version of LVM management. The > screenshots looked pretty neat and it seems to be really nice. The > Redhat toolbox looks nice too but I don't guess it will ever be on > Gentoo. Anyway, my problem is remembering which comes first. I try to > remember PVL. Physical first, then volume and then logical. Thing is, > webmin has it in a different order which makes me wonder. :/ I'm sort > of getting used to this confusion. lol > > Now to go study this some more. O_O 2:00AM and I'm staring at a > screen. Jeeez! > > Dale > > :-) :-) > Doesn't look any better at 3.20pm in the afternoon either ... though at least the sun is shining :) BillK
Re: [gentoo-user] GUI for LVM?
Bill Kenworthy wrote: > On Mon, 2012-08-27 at 00:48 -0500, Dale wrote: >> Bill Kenworthy wrote: >>> Is there a GUI in portage for managing an LV? Fedora etc have >>> system-config-lvm but I cant find anything for gentoo. >>> >>> (the commandline tools are good, but this is something where I want a >>> visual check before in case I am assuming something thats wrong). >>> >>> BillK >>> >>> >> Well, webmin is back in portage. There is also a new program called >> kvpm that is in a overlay, kde overlay I think. No further info on that >> since I don't have it installed. I just installed webmin and it is >> there so that may help you. >> >> If you go the webmin route, just emerge it, start the service, point >> your browser to https://localhost:1/ and look under the Hardware >> link on the left. I can NOT say how stable this is or how well it >> works. I just installed it again myself. I seem to recall it was not >> maintained or something and got axed from portage. No idea when it came >> back or anything. Just be careful until you can test it. >> >> Maybe someone will pop up with another GUI too. Oh, it would be a good >> idea to at least know the basics of the command line tools. What if one >> day your LVM fails and you don't have a GUI? Just a thought. ;-) >> >> Hope that helps. >> >> Dale >> >> :-) :-) >> > Thanks Dale ... surprised WebMin is back as its security history was so > dismal. > > I have been using LVM on linux almost all my systems for years and LV on > older unix's before that - but I find the text tools can be confusing > and its too easy to make mistakes. The visual tools give a much clearer > picture so mistakes are (hopefully) less likely. From what I can see, > the GUI's are built on top of the cmdline tools anyway. > > The pvmove is almost finished (nice it can be done online!) so two older > smaller disks can be removed, then the 2T drive moved to a new system > then I can start adding some other little bitty drives Ive been given > back into the LV (well, not the 60G :) > > Dont you just love "Your systems are too old and unsupported so they > must be replaced (no, you cant keep that 2007 Sony Vaio, or that core2 > duo as its over 3 years old). Under the rules you can have a laptop, > but not a desktop however we have some old drives and 2 year old quad > core zeon laying around you can use. And you can use your old drives if > you want. "Use gentoo do you? - your on your own ..." > > I am sure there is logic in there somewhere ... at least I am getting a > new macbook air out of it, as well as a load of extra work to do > moving things around :) > > BillK > > Well, I recently bought a new 3Tb drive to replace a 250G and a 750G that was using LVM to make a 1Tb drive. I have deleted the stuff and was going to use webmin to create a LVM for backups, until I run out of space at least. I can't figure out how to create a pv in webmin tho. It looks like it is done in the vg section but not sure. It's been a long while since I even looked at webmin and IT HAS CHANGED. A while back I saw some info on the KDE version of LVM management. The screenshots looked pretty neat and it seems to be really nice. The Redhat toolbox looks nice too but I don't guess it will ever be on Gentoo. Anyway, my problem is remembering which comes first. I try to remember PVL. Physical first, then volume and then logical. Thing is, webmin has it in a different order which makes me wonder. :/ I'm sort of getting used to this confusion. lol Now to go study this some more. O_O 2:00AM and I'm staring at a screen. Jeeez! Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!