Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] mysterious disappearing boot filesystem



Hi everyone,

The thread on temperature control was helpful, thanks for your input everyone. Instead of continuing on that same topic I thought it would be best to start a new thread as I've run into some strange phenomena.

First of all, I downloaded Knoppix 5.0 lSO to test the CPU temperature under stress, and the results seem good so far. The dual core Opteron processor didn't get over 48C under load, so it appears this Zalmann liquid cooling reservoir will be OK. By the way I just have to mention how very impressed I am with Knoppix. I hadn't used Knoppix for a few years and was really blown away at what it can do now- it recognized everything on the system including an obscure RME audio card, KDE came up without issue, gimp and kaffeine were there... really it's remarkable what they can fit on a single CD these days. Right now at work I'm using Knoppix to restore some files from a user's crashed XP system. Linux saving windows. Imagine that.

As far as RAID partitioning and filesystems are concerned, my previous server (that ended up melting down) had a functional raid 1 mirror of everything, including boot sector but this new server has 4 SATA ports so I'm going to use them all: 3 SATA drives for raid 5, and one spare SATA for hot swap. Initially I had planned on putting the boot sector onto a 2Gb compact flash card, but it turns out the BIOS doesn't allow me to boot from USB devices after all, and the CF card is via USB multidrive. I could probably track down an IDE to CF cable adapter in Akihabara and do it that way, but for the time being I decided to put the /boot partition on a standard IDE drive /dev/hda1 and the rest of the OS on the software raid 5 array.

I have installed Centos4.2 but there is some weird behavior occurring after it boots up, so I thought I would ask for some advice.

Here's what I did during install:

1) created /boot on /dev/hda1
2) created 4G swap partition at end of hda
3) created a raid 5 array out of 3 SATA drives /dev/sda /dev/sdb and /dev/sdc which turned into /dev/md0
4) created a single physical volume out of the entire /dev/md0, a volume group /dev/VolGroupRaid5, and logical volumes for remaining filesystems including /var, /home, /tmp,  /opt and /.

After setting this up, I rebooted into rescue mode using Knoppix, did mdadm --misc --detail /dev/md0 and the raid 5 array was shown to be active and state clean with UUU for the 3SATAs. Then I chrooted to /mnt/sysimage to confirm system files had been installed OK. After that I rebooted from default /dev/hda1. Grub booted stage 1.5 etc fine, but for some reason after boot sequence was completed and I had logged in, the /boot filesystem disappeared.

So now, even with KDE up and everything working, the /boot partition is gone, and trying to mount it fails giving error: device already mounted or /dev/hda1 busy. Same error occurs when trying to umount /dev/hda1. fdisk recognizes the partition table on /dev/hda, but for some reason the operating system can't get to it- ls -la of /boot comes up empty. Also, the swap space on  /dev/hda2 cannot be accessed, and smart monitoring fails startup as well.

I've spent a few days trying different things and googling info, but so far no luck. Any thoughts on why this might be happening?

Scott VanDusen
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links