Re: [CentOS] cant boot after installation of centos 5
Muhammad Alif Mohd Latif wrote: Hi all, I'm having problems with the installation of CentOS 5 for i386 to my Dell Percision T4500 Workstation. 5? 5.1? 5.2? The installation run just fine. The installation DVD had been tested before installation. After installation, the installer ask me to reboot. after reboot, when the msg for LVM saying detection of my LVMs, 1 or 2 lines after that my monitor turned off, but i believed the cpu is still running. I tried reboot several times but still got same problem. Can some one help me? Not much to go on. http://www.catb.org/~esr/faqs/smart-questions.html Since you say "Workstation" one might presume that you are running in GUI mode. Have you tried booting to runlevel 1 or 3? Turning off "quiet" mode? Might see some useful hints. In GRUB type "a" to append/edit the kernel boot line. Delete "rhgb quiet" and replace it with "1" or "single" for single-user mode, or "3" for full network boot without GUI. See if anything enlightening shows up. Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
Anne Wilson wrote: On Monday 10 November 2008 00:24:05 Dag Wieers wrote: On Sun, 9 Nov 2008, jarmo wrote: Has anyone info about package hwinfo for Centos, rhel, fedora? Nice piece of commandline tools. I tried, but hwinfo is very SuSE specific. Dag, I used hwinfo years ago on Mandrake/Mandriva systems. Maybe something helpful there? I agree with jarmo - it's an excellent tool This SRPM builds/runs on CentOS 5.2. http://oss.oracle.com/projects/yast/dist/files/el5/src/hwinfo-13.57-2.src.rpm BuildRequires: doxygen flex hal-devel perl-XML-Parser perl-XML-Writer udev Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Parallel/Shared/Distributed Filesystems
I'm looking at using GFS for parallel access to shared storage, most likely an iSCSI resource. It will most likely work just fine but I am curious if folks are using anything with fewer system requisites (e.g. installing and configuring the Cluster Suite). Specifically to our case, we have 50 nodes running in-house code (some in Java, some in C) which (among other things) receives JPGs, processes them and stores them for later viewing. We are looking to deploy this filesystem specifically for this JPG storage component. All nodes are running Centos 5.1 x86_64. -geoff Geoff Galitz Blankenheim NRW, Deutschland http://www.galitz.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
Anne Wilson kirjoitti viestissään (lähetysaika maanantai, 10. marraskuuta 2008): > On Monday 10 November 2008 00:24:05 Dag Wieers wrote: > > On Sun, 9 Nov 2008, jarmo wrote: > > > Has anyone info about package hwinfo for > > > Centos, rhel, fedora? > > > Nice piece of commandline tools. > > > > I tried, but hwinfo is very SuSE specific. > > Dag, I used hwinfo years ago on Mandrake/Mandriva systems. Maybe something > helpful there? > > I agree with jarmo - it's an excellent tool > > Anne I tried MDV packet, but there is some depencies what didn' match even I have required libaries installed, but ofcourse wrong serial. As well as connectivas package, didn't get SuSe's yet, but bet there's maybe other depencies required than tose other distro's. Original Hwinfo is made for Debian based systems, I think. Jarmo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can I use 2 HDD's with the same LVM labels at the same time?
On Sun, 2008-11-09 at 23:51 -0800, nate wrote: > Rudi Ahlers wrote: > > > Basically, most HDD's are setup the same, but I want to add another > > HDD to the same server, and use data on both HDD's. > > > > So, do I rename System with vgrename then? > > If your wanting to add a new disk to the same volume > group and use it then no you don't need to rename > anything, you can use the vgextend command after > running pvcreate on the new disk to extend the > existing volume group to the new disk. > > If your wanting to add an existing disk to a system > that already has a conflicting volume group name in > it, then yes you'll need to vgrename one of them so > they do not conflict. Hmmm. I've not seen vgexport/vgimport mentioned. Will this be needed? I'm not sure for this particular situation. > > nate > -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Hiding Files in Samba
Vandaman Wrote: >hide files = /~*/ johnStanley Write: Did not think of the hide files option untill someone mentioned it earlier. So to be correct you are using samba to share out Win Shares right? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [SOLVED] Problem with widescreen display
On Mon, 2008-11-10 at 00:20 +, Marko Vojinovic wrote: > On Saturday 01 November 2008 22:08, Marko Vojinovic wrote: > > Basically, what I did was to run system-config-display to reconfigure for > > the new monitor and resolution. All goes well, but after X restarts, I see > > a strange picture: the resolution indeed goes to 1680x1050 as is supposed > > to, but is squeezed/shrinked/scaled horizontally to match a 4:3 aspect > > ratio, leaving two (unequal) black bands on the left and right side of the > > monitor. > [snip] > > The very same hardware and virtually same X configuration work perfectly ok > > on FC4 > [snip] > > Ok, just for the record, I resolved the issue, in the following way: > > - took the exact modeline parameters for 1680x1050 (known to work) from FC4's > Xorg.0.log and copy-pasted it into CentOS's xorg.conf > - also took the DisplaySize, HorizSync and VertRefresh parameters from the > Fedora's log and put it into xorg.conf > - Disabled the DDC (undocumented option!!!) <- CRUCIAL PART !!! > - took the modeline parameters for various other resolutions since without > DDC > nothing gets autoconfigured > - restarted X > > Now everything works perfectly, and my hacked xorg.conf is just the default > one with the following "Monitor" section: > > Section "Monitor" > Identifier "Monitor0" > ModelName "LCD Panel 1680x1050" > # hacked DisplaySize --- note that the values are *wrong*, > # monitor is actually 470x300 mm > DisplaySize 370 280 > HorizSync 31.5 - 90.0 > VertRefresh 60.0 - 60.0 > Option "dpms" > # turned off the DDC; didn't know which option would do > # the job so put them both there > Option "NoDDC" "true" > Option "DDC" "false" > # various modelines, taken from Fedora's log: > Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 > -hsync > +vsync > Modeline "1400x1050" 122.00 1400 1488 1640 1880 1050 1052 1064 1082 > +hsync > +vsync > Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync > +vsync > Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync > -vsync > EndSection > > Hopefully someone with a similar problem maybe finds this useful. ;-) Well, I think its utility is such that it ought to be in the wiki hints. If you have time and interest, why don't you ask the folks for access and location in the wiki? Adding a little commentary about the meaning of the values would make it useful to similar, but slightly different, setups as well. Glad you "fingered" it out. > > Best, :-) > Marko > -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
On Sun, Nov 9, 2008 at 9:06 AM, partha chowdhury <[EMAIL PROTECTED]> wrote: > Lanny Marcus wrote: >> 01 /dev/hda1 ntfs Active >> 02 /dev/hda2 ext3 (/boot) >> 03 /dev/hda3 unknown (CentOS LVM) > > AFAIK,in centos or fedora a boot partition cannot reside in an LVM volume.a > boot partition must be a regular ext2 or ext3 file system. Yes. There's a separate ext3 partition, /boot, with 102 MB, that's /dev/hda2 and it isn't in an LVM. Problem now, as I just replied to Vandaman, is that my CentOS 5 Installation DVD got damaged, after I reinstalled GRUB and before I could modify two configuration files. I have several Live CDs, but don't know how to get real "root" privileges with them. Sorry for delay in my reply. Our ADSL was down. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
On Mon, 10 Nov 2008, Anne Wilson wrote: On Monday 10 November 2008 00:24:05 Dag Wieers wrote: On Sun, 9 Nov 2008, jarmo wrote: Has anyone info about package hwinfo for Centos, rhel, fedora? Nice piece of commandline tools. I tried, but hwinfo is very SuSE specific. Dag, I used hwinfo years ago on Mandrake/Mandriva systems. Maybe something helpful there? Hmm, then I am probably confusing it with some other tool I tried to package coming from SuSE. I do have a SPEC file on my buildsystem, but it does not work. I will investigate when I find the time. -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Parallel/Shared/Distributed Filesystems
Geoff Galitz Blankenheim NRW, Deutschland http://www.galitz.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nate Sent: Montag, 10. November 2008 16:32 To: centos@centos.org Subject: Re: [CentOS] Parallel/Shared/Distributed Filesystems >If you really want GFS then I would look into running NFS over >GFS with a high availability NFS cluster. Red Hat wrote this >useful doc on how to deploy such a system: The main issue is that we feel that our current solution (Linux NFS Clients -> NetApp) is not sufficient. Our team comes from a Solaris background (my colleague) and an HPC background (me) and are worried about running into scalability issues as our infrastructure grows and the internal network becomes busier and busier. We've already been wrestling with issues such as broken mountpoints, stale mounts and unrecoverable hangs. Fortunately those issues have all been resolved for now, but as we continue to grow we may see them recur. Consider all that as background. The NetApp is running out of space and we prefer to not replace it with another one, if possible. To that end we are exploring our options. I played around with iSCSI, Multipath and NFS and have found that works quite well so far. Queuing data for delivery when a node become unavailable using multipath would be sufficient for our needs. Our internal monitoring systems can take action if a server becomes unavailable and the data can be queued up long enough for any recovery actions to complete (apart from the next big earthquake). We do not necessarily require a more traditionak redundant storage system (such as an NFS cluster with dedicated NFS server nodes)... but we are not ruling that out, either. Just all food for thought. -geoff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
On Sun, Nov 9, 2008 at 4:22 AM, Vandaman <[EMAIL PROTECTED]> wrote: >> There is a Permissions problem, when I try to access >> /boot/grub/grub.conf and /etc/fstab so I can edit them. How >> can I do >> that, using the Live CD's I have? I need root access. > > Instead of using a LIVECD, have you tried using the CentOS > rescue CD and then using the grub command. I don't have Centos 5 > but you can look at the CentOS docs or a quick Fedora example below. > > http://dailypackage.fedorabook.com/index.php?/archives/158-System-Recovery-Week-Rescue-Mode-and-Reinstalling-Grub.html Initially, I was able to boot the CentOS 5 Installation DVD and that is how I reinstalled GRUB, using "linux rescue", after the reinstallation of MS Windows on this dual boot box. Somehow, the CentOS 5 Installation DVD got damaged, as I tried to resolve this problem, so now I am limited to the Live CDs I have and since I am very limited in my knowledge of Linux, I don't know how to get real root privileges, while using the Live CDs. Seems like I need to solve two (2) problems, in order to get GRUB working properly again on this dual boot box and be able to boot into Linux again: (a) Get real root access, while using Live CD's (b) Modify one or two configuration files (/etc/fstab and /boot/grub/grub.conf) to reflect the fact that now there is only one partition for Windows, where previously there were four Windows partitions. Question: You mentioned the "CentOS rescue CD". Is there something else, other than the CentOS 5 Installation DVD I have, which is damaged? Our DSL is very slow (550) so it would take me a long time to try to download that. Note: Sorry for my delay in replying to you. Our ADSL went down yesterday and the phone company just fixed their problem. TIA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HA Storage Cookbook?
Les Mikesell wrote: But, I think the OP's real problem is that everything is tied to one single large drive (i.e. the software mirroring is mostly irrelevant as ... I think that Les makes a good point, and I'd like to push the point even more generally: providing network file storage, via SAN or NFS is that when you have a single service instance, you need procedures and/or layers of caching to deal with outages. I've been using a DRBD cluster joined by a bonded GigE switch and it replicates quite quickly. My issues have been related to Heartbeat and monitoring. We've learned it's very important to practice and tune the fail-over process and detect on file system performance rather than merely pinging. Also, it's necessary to monitor application performance to see if your storage nodes are suffering load issues. I've seen a two-core nfs server perform reliably under load 6-7 but it starts to get unhappy at any higher load. Ironically, we've had absolutely no hard drive errors yet. Hardware things that come to mind are: mother boards: I've had more mother board and ram failures than drive failures with the systems we've had. Raid cards: we've had to swap out 2 3Ware raid controllers also. Network failures will get you down if you're looking for uptime as well: we recently had a nic in one of our storage nodes get into a state where it was spouting 60Mbit of bad packets and created quite a layer-2 networking issue for two cabinets of web servers and two ldap servers. When the ldap servers couldn't respond, the access to the storage nodes got even worse. It was a black day. The next thing in our setup has to do with reliance of NFS. NFS may not the best choice to put behind web-servers, but it was quickest. We're adjusting our application to caching the data found on NFS nodes on local file-systems so that we can handle an NFS outage. My take is: if you're a competent Linux admin, DRBD will cost you less with by using appropriate servers be more maintainable than an appliance. The challenge of course is working out how to reduce response time when any hardware goes sour. Good luck Jed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
Lanny Marcus wrote: [snip] I have several Live CDs, but don't know how to get real "root" privileges with them. Often "su -" in a terminal window is all that's required to get root for a live CD. Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Parallel/Shared/Distributed Filesystems
Geoff Galitz wrote: > > > > I'm looking at using GFS for parallel access to shared storage, most likely > an iSCSI resource. It will most likely work just fine but I am curious if > folks are using anything with fewer system requisites (e.g. installing and > configuring the Cluster Suite). Export the iSCSI resource to a box and re-export it over NFS would be quite a bit simpler, sounds like your JPG needs are very basic, GFS sounds overkill. Note that iSCSI isn't very fast at all, if your array supports fiber channel I'd highly recommend that connectivity to the NFS servers over iSCSI any day. If your only choice is iSCSI then I suggest looking into hardware HBAs, and certainly run jumbo frames for the iSCSI links, use dedicated network connections for the iSCSI network. And if you want even higher performance use dedicated links for the NFS serving as well also with jumbo frames. If you really want GFS then I would look into running NFS over GFS with a high availability NFS cluster. Red Hat wrote this useful doc on how to deploy such a system: http://sources.redhat.com/cluster/doc/nfscookbook.pdf My company does something similar, that is we process terrabytes of data every day for our application, amongst a good 150 servers or so, today we are using a 520-disk BlueArc-based NAS solution that the company bought about 4 years ago, looking to replace it with something else as the NAS portion will be end of lifed soon. I absolutely would not trust any linux-based NFS or even GFS over a well tested/supported solution myself for this kind of requirement(most of the cost of the solution is the back end disks anyways). Though if the volume of data is small, and the I/O rates are small as well you can get by just fine with a linux based system. If your using iSCSI your performance bottleneck will likely be the iSCSI system itself anyways, rather than the linux box(s). nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
On Monday 10 November 2008 00:24:05 Dag Wieers wrote: > On Sun, 9 Nov 2008, jarmo wrote: > > Has anyone info about package hwinfo for > > Centos, rhel, fedora? > > Nice piece of commandline tools. > > I tried, but hwinfo is very SuSE specific. Dag, I used hwinfo years ago on Mandrake/Mandriva systems. Maybe something helpful there? I agree with jarmo - it's an excellent tool Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Parallel/Shared/Distributed Filesystems
Geoff Galitz wrote: I'm looking at using GFS for parallel access to shared storage, most likely an iSCSI resource. It will most likely work just fine but I am curious if folks are using anything with fewer system requisites (e.g. installing and configuring the Cluster Suite). Specifically to our case, we have 50 nodes running in-house code (some in Java, some in C) which (among other things) receives JPGs, processes them and stores them for later viewing. We are looking to deploy this filesystem specifically for this JPG storage component. All nodes are running Centos 5.1 x86_64. -geoff Hi Maybe you can consider pNFS, parallel NFS: http://www.pnfs.com/ Regards Marcelo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Parallel/Shared/Distributed Filesystems
Geoff Galitz wrote: > The NetApp is running out of space and we prefer to not replace it with > another one, if possible. To that end we are exploring our options. NetApp, while it has a big name has the worst level of space efficiency in the industry and it's performance isn't so hot either. It does have some nice features though it depends on your needs. The solutions we are looking at here is a 3PAR T400-based back end with a Exanet EX1500 cluster(2-node) front end, and a HDS AMS2300-based back end with a BlueArc Titan 3100 cluster(2-node) front end. Though I'm not at all satisfied with the scalability of the AMS2300 the vendor is grasping at straws trying to justify it's existence, the higher end AMS2500 would be more suitable (still not scalable), though the vendor refuses to quote it because it's not due till late this year/early next. Both NAS front ends scale to 8 nodes(with Exanet claiming unlimited nodes though 8 is their currently supported maximum). 8 nodes is enough performance to drive 1,000 SATA disks or more. The 3PAR T400 back end has linear scalability to 1,152 SATA disks (1.2PB), the AMS2300 goes up to 240 disks(248TB). Both NAS front end clusters can each address a minimum of 500TB of storage(per pair) and support millions of files per directory without a performance hit. I talked with NetApp on a couple of occasions and finally nailed down that their competitive solution would be their GX product line but I don't think they can get the price to where the competition is as they promised pricing 3 weeks ago and haven't heard a peep since. The idea is to be able to start small(in our case ~100TB usable), and be able to grow much larger as the company needs within a system that can automatically re-balance the I/O as the system expands for maximum performance while keeping a price tag that is within our budget. Our current 520-disk system is horribly unbalanced and it's not possible to re-balance it without massive downtime, the result is probably at least a 50% loss in performance overall. Of course there are lots of other goals but that's the biggie. The 3PAR/Exanet solution can scale within a single system to approx 630,000 SpecSFS IOPS on a single file system, the HDS/BlueArc solution can scale to about 150,000 SpecSFS IOPS on a couple of file systems. The 3PAR would have 4 controllers, Exanet would have 8 controllers, HDS would have 2 controllers, BlueArc would have 2 controllers at their peak. In both cases the performance "limit" is the back end storage, not the front end units. Of course nothing stops the NAS units from being able to address storage beyond a single array but you lose the ability to effectively balance the I/O across multiple storage systems in that event which leads to the problem we have with our current system. Perhaps if your willing to spend a couple million a HDS USP-based system might be effective balancing across multiple systems with their virtualized thingamabob. Our budget is a fraction of that though. NetApp's (non-GX) limitations prevent it from competing in this area effectively.(They do have some ability to re-balance but it pales in comparison). nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] cant boot after installation of centos 5
Hi all, I'm having problems with the installation of CentOS 5 for i386 to my Dell Percision T4500 Workstation. The installation run just fine. The installation DVD had been tested before installation. After installation, the installer ask me to reboot. after reboot, when the msg for LVM saying detection of my LVMs, 1 or 2 lines after that my monitor turned off, but i believed the cpu is still running. I tried reboot several times but still got same problem. Can some one help me? -- Department of Chemistry, Faculty of Science, Universiti Putra Malaysia, 43400 Serdang, Selangor, MALAYSIA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
Dag Wieers wrote: > Hmm, then I am probably confusing it with some other tool I > tried to package coming from SuSE. I do have a SPEC file on > my buildsystem, but it does not work. I will investigate > when I find the time. > Hwinfo is SUSE specific. Debian page says :- Debian -- Details of package hwinfo in sid hwinfo is the hardware detection tool used in SuSE Linux. In Debian Edu ( Skolelinux) hwinfo has shown better results than discover when detecting mouse, .. The Mandriva spec file lists :- Add debian patch to get it build in non-suse distro Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
Anne Wilson wrote on Sun, 9 Nov 2008 09:51:16 +: > > /root/.bashrc > > That's exactly what I was looking for, thanks. That was already told very early on, but you didn't notice it! Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
On Mon, Nov 10, 2008 at 11:38 AM, Phil Schaffner <[EMAIL PROTECTED]> wrote: > Lanny Marcus wrote: >> I have several Live CDs, but >> don't know how to get real "root" privileges with them. > > Often "su -" in a terminal window is all that's required to get root for a > live CD. Phil: I think I tried that, Saturday afternoon, but I will try it again, after my daughter gets home. As I recall, that did not get me into the true "root" environment, but into root for the Live CD. I will try it again, with each of the 3 Live CD's, and report back to the list. When I tried to edit one of the configuration files I need to edit, it was a different configuration file, provided by the Live CD. Thanks! Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Monday 10 November 2008 19:31:21 Kai Schaetzl wrote: > Anne Wilson wrote on Sun, 9 Nov 2008 09:51:16 +: > > > /root/.bashrc > > > > That's exactly what I was looking for, thanks. > > That was already told very early on, but you didn't notice it! > Looking back, I still can't see it, Kai. I remember being told to look in ~/.bashrc. Still, the important thing is that I now know where to look. Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Mon, 10 Nov 2008 at 7:42pm, Anne Wilson wrote Looking back, I still can't see it, Kai. I remember being told to look in ~/.bashrc. If you're root (why are you logging in as root?), then ~ *is* /root. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Monday 10 November 2008 19:45:32 Joshua Baker-LePain wrote: > On Mon, 10 Nov 2008 at 7:42pm, Anne Wilson wrote > > > Looking back, I still can't see it, Kai. I remember being told to look > > in ~/.bashrc. > > If you're root (why are you logging in as root?), then ~ *is* /root. I wasn't - that's the whole point. That's why I didn't find it. Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Monday 10 November 2008 19:56:52 Anne Wilson wrote: > On Monday 10 November 2008 19:45:32 Joshua Baker-LePain wrote: > > On Mon, 10 Nov 2008 at 7:42pm, Anne Wilson wrote > > > > > Looking back, I still can't see it, Kai. I remember being told to look > > > in ~/.bashrc. > > > > If you're root (why are you logging in as root?), then ~ *is* /root. > > I wasn't - that's the whole point. That's why I didn't find it. > I guess that the OP thought I was when he said that, though Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Autodetecing RAID members upon boot... need to update initrd?
Tim Nelson wrote: > If my assumptions are correct, the onboard drives are detected first, then > the arrays assembled, and after the system has passed control from the > initrd to boot, THEN the addon controller is detected and hence the third > drive (sdc). If I am correct, then I need to update my initrd for the system > to see and use that third drive during the boot process. Can anyone lend a > few tips or pointers on how to proceed? I essentially need the sata_sil > driver to be included in the initrd. Check the man page for mkinitrd, it's pretty self explanatory. I suggest you back up the existing initrd first, just in case there's a problem. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Linux backup help
Hi All; I'm awaiting a new linux laptop that will be my primary work machine. I want to implement a strategy that allows me as easily as possible to revert back to a former state. My primary concern is a scenario where I apply system updates and it breaks something that for me is critical. I wonder if a simple rsync script would work. If so, here's what I'm thinking: 1) updates are available so I execute the rsync script which pulls any updated files from my laptop to a backup server/drive 2) apply updates 3) if something breaks (even if I can no longer login) I boot the laptop, run the rsync script in the opposite direction (push files from the backup drive to the laptop) I assume that if I were to execute step 3 above that my system would be in the exact state that it was before I ran the updates. Is this a correct assumption ? Are there better approaches ? Thanks in advance.. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Mon, 2008-11-10 at 20:11 +, Anne Wilson wrote: > On Monday 10 November 2008 19:56:52 Anne Wilson wrote: > > On Monday 10 November 2008 19:45:32 Joshua Baker-LePain wrote: > > > On Mon, 10 Nov 2008 at 7:42pm, Anne Wilson wrote > > > > > > > Looking back, I still can't see it, Kai. I remember being told to look > > > > in ~/.bashrc. > > > > > > If you're root (why are you logging in as root?), then ~ *is* /root. > > > > I wasn't - that's the whole point. That's why I didn't find it. > > > I guess that the OP thought I was when he said that, though Helped by circumstances. _Normally_, the default install has those aliases only assigned for root, due to the great risk to the system. So it would be a natural assumption. As usual "assume" has its risks. > > Anne > -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Autodetecing RAID members upon boot... need to update initrd?
Hello fellow CentOS'ers- I've got a system running CentOS 5.0. The motherboard has two onboard SATA ports with two drives attached. I installed the system on a RAID1 setup. However, I'd like to add a hotspare disk to the array. Since there are no additional SATA ports, I've installed an additional controller. After partitioning, the additional drive was easily and successfully added to the existing array as a spare. However, the problem is when the system boots. The hotspare disk is never detected and added to the array. I believe it could be due to the driver for the addon card not being in the initrd? If I run 'fdisk -l', I see this: ---BEGIN--- Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 fd Linux raid autodetect /dev/sda2 14 523 4096575 fd Linux raid autodetect /dev/sda3 524 60801 484183035 fd Linux raid autodetect Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 13 104391 fd Linux raid autodetect /dev/sdb2 14 523 4096575 fd Linux raid autodetect /dev/sdb3 524 60801 484183035 fd Linux raid autodetect Disk /dev/md2: 495.8 GB, 495803301888 bytes 2 heads, 4 sectors/track, 121045728 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md2 doesn't contain a valid partition table Disk /dev/md1: 12.5 GB, 12584288256 bytes 2 heads, 4 sectors/track, 3072336 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md1 doesn't contain a valid partition table Disk /dev/md0: 106 MB, 106823680 bytes 2 heads, 4 sectors/track, 26080 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md0 doesn't contain a valid partition table Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 * 1 13 104391 fd Linux raid autodetect /dev/sdc2 14 523 4096575 fd Linux raid autodetect /dev/sdc3 524 60801 484183035 fd Linux raid autodetect ---END--- If my assumptions are correct, the onboard drives are detected first, then the arrays assembled, and after the system has passed control from the initrd to boot, THEN the addon controller is detected and hence the third drive (sdc). If I am correct, then I need to update my initrd for the system to see and use that third drive during the boot process. Can anyone lend a few tips or pointers on how to proceed? I essentially need the sata_sil driver to be included in the initrd. All tips welcome. Thank you! Tim Nelson Systems/Network Support Rockbochs Inc. (218)727-4332 x105 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Running From Live DVD & Keeping Settings Between Boots
Someone posted how to use a memory card (USB or another kind) to save settings between boots of a Live CD/DVD. I believe it was posted not too long ago and I thought I had kept the email, but now that I'm looking for the information, I can not find it. I've done some searching and I either get way too many hits or way too few, none of which are what I'm looking for. Does anyone remember that post and can forward that message to me? Thanks. -- Brent L. Bates (UNIX Sys. Admin.) M.S. 912 Phone:(757) 865-1400, x204 NASA Langley Research CenterFAX:(757) 865-8177 Hampton, Virginia 23681-0001 Email: [EMAIL PROTECTED] http://www.vigyan.com/~blbates/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Monday 10 November 2008 20:30:13 William L. Maltby wrote: > > Helped by circumstances. _Normally_, the default install has those > aliases only assigned for root, due to the great risk to the system. > > So it would be a natural assumption. As usual "assume" has its risks. > Well, it might have been painful at the time, dealing with this and with the damage on the box after the kernel bug at the same time, but I've learned a good deal, thanks to the patient answers to my questions. Every cloud has a silver lining :-) Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Autodetecing RAID members upon boot... need to update initrd?
I wanted to MaKe and INITRD and you sent me to check out MKINITRD. How thoughtful... :-) Kidding aside, I appreciate the suggestion. I checked it out and simply ran a 'mkinitrd --with=sata_sil /path/to/newinitrd ' and rebooted. When grub popped up, I edited the initrd line to reflect the new initrd. It worked like a charm. I've since updated the grub.conf permanently and everything works as expected when rebooted. Thanks again for the pointers. In the future, when upgrading the kernel, will future initrd's be built with my current modules or will I have to manually create new initrd's after each update? Tim Nelson Systems/Network Support Rockbochs Inc. (218)727-4332 x105 - "nate" <[EMAIL PROTECTED]> wrote: > Tim Nelson wrote: > > > If my assumptions are correct, the onboard drives are detected > first, then > > the arrays assembled, and after the system has passed control from > the > > initrd to boot, THEN the addon controller is detected and hence the > third > > drive (sdc). If I am correct, then I need to update my initrd for > the system > > to see and use that third drive during the boot process. Can anyone > lend a > > few tips or pointers on how to proceed? I essentially need the > sata_sil > > driver to be included in the initrd. > > > Check the man page for mkinitrd, it's pretty self explanatory. I > suggest > you back up the existing initrd first, just in case there's a > problem. > > nate > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
On Mon, Nov 10, 2008 at 11:38 AM, Phil Schaffner <[EMAIL PROTECTED]> wrote: > Lanny Marcus wrote: >> I have several Live CDs, but >> don't know how to get real "root" privileges with them. > > Often "su -" in a terminal window is all that's required to get root for a > live CD.> Phil: I'm running on my CentOS 5.2 Live CD, in the belief that one is better able to help me than the Knoppix or SystemRescue Live CDs (the SystemRescue CD is very old). On the GNOME Desktop, there's an Icon for "Local Hard Drives". If I double click on that, it shows hda2 which is the /boot ext3 partition (102 MB) There is also an Icon for "Local Logical Volumes". If I double click on that, it shows VolGroup00-LogVol00 and everything is there, in the LVM. :-) Here's the result of the "mount" command [EMAIL PROTECTED] ~]$ mount /dev/mapper/livecd-rw on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /dev/hdc on /mnt/live type iso9660 (ro) /dev/hda2 on /mnt/disc/hda2 type ext3 (ro) /dev/mapper/VolGroup00-LogVol00 on /mnt/lvm/VolGroup00-LogVol00 type ext3 (ro) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) [EMAIL PROTECTED] ~]$ Question: Is /hda3 mounted properly? I don't think so, because when I try to boot Linux from the Grub menu on the HD, it gives me "Error 17: Cannot mount selected partition" Here's the contents of fstab (which I'm looking at Read Only) /dev/VolGroup00/LogVol00 / ext3defaults1 1 LABEL=/boot /boot ext3defaults1 2 devpts /dev/ptsdevpts gid=5,mode=620 0 0 tmpfs /dev/shmtmpfs defaults0 0 proc/proc procdefaults0 0 sysfs /syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswapdefaults0 0 /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0 What I need to modify in fstab is the last line. I need to change it from /dev/hda6 to /dev/hda1 so I can read/write NTFS files from CentOS. If I can get to the 2 configuration files (fstab and grub.conf) with true root access, so I can modify them, with Gedit I should be able to get this box working on Linux again. Not sure of the proper locations to give for those files, so I can get to them from a terminal window, after "su -", with gedit. These are the types of trivial problems which cause newbies frustration. On the other hand, there have been times, when my wife and daughter cannot do something on M$ Windows and they can do it on Linux. :-)This would be easier, I'm sure, if my CentOS 5 Installation DVD hadn't gotten damaged Saturday. Your time, help and willingness to share your expertise are much appreciated! Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running From Live DVD & Keeping Settings Between Boots
On Mon, Nov 10, 2008 at 3:33 PM, Brent L. Bates <[EMAIL PROTECTED]> wrote: > Someone posted how to use a memory card (USB or another kind) to save > settings between boots of a Live CD/DVD. I believe it was posted not too long > ago and I thought I had kept the email, but now that I'm looking for the > information, I can not find it. I've done some searching and I either get way > too many hits or way too few, none of which are what I'm looking for. Does > anyone remember that post and can forward that message to me? Thanks. I'm running on my CentOS 5.2 Live CD and I just looked at all the GNOME menus. If that's something one can do from the menu, it's not intuitively obvious. If you find out how to do this, please post back to the ML. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
Vandaman wrote: Dag Wieers wrote: Hmm, then I am probably confusing it with some other tool I tried to package coming from SuSE. I do have a SPEC file on my buildsystem, but it does not work. I will investigate when I find the time. Hwinfo is SUSE specific. Debian page says :- Debian -- Details of package hwinfo in sid hwinfo is the hardware detection tool used in SuSE Linux. In Debian Edu ( Skolelinux) hwinfo has shown better results than discover when detecting mouse, .. The Mandriva spec file lists :- Add debian patch to get it build in non-suse distro At the risk of repeating myself - it does build/run on CentOS 5. http://lists.centos.org/pipermail/centos/2008-November/067612.html Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
On Mon, Nov 10, 2008 at 12:58 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote: > > > Here's the result of the "mount" command > > [EMAIL PROTECTED] ~]$ mount > /dev/mapper/livecd-rw on / type ext3 (rw,noatime) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > tmpfs on /dev/shm type tmpfs (rw) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > /dev/hdc on /mnt/live type iso9660 (ro) > /dev/hda2 on /mnt/disc/hda2 type ext3 (ro) > /dev/mapper/VolGroup00-LogVol00 on /mnt/lvm/VolGroup00-LogVol00 type ext3 (ro) > sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > [EMAIL PROTECTED] ~]$ > > Question: Is /hda3 mounted properly? I don't think so, because when I > try to boot Linux from the Grub menu on the HD, it gives me "Error 17: > Cannot mount selected partition" > When I had this error, it meant that grub could not find the boot partition itself. (The boot PROM did, but grub doesn't see the disks the same way and can get lost.) Someone just answered earlier in this thread that you need to change your hd(0,2) to hd(0,1) on the grub boot line. That should work. You don't need to do this from any special rescue boot, just boot the system, and when the grub stage 2 boot selection shows with its countdown, stop it (with the space bar) and use the grub shell to edit that line and it _should_ boot properly. If WCTW, instead of downloading the CentOS 5 DVD, just pull down the first CD image and burn that. It's a lot shorter than the whole DVD, and it's all you need to get into rescue mode. HTH mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
Phil Schaffner wrote: > At the risk of repeating myself - it does build/run on > CentOS 5. > > http://lists.centos.org/pipermail/centos/2008-November/067612.html > That is not in dispute. I was responding to the claim that "Hwinfo is made for Debian based systems". Why would debian add a patch to get it to build on none-suse systems if its "made for debian systems"? http://lists.centos.org/pipermail/centos/2008-November/067613.html Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux backup help
Kevin Kempter wrote: Hi All; I'm awaiting a new linux laptop that will be my primary work machine. I want to implement a strategy that allows me as easily as possible to revert back to a former state. My primary concern is a scenario where I apply system updates and it breaks something that for me is critical. I wonder if a simple rsync script would work. If so, here's what I'm thinking: 1) updates are available so I execute the rsync script which pulls any updated files from my laptop to a backup server/drive 2) apply updates 3) if something breaks (even if I can no longer login) I boot the laptop, run the rsync script in the opposite direction (push files from the backup drive to the laptop) I assume that if I were to execute step 3 above that my system would be in the exact state that it was before I ran the updates. Is this a correct assumption ? Depends in part on the rsync commands, the file structure, and the order of operations. Restoring over a running system would overwrite files that are in use, particularly in /etc and /var - not a good idea. Restoring from a backup of a live system would restore copies of files that might have been in the process of being changed. Would be safer to do this using a live CD for both the backup and the restore. Would want to do the backup/restore on a per-filesystem basis. Assuming you have / /boot and /home: rsync --archive --delete --hard-links --one-file-system / /backup/laptop/ rsync --archive --delete --hard-links --one-file-system /boot/ /backup/laptop/boot/ rsync --archive --delete --hard-links --one-file-system /home/ /backup/laptop/home/ On restore would need to mount and restore / first, then mount other partitions and restore them. Are there better approaches ? Perhaps using other backup tools (backuppc has been mentioned favorably recently), but it should be workable; however, this sounds like a time/labor-intensive approach every time there are updates, for a low probability of fatal problems with the OS. Just backing up user files would be a lot faster and easier. Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running From Live DVD & Keeping Settings Between Boots
Brent L. Bates wrote: Someone posted how to use a memory card (USB or another kind) to save settings between boots of a Live CD/DVD. I believe it was posted not too long ago and I thought I had kept the email, but now that I'm looking for the information, I can not find it. I've done some searching and I either get way too many hits or way too few, none of which are what I'm looking for. Does anyone remember that post and can forward that message to me? Thanks. Unless I'm missing something, you must be remembering another distro. Had some discussions on this during 5.2 live CD testing with Patrice Guay who builds the CentOS live CDs. Knoppix has a feature to save to USB, and Fedora 9 uses "persistence" to save changes from their live CD, but as of 5.2 CentOS livecd does not implement it. Phil begin:vcard fn:Philip Schaffner n:Schaffner;Philip org:NASA Langley Research Center;Electromagnetics and Sensors Branch adr:Mail Stop 473;;8 North Dryden Street;Hampton;VA;23681;USA email;internet:[EMAIL PROTECTED] title:Aerospace Technologist tel;work:757-864-1809 tel;fax:757-864-7891 x-mozilla-html:FALSE version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Autodetecing RAID members upon boot... need to update initrd?
>In the future, when upgrading the kernel, will future initrd's be built with >my current modules or will I have to manually create new initrd's after each >update? Good question that I would love to know as well. I thought /etc/sysconfig/mkinitrd handled this, but not ripping apart the srpm of a new kernel, I don’t really know if it bothers doing making the initrd. jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
On Sun, 2008-11-09 at 15:46 +0200, jarmo wrote: > Has anyone info about package hwinfo for > Centos, rhel, fedora? > Nice piece of commandline tools. Though not as verbose compared to hwinfo's output (on debian here) I've found lshw (http://dag.wieers.com/rpm/packages/lshw/) very useful. -- Matthew Kent \ SA \ bravenet.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Linux backup help
Kevin Kempter wrote: Hi All; I'm awaiting a new linux laptop that will be my primary work machine. I want to implement a strategy that allows me as easily as possible to revert back to a former state. My primary concern is a scenario where I apply system updates and it breaks something that for me is critical. I wonder if a simple rsync script would work. If so, here's what I'm thinking: 1) updates are available so I execute the rsync script which pulls any updated files from my laptop to a backup server/drive 2) apply updates 3) if something breaks (even if I can no longer login) I boot the laptop, run the rsync script in the opposite direction (push files from the backup drive to the laptop) I assume that if I were to execute step 3 above that my system would be in the exact state that it was before I ran the updates. Is this a correct assumption ? Are there better approaches ? Thanks in advance.. Taking a disk image snapshot with something like clonezilla might be an alternative for you to consider. http://clonezilla.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running From Live DVD & Keeping Settings Between Boots
On Mon, Nov 10, 2008 at 2:10 PM, Phil Schaffner <[EMAIL PROTECTED]> wrote: > Brent L. Bates wrote: >> >> Someone posted how to use a memory card (USB or another kind) to save >> settings between boots of a Live CD/DVD. I believe it was posted not too >> long >> ago and I thought I had kept the email, but now that I'm looking for the >> information, I can not find it. I've done some searching and I either get >> way >> too many hits or way too few, none of which are what I'm looking for. >> Does >> anyone remember that post and can forward that message to me? Thanks. > > Unless I'm missing something, you must be remembering another distro. Had > some discussions on this during 5.2 live CD testing with Patrice Guay who > builds the CentOS live CDs. Knoppix has a feature to save to USB, and > Fedora 9 uses "persistence" to save changes from their live CD, but as of > 5.2 CentOS livecd does not implement it. Yet another option is to use Scientific Linux LiveCD/DVD: http://linux.web.psi.ch/livecd/save.html Being a "sister" product of CentOS, SL might be a viable option for CentOS users. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - SOLVED
On Mon, Nov 10, 2008 at 4:32 PM, MHR <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 12:58 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote: >> Question: Is /hda3 mounted properly? I don't think so, because when I >> try to boot Linux from the Grub menu on the HD, it gives me "Error 17: >> Cannot mount selected partition" > Someone just answered earlier in this thread that you need to change > your hd(0,2) to hd(0,1) on the grub boot line. That should work. You > don't need to do this from any special rescue boot, just boot the > system, and when the grub stage 2 boot selection shows with its > countdown, stop it (with the space bar) and use the grub shell to edit > that line and it _should_ boot properly. Mark (MHR) and the earlier responder who previously mentioned to change to "root (hd0,1)" in the GRUB boot menu. A_SPECIAL_THANK_YOU! That got me into CentOS5.2 :-) I did notice an error message, when the box was booting, "mounting local filesystems failed" but I think that has to do with mounting the NTFS partition, which I will fix in /etc/fstab after I send this message. > If WCTW, instead of downloading the CentOS 5 DVD, just pull down the > first CD image and burn that. It's a lot shorter than the whole DVD, > and it's all you need to get into rescue mode. OK. I will download the first CD, but not tonight, since my CentOS 5 Installation DVD is now toast. I ran into this problem, Saturday afternoon, and the list is very slow on weekends and then our ADSL went down, because there was a bad card in the phone company Router or some other HW in our subdivision. To everyone who replied, THANK YOU! Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - SOLVED
On Mon, Nov 10, 2008 at 4:32 PM, MHR <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 12:58 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote: >> Question: Is /hda3 mounted properly? I don't think so, because when I >> try to boot Linux from the Grub menu on the HD, it gives me "Error 17: >> Cannot mount selected partition" > > When I had this error, it meant that grub could not find the boot > partition itself. (The boot PROM did, but grub doesn't see the disks > the same way and can get lost.) > > Someone just answered earlier in this thread that you need to change > your hd(0,2) to hd(0,1) on the grub boot line. That should work. You > don't need to do this from any special rescue boot, just boot the > system, and when the grub stage 2 boot selection shows with its > countdown, stop it (with the space bar) and use the grub shell to edit > that line and it _should_ boot properly. > > If WCTW, instead of downloading the CentOS 5 DVD, just pull down the > first CD image and burn that. It's a lot shorter than the whole DVD, > and it's all you need to get into rescue mode. All is well now! :-) I corrected the line in /etc/fstab and I can see the NTFS partition. As I expected, changing the line in the GRUB boot menu, as the box was booting, did not survive a reboot. I edited the lines for the 3 Linux Kernels, in /boot/grub/grub.conf and that fixed that problem I knew I had to edit those files, and what MHR (Mark) explained to me tonight, and apparently a poster prior to him, made it *much* easier. I would like to learn how to do things with the Live CD, but as it turns out, I did not need that for this problem and it just added to my frustration. Thanks again, to everyone! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] bonding theory question
So, I decided to go with mode 6 since my network admin says thats supported at my college. I have everything working perfectly however I still get an occasional packet drop which is not good. http://www.howtoforge.com/network_card_bonding_centos By reading the HOWTO and README.txt I am not sure if I am missing anything else. Has anyone else configured this before? TIA On Sat, Sep 6, 2008 at 2:22 PM, Filipe Brandenburger <[EMAIL PROTECTED]> wrote: > On Sat, Sep 6, 2008 at 13:11, Mag Gam <[EMAIL PROTECTED]> wrote: >> Actually, would there be a big performance boost when using mode4? > > Not necessarily, since balance-rr already gives you load-balancing. > They actually implement it differently. balance-rr can spread packets > of the same TCP connection across the two links, so you may use your > links more, but with the side effect of having your packets delivered > out of order. In 802.3ad all packets of a single TCP connection will > use the same link, this means your links will not be as balanced as > what you get with balance-rr, but it will not require reordering on > the other side of the connection. Check section 12.1.1 in > /usr/share/doc/iputils-*/README.bonding . In any case, you should > evaluate what your needs are and tune for that. > >> Currently I am seeing 95% total throughput. > > If you have only a few clients doing huge transfers, 802.3ad will > probably not be as good as balance-rr for that. Again, you should tune > it for your needs. > >> Which isn't that bad. I am >> peaking at 238MB/sec (each gig/e connections) > > I believe you mean 238MB/sec on both interfaces, since 1Gbps = 125MB/s. > >> Also, mode0 does fault tolerance, meaning if a switch failure occurs >> we should still be good, but how would the packets then be >> transferred? I suppose rr would be disabled since it won't need to >> alternate, correct? > > Actually balance-rr is still there, it is only doing round-robin of > one interface only. Remember, you could have a bonding of 3, 4 or more > interfaces, in that case if you loose one you still have more than one > to balance traffic through. > > Filipe > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Setting up eth0 with address 0.0.0.0
Hello, I'm following instructions in http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-DR.html#route_on_non_ip_interface to allow my xen guest real hosts to serve virtual IP's behind LVS without having to allocate real public IP addresses for each such xen guest. I have eth1 connected via a "back-end" switch to the eth1/xenbr1 of the xen host and the other physical servers, this is the interface that is used by LVS to switch packets over to the real servers. I managed to manually do: # ip route add to dev eth0 # ip route add via and before that, in order to allow outgoing packets to be sent via eth0, I did: # ifconfig eth0 0.0.0.0 up and it works great, but when I try to configure this permanently via ifcfg-eth0 it says: Bringing up interface eth0: connect: Invalid argument [ OK ] Things seem to work OK - the server can serve over the Virtual IP, eth0 doesn't have an IP associated with it etc. But I'm worried about this message. Some relevant config files: ifcfg-eth0: To setup the routes, I followed http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-networkscripts-static-routes.html and http://www.mail-archive.com/centos@centos.org/msg15253.html and put the following in /etc/sysconfig/network-scripts/route-eth0: DEVICE=eth0 ONBOOT=yes TYPE=Ethernet IPADDR=0.0.0.0 NETMASK=0.0.0.0 route-eth0: to dev eth0 via output of "ifconfig eth0": eth0 Link encap:Ethernet HWaddr 00:16:3E:19:E6:97 inet6 addr: fe80::216:3eff:fe19:e697/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2012 errors:0 dropped:0 overruns:0 frame:0 TX packets:250 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:174268 (170.1 KiB) TX bytes:47731 (46.6 KiB) So - did I do this correctly and what should I do to fix the error message? Thanks, --Amos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Rlocate on Centos 5
All, I would like to run Rlocate on centos 5, but i would have to recompile the kernel, which, when reading some posts about custom kernels on centos, is not recommended... Is there another way to get rlocate to work on the stock kernel ? http://rlocate.sourceforge.net/#kernel_configuration -- Test <[EMAIL PROTECTED]> ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Kernel compilation problems
All, I am trying to build a custom kernel, following the howto and some stuff i found on the forums (mkspec.patch) 1. the mkspec.patch gives an error: [EMAIL PROTECTED] linux]# patch -p1 < mkspec.patch (Stripping trailing CRs from patch.) patching file scripts/package/mkspec Hunk #1 succeeded at 103 with fuzz 2 (offset 22 lines). Hunk #2 FAILED at 115. 1 out of 2 hunks FAILED -- saving rejects to file scripts/package/mkspec.rej 2. When i create an rpm out of the standard configfile (/boot/config) the RPM file created is about 100mb which to me seems a bit large...? -- Test <[EMAIL PROTECTED]> ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos