Re: EVMS newbie, help me!!
"James Kelty" <[email protected]> Thu, 19 Jul 2007 14:36:36 -0700
| Newsgroups | gmane.linux.evms.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply. The LiveCD actually has evms_activate built into the initrd as does our kernel. That is the thing that confuses me the most. Only the boot volume gets created correctly, but none of the others. I'm currently moving all of the data off of this system so I can rebuild, but I'd _really_ like to understand what happened that most/all of my volumes were not/could not be activated (although there doesn't seem to be anything in the logs about it. Thanks again. -James On 7/19/07, Steve Dobbelstein <[email protected]> wrote: > > "James Kelty" <[email protected]> wrote on 07/13/2007 12:49:16 PM: > > Hi, James. > > > Ok, > > > > So we had a system yesterday that was rebooted (on purpose), but the > > kernel was panicing with lots or errors. I booted into a liveCD and > > found that the only volume that was listed in /dev/evms was 'boot'. > > > > root@rap:~# ls /dev/evms > > boot dm > > root@rap:~# > > > > I then found a '.nodes' directory that had all the other volumes > > listed under lvm and lvm2 that we need. I was able to modify the > > /etc/fstab and reference these directories as: /dev/evms/. > > nodes/lvm/container0/var for instance and once I had done that for > > all but the 'boot' volume, the system came up with out an issue. > > Don't mount the entries in the .nodes directory. Those are the individual > block devices that EVMS uses to build the volumes. Accessing those nodes > can mess up your volume structure and corrupt your data. For example, you > could be accessing one drive of a RAID array without the RAID software being > aware of the changes you are making. Or you could end up mounting the same > device multiple times via different device nodes which can cause data > corruption. The nodes are there for experts to do debugging and repair. > Don't mess with them unless you really know what you are doing and are > willing to suffer the consequences of your actions. > > > What happened to the other /dev/evms devices? How can I get them > > back w/o destroying any data? Below is the text of some evms_query > commands: > > Most likely, the LiveCD does not include a call to evms_activate to > activate the EVMS volumes. EVMS does user-space discovery and creation of > its volumes; they don't show up automatically in the kernel. Check your > LiveCD's init scripts to see if they contain any calls to evms_activate. Or > check to see if evms_activate is anywhere on the CD. It's usually installed > in /sbin. > > Hope this helps. > > Steve D. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Evms-devel mailing list [email protected] To subscribe/unsubscribe, please visit: https://lists.sourceforge.net/lists/listinfo/evms-devel