Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am having problems booting into my newly created software raid device /dev/md1 using grub as my bootloader and /dev/md1 being a PV in LVM.
This is not my first attempt at this so I saved detailed information about how I set up this array so please ask if any additional information is needed. In short though, here is how I set this up:
I have a VG named /dev/rootvg which has the PV /dev/sda2. All of my OS filesystems are in this volume group.
• I added an identical size disk and used sfdisk to mirror the configuration of /dev/sda.
• Used fdisk to change the partition type of /dev/sdb2 from “LVM Linux” to “Linux raid autodetect”
• Created a raid device named /dev/md1 with one missing device and /dev/sdb2
• Ran pvcreate on /dev/md1 and added this PV to rootvg
• Ran pvmove /dev/sda2 /dev/md1
• Removed /dev/sda2 from rootvg and ran pvremove to remove it from LVM
• Used fdisk to change the /dev/sda2 partition from “LVM Linux” to “Linux raid autodetect”
• Added /dev/sda2 to /dev/md1 array and let the raid software complete the data sync
Now, rootvg is completely accessible and pvdisplay, vgdisplay all show what I would want which is /dev/md1 as being my PV. The problem I am having is when I reboot. I get a kernel panic with the error.
No volume groups found
Volume group “roovg” not found