CentOS 5 :: Procedure For Installing On SSD So No Writes Occur Run-time
Apr 6, 2010
I'm working on a project using CentOs 5.3 that uses a solid state drive (SSD) as the boot device. It is desired to configure it such that writes do not typically occur run-time but configuration files can be saved. There are 2 reasons we do not want writes to occur run-time. 1) Writes will wear out a SSD over time. 2) A system disruption during a write can cause a file system error.
I was under the impression that if I have any programs not installed by the package manager, they belong in /usr/local rather than /usr. But if I put the executable in /usr/local/bin, and the jar files into /usr/ local /lib, I get runtime errors about being unable to load the Java classes. So I resorted to putting things in /usr/bin and /usr/lib and it worked fine.Is this something that can only be corrected by compiling differently, or am I missing an installation step?
I am using redhat linux EL5. I am using kernel version 2.6.18-8.el5. In this I want to install mp3 player. I don't know which player is best in redhat. What is the procedure for installing player in redhat. Where I can download RPM Packages.
Is there a way to determine the IO size that is being used for reads and writes to an attached storage device? I am trying to pattern the IO sequences to storage. I have seen mentions to max_sectors_kb but the notes indicated that changing this value did not change the IO size to the storage.
I took the following path: Yast - Hardware - Graphics Card and Monitor; and it gave me message "the configuration is Framebuffer based and your system does not support changes for resolution and/or color settings". I verified my system's(dual boot system) graphics card using windows OS and it showed NVIDIA Quadro FX 570, but in X11 configuration it shows "Card: VESA Framebuffer Graphics" and the Properties tab is not active.
I am looking for a procedure to recover the initial installed state of my system with out over writing user data areas. The install procedure has the phrase "will remove all linux partitions" which interpret to mean data partitions, not just /bin and /. Additional background - Was attempting to build a 32 bit cross compile of Mozilla/Firefox on a x86_64 configuration and had a conflict with libgl. Online advice was to remove duplicate libgls from the system (that was bad advice). This led to running yum update.
When I restarted the system I know longer had wireless networking, ntfs mounts and possibly other features I had installed. Further, attempts to update, re-install, erase and reinstall have had no effect on the situation. My assumption is that I need to start with a clean install - which will be about 10-20 hours to reset all the additions I made. But I don't see another solution.
I had a server with CentOS 5.5 and Asterisk fail today most likely due to the power failure. I guess the stupid electrician turned the power ON and OFF multiple times while changing the burned out fuse without unplugging the PBX. It was set in CMOS to power back on when there is power outage so my two HDDs which were set in RAID-1 now shot.
Trying to start the system and it goes through some check and fixes and then tells me to do Ctrl+D or enter password and run fsck. I have tried both methods and I don't think they yeild anything.
Ctrl+D reboots and same store again with the system fixing and asking me to Ctrl+D again. Putting the password and doing "fsck -y" gives many errors and it fixes it and then it just keeps looping. I am afraid this is making it worst than better. So, after few loops I did few more restarts and just give up. Took out the HDDs and installed new ones and install CentOS+Asterisk so business runs as usual on Monday.
However, I am kind f*ked if I don't get the files out of these HDDs. This is my first time using fsck and also encountering this type of a problem. What is the normal procedure when fixing inodes misplaced in a case like this? and what should I do to at least be able to grab my files?
I have already connected one of the drives to Windows and used Disk Internals (which maps Linux drives) but I see only folders with no contents except for /tmp/ which has contents. While the HDDs were in the system I could actually browse files and they were fine. I am really keen to get the drives fixed but I am also afraid that bad usage of fsck might replace lots of files and burn it all.
I have a 6 disk mdadm RAID 10 array of Western Digital RE3 drives. IOZone and all the other tools I have tried are showing pretty lackluster reads for a six drive RAID 10 array, in the area of 200MB/s. Writes are closer to what I'd expect in that area, around 340MB/s. These drives fly with an Adaptec RAID controller, but as soon as I stick them in an mdadm array, the reads just aren't what I'd expect.
In the right upper corner of your screen,you can see if you have a network connection or not.Most of the time I do not have one according to Networkmanager (?).So I have to enable my wired connection manually.I already tried a lot to change my settings so I would have a network connection at boot,but it doesn't seem to work....Firefox is in Offline modus when I logon..
I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.
[URL]VMware Workstation 7.0.1 Release Notes has a list of supported OS:[URL]According to that, RHEL 5.4 is listed as supported for both host andguest but CentOS 5.4 is only for guest. This is quite strange and, ifit is true, that could be a serious issue.I succeed to install vmware workstaion 7.1 on centos 5.5, but have run-time error:
[root@ ~]# /etc/init.d/vmware start Starting VMware services: VMware USB Arbitrator [ OK ]
I'm using finch as my main chat client but I have some issues, While on Lubuntu 10.10 I get the message "segmentation fault" when I try to engage /call, I also tried starting voice chat In pidgin and pidgin also crashes. this does not occur under Ubuntu 10.10.I have the voice/video plugin installed for pidgin and from what I have been able to derive from the documentation both finch and pidgin uses the same lib.and pls no referring to use other programs, I want to fix this specific Issue with finch.
I have heavy swapping going top and free are indicating a lot free memory in cached form.Why does the kernel not use this memory instead of killing my desktop by swapping like crazy.
I have just purchased my first Linux PC - up to now I have always rolled my own so to speak. It is a little Dell Latitude 2100 which I got a good deal on through the outlet store - a refurb but it looks new. Ubuntu 9.04. It has built in wireless and I have gotten it to talk to my D-Link router although only with WEP and not yet WPA - that will come later.
When is the wireless connection supposed to occur? If I reboot the PC and watch for it to connect (using ping from another machine on the network) it does not appear until I login to it. It remains on the network after I logout(?) Is this normal? I am used to hard wired machines which come up on the network before a user logs in. Is there something I need to change in the network connection settings?
I want to install windows XP but every time I do so I need several days to get linux running again. In linux I use lilo (don't remember the version no.), which I am familiarized with.how to fix the linux partition after I install xp
Looking through syslog, I see some peculiar messages that occur when booting my Debian machine up. Can anyone explain to me, why it seams to think my filesystem is read only, and what do the other messages mean? Is there anything I need to start worrying about?
Feb 26 08:48:21 chris-desktop kernel: [ 4.082355] EXT3-fs (sdb3): recovery required on readonly filesystem Feb 26 08:48:21 chris-desktop kernel: [ 4.082361] EXT3-fs (sdb3): write access will be enabled during recovery
i have downloaded gtgz compressed files for openfoam software but when i try to decompress it an error message appear and the decompression didn't occur.
I'm trying to solve a kernel bug discussed in /show_bug.cgi?id=24002. One clue is that the problem does not occur when the kernel used by the installer for 11.4 is booted. Can any one tell me how to strip down the vanilla kernel to produce the installer kernel? Perhaps if I can strip down the vanilla kernel one step at a time then I can find the bug.
I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an argument separated by spaces.Example: the command /opt/asusg50oled/utils/notify.sh Hi Everybody "Hello World" displays on the oled screen:
Hi Everybody Hello World
If another message is sent before the old ones disappear and it reverts to status info, it pushes off the top message. Example: less than 30 seconds after the previous example, /opt/asusg50oled/utils/notify.sh "Bananas have potassium" is executed:
Everybody Hello World Bananas have potassium
What I want to do is have kernel messages (the kind you see by running dmesg) forwarded to this script. For example, when I insert a USB drive, the following information would show on the OLED screen as they're logged:........
i set up openvpn on server and configure it then create license file for client and done the rest but when the client want to connect i got the following error :
TLS Error: TLS key negotiation failed to occur within 60 seconds
and now the strange part is if i connect my pptpd connection ( which runs on another server ) and then connect openvpn again i connect instantly without any problem or error in my country im sure there is heavy firewall on all outgoing traffic but currently i do not understand what can cause this problem i ran tcpcump and seems server receive packets and send it back to client ( though im not sure if client can get the response ) this is my server.conf
Code:
local myserver ip #Replace with your server IP address port 443 #Replace with the desired port proto udp #Choose between tcp and udp (remove instructions in bold)
I have a pool of approximately 1,000 Linux servers and I would like to get a total count of reboots that occurred on those servers each month. I would like to collect this reboot count at the end of each month. Can anyone tell me what the best way to get this count.
I have created a firewall script to work via iptables on debian. This script is a derivative from the script on [url] and a course I'm following at school.
I'm not looking for a perfect solution or someone to grade my work. how to improve this script. while running this script I get a lot of errors back.
Hibernating windows 7 on dual-boot laptop (9.10 Ubuntu - W7) writes something on MBR which breaks GRUB2. GRUB2 does not load at all after hibernating W7 and the best solution is to reinstall GRUB with Ubuntu 9.10 cd, just follow the instructions at [URL]
I'm seeing sustained disk writes of about 2 MB/s in the indicator-multiload indicator in Unity. I determined that it is writes on my 500GB HDD on /dev/sdb. This behaviour started after I used Gparted to create a single 500GB ext4 partition and also selected that it should be formatted to ext4 in Gparted.
Is this usual? It also survived a reboot.. I assume that it is the full formatting taking place in the background?
I saw no activity using pidstat or iotop. Only using vmstat -d revealed the writes.