Re: Settings need restoring after reboot - not persistent
Steve Dobbelstein <[email protected]>
| Newsgroups | gmane.linux.evms.devel |
|---|---|
| Message-ID | <OF1733DB7F.07636210-ON06257257.006039A8-06257257.0061456C@us.ibm.com> |
Peter Crighton <[email protected]> wrote on 12/29/2006 04:14:14 AM: > I have successfully installed EVMS 2.5.5 on Centos 4.4 (kernel > 2.6.9-42.0.3.EL). > I had to install some -devel packages to get evmsgui going (glib, gtk > and ncurses). > I did: > patch of all current patches for 2.5.5 engine > ./configure > make > make install > ldconfig > I did not touch the kernel (prefer not to for simplicity and ease of > future upgrade and instead to use the workaround of using the kernel's > drivers for the boot HD and EVMS for my RAID data disks). > I excluded hda in sysfs_devices in /etc/evms.conf (so it booted > without a problem). > I did the following: > Run evmsgui > Delete volumes hde & hdg > Actions - create - region - RAID 1 hde & hdg > Actions - create - volume md0 from RAID > Actions - File Systems - Make - Ext2/3 - name md0_vol > Save > Backup > Mounted md0 > Add mount /dev/evms/md0 to fstab > I could successfully add files to md0 and waited for the resync to > complete. > /proc/mdstat indicated no problems. > When I reboot I cannot see my RAID. /proc/mdstat provides no details. > Mount /mnt/md0 fails > I have to run evms_metadata_restore to recover and be able to mount > them with mount /mnt/md0. > What have I done wrong/missed? > There was a message flashed up on re-boot about md0 (still in use?) > but nothing in /var/log/boot.log > -- > Peter Crighton Hi, Peter. Did you add evms_activate to your init scripts? When the system is booted, EVMS must be run to discover the disk configuration and activate the devices. I suspect this is the problem. You can test it by simply running evms_activate after the system is rebooted. There should be no need to restore the metadata. evms_metadata_restore activates the devices after it has restored the metadata. I suspect that in your case it is rewriting the same metadata and then activating the devices. If evms_activate doesn't activate the RAID then there is some other problem. Let me know and we'll chase it down. Steve D. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Evms-devel mailing list [email protected] To subscribe/unsubscribe, please visit: https://lists.sourceforge.net/lists/listinfo/evms-devel