Red Hat :: Logical Volumes Not Detected During Boot
Jan 28, 2010
I have a system where the logical volumes are not being detected on boot and would like some guidance as to how to cure this. The box is a Proliant DL385 G5p with a pair of 146 GB mirrored disks. The mirroring is done in hardware by an HP Smart Array P400 controller. The mirrored disk (/dev/cciss/c0d0) has 4 partitions: boot, root, swap and an LVM physical volume in one volume group with several logical volumes, including /var, /home and /opt.
The OS is a 64-bit RHEL 5.3 basic install with a kernel upgrade to 2.6.18-164.6.1.el5.x86_64 (to cure a problem with bonded NICs) plus quite a few extras for stuff like Oracle, EMC PowerPath and HP's Proliant Support Pack. The basic install is OK and the box can still be rebooted OK after the kernel upgrade. However, after the other stuff goes on it fails to reboot.
The problem is that the boot fails during file system check of the logical volume file systems but the failure is due to these volumes not being found. Specifically the boot goes through the following steps:
Red Hat nash version 5.1.19.6 starting
setting clock
starting udev
loading default keymap (us)
setting hostname
No devices found <--- suspicious?
Setting up Logical Volume Management:
fsck.ext3 checks then fail with messages: No such file or directory while trying to open /dev/<volume group>/<logical volume> There are also messages about not being able to find the superblock but this is clearly due to the device itself not being found. If I boot from a rescue CD all of the logical volumes are present, with correct sizes; dmsetup shows them all to be active and I can access the files within. Fdisk also shows all the partitions to be OK and of the right type. I am therefore very sure that there is nothing wrong with the disk or logical volumes....
View 3 Replies
ADVERTISEMENT
May 26, 2011
I have a setup that looks like this
[Code]....
and I'm dumped into recovery mode. However, if I remove these mounts from /etc/fstab via comments, I can wait for the system to boot (which it does very quickly) then mount the mapper devices myself. So what is going on? Has something changed wrt logical volumes, or is this just systemd? I can live with manual mounting, but any advice on resolving the automatic mounting situation would be great.
[Code]....
View 2 Replies
View Related
Feb 8, 2011
i have a fedora 11 server which can't access the ext4 partitions on lvm logical volumes on a raid array during boot-up. the problem manifested itself after a failed preupgrade to fedora 12; however, i think the attempt at upgrading to fc12 might not have anything to do with the problem, since i last rebooted the server over 250 days ago (sometime soon after the last fedora 11 kernel update). prior to the last reboot, i had successfully rebooted many times (usually after kernel updates) without any problems. i'm pretty sure the fc12 upgrade attempt didn't touch any of the existing files, since it hung on the dependency checking of the fc12 packages. when i try to reboot into my existing fedora 11 installation, though, i get the following screen: (click for full size) a description of the server filesystem (partitions may be different sizes now due to the growing of logical volumes):
Code:
- 250GB system drive
250MB/dev/sdh1/bootext3
lvm partition rest of driveVolGroup_System
10240VolGroup_System-LogVol_root/ext4
[code]....
except he's talking about fake raid and dmraid, whereas my raid is linux software raid using mdadm. this machine is a headless server which acts as my home file, mail, and web server. it also runs mythtv with four hd tuners. i connect remotely to the server using nx or vnc to run applications directly on the server. i also run an xp professional desktop in a qemu virtual machine on the server for times when i need to use windows. so needless to say, it's a major inconvenience to have the machine down.
View 1 Replies
View Related
Nov 25, 2010
I have done a recent install of Debian squeeze on a laptop. I set up LVM with 3 LV's, one for the root filesystem, one for /home, and another for swap. I then used lvextend to increase the size of the LV's. This additional space is shown if I enter lvdisplay (shortened for clarity):
- Logical volume -
LV Name /dev/auriga/swap
LV Size 4.66 GiB
- Logical volume -
LV Name /dev/auriga/root
LV Size 15.97 GiB
- Logical volume -
LV Name /dev/auriga/home
LV Size 169.01 GiB
However, if I use df, it still shows the previous size.
/dev/mapper/auriga-root 14G 8.0G 5.2G 61% /
/dev/sda1 221M 16M 193M 8% /boot
/dev/mapper/auriga-home 147G 421M 139G 1% /home
I have even tried restarting as well. I do not understand why df would still show that /home is 147GB, when I extended it to 169GB using lvextend. Similarly for the root, which was extended by 2GB from 14GB to 16GB.
View 2 Replies
View Related
Apr 24, 2011
I have let the debian installer set up with separate partions forrootusrvarhometmpIt ended up with a huge home partition and little place for the others.So I wanted to give some of home's space to the others and didlvreduce on homelvextend on the others.Following some info on the net it tells you toe2fsck -f partition1 followed by aresize2fs partition1But when I try to fsck the reduced home partition I got the following error:The filesystem size (according to the superblock) is 73113600 blocksThe physical size of the device is 20447332 blocksEither the superblock or the partition table is likely to be corrupt!Abort? yesIs there any way to save this?
View 5 Replies
View Related
Jan 8, 2011
How would I go about encrypting my lvm2 logical volumes on Debian Squeeze? Is it possible without backing everything up to a different drive and restoring afterwards?
View 3 Replies
View Related
Jun 23, 2011
I've read the first 40% of the RHEL 5 Logical Volume Manager Administrator's Guide, but still have one outstanding, burning question.
During the installation of Centos 5.6, I set up LVM physical volumes, volume groups and logical volumes. I can list these using pvdisplay, vgdisplay and lvdisplay commands.
How would I list what filesystems I have that are using my logical volumes?
View 2 Replies
View Related
Sep 15, 2010
Are there any maximum amount of logical volumes a LVM2 volume group can contain?
View 1 Replies
View Related
Nov 15, 2010
I upgraded aaa_elflibs as per Eric's advice here:URL..Now I can't access anything.it boots into tty1 and won't mount any of my logical volumes.
View 14 Replies
View Related
Jan 6, 2011
I am trying to use e2label to label one of my Logical Volumes. the labeling is done successfully. but my findfs output is like this:
/dev/mapper/VolGroup00-TEST
View 9 Replies
View Related
Jan 20, 2009
i cannot resize mounted lvm volumes with reiserfs by using yast like in a previous version 10.x !?
View 6 Replies
View Related
Nov 3, 2010
I would like to ask if is it possible to boot Slackware with the installation CD when in a pinch with a system on logical volumes? For the usual fdisk partitions the procedure is known:
Code:
boot: root=/dev/sda1 noinitrd ro or something like that. This way, the system boots with mounted basic partitions. My question is whether there is an option to achieve the same if the system is installed on logical volumes? I need to do this on a machine with dual booting Windows + Linux. The Windows needs to be reinstalled, but as is well known, the boot sector will then be overwritten. So after the Windows reinstallation I will need to boot Slackware with the installation CD and run lilo.
View 12 Replies
View Related
Sep 9, 2009
Does everybody do major upgrades in place on production servers?Am I over-engineering by creating a new logical volume, syncing my working root volume to it and upgrading the new volume to test services? Then, after a week or 2 or 4, removing the old LV...
View 3 Replies
View Related
Sep 11, 2011
I inherited a 3ware 9550SX running a version of gentoo with a2.6.28.something kernel. I started over with CentOS 5.6 x86_64.tw_cli informs me that the 9-disk RAID 5 is healthy.The previous admin used lvm (?) to carve up the RAID into a zilliontiny pieces and one big piece. My main interest is the big piece.Some of the small pieces refused to mount until I installed theCentOS plus kernel (they are reiserfs).The remainder seem to be ext3; however, they are not mounted at boot("refusing activation"). lvs tells me they are not active. If I try tomake one active, for example:root> lvchange -ay vg01/usrI get:Refusing activation of partial LV usr. Use --partial to override.If I use --partial, I get:Partial mode. Incomplete logical volumes will be processed.and then I can then mount the partition, but not everything seems tobe there.
Some of the directory entries look like this:?--------- ? ? ? ? ? logfilesIs it possible that the versions of the kernel and lvm that wereon the gentoo system are causing grief for an older kernel (andpossibly older lvm) on CentOS 5.6 and that I might have greaterfortunes with CentOS 6.x ?Or am I missing something fundamental? This is my first experiencewith lvm, so it's more than a little probable.
View 2 Replies
View Related
Jul 9, 2011
So today I needed to switch from openSolaris to a viable OS on my workstation and decided to install openSUSE after having good experiences with it on my personal laptop. I ran into some problems partitioning one of the two hard disks installed on the system. I was limited on the amount of time I could spend at the office doing the install so I decided to use LVM on the one hard disk that seemed to work okay.
I picked LVM because although I don't know much at all about LVM, I at least know enough that it would allow me to expand the root and home partitions once I get the 2nd hard drive working correctly. So now that I've gotten the 2nd disk working okay, I've created two physical volumes on the 2nd drive, one to expand the root partition and one to expand the home partition. So, my question is, can I expand the root an home partitions while they are mounted or should I boot into a live CD environment before I expand the partitions? If I could expand them without booting into a different environment, that would be so great as I don't want to have to drive out to the office again before Monday. BTW, I am a new openSUSE user and an ex Ubuntu user. I loved the Ubuntu forums but had to switch because I do not agree with the direction that Ubuntu is taking.
View 2 Replies
View Related
May 15, 2009
what the maximum number of logical volumes is for a volume group in LVM ? Is there any known performance hit for creating a large number of small logical volumes vs a small number of large volumes ?
View 1 Replies
View Related
Apr 1, 2009
I have Fedora Core 8 installed. I would like to reinstall it so as to get back commands that have been lost. To preserve my user data that has been stored in logical volumes, what selections should I make in the installation process? Are these selections essentially the same for Fedora Core 10?
View 5 Replies
View Related
Mar 2, 2011
Is there a limit to the number of partitions/logical volumes you can create using the partman-auto recipes? If not, any thoughts on why my preseed using the values included below results in only a /boot partition and logical volumes root, swap, and user? Is there another way to achieve putting /, /tmp, /var, /usr, /usr_local /opt, etc on their own logical volumes with preseeding?
View 1 Replies
View Related
Aug 22, 2011
After fixing drive partition numbers, I got the following error from cfdisk: Code: FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap Press any key to exit cfdisk However, I can see all my partitions with fdisk and gparted, I can mount and use all of them.I used the following guide to fix the drive numbers order: Reorder partition drive numbers in linux | LinkedBits Does somebody know whet is cfdisks problem and how can I fix it?
View 6 Replies
View Related
Mar 13, 2011
ubuntu on boot mount all my NTFS volume , and i'm a bit worried about this , outside my floppy
by the way this is not the point
i would love to know if there is a gui that help me to edit the startup/boot actions
i mean what should perform ubuntu in the boot startup
i'm looking for a gui (i prefer a gui then the console because i don't know how use it ) that help me to manage it
1) i would like to disable -> mount my ntfs volumes
2) in the future i would like to enable it again , i mean mount my ntfs volumes
now i would like to disable
is there a gui (program) that let me to edit the startup?
View 5 Replies
View Related
Apr 24, 2010
First post so please excuse my lack of correct terminolgy/understanding/etc. Running Fedora 12 with the following software raid setup...
Mount Device Underlying Partitions
/ /dev/md0 /dev/sda1 /dev/sdb1
swap /dev/md1 /dev/sda2 /dev/sdb2
/home /dev/md2 /dev/sda3 /dev/sdb3
Recently updated to kernel 2.5.32.11-99 and upon restart, failed to boot. Get stuck at a recovery prompt asking for root password or Ctrl-D to continue (which reboots system). I worked around this problem by reverting to the previous kernel 2.6.32.9-70. From what I can tell, with the newer kernel there is a problem with device enumeration of software raid volumes.
[Code]...
View 1 Replies
View Related
Feb 9, 2010
I have a DOS/Linux dual-boot system. After recently replacing the original motherboard (an Elitegroup P6VEM3, of all things!) with a salvaged Dell D300 motherboard, I'm preparing to replace the Red Hat 8 currently installed with a Ubuntu live CD that I've had for some time (but that wouldn't work at all on the old motherboard, for some reason) I have a question about the "partitioner" stage of the installer: I don't know what to do with my 5 DOS volumes. My hard drive is partitioned as follows (from the partitioner's report when I select manual mode; annotations in parentheses):
/dev/sda
/dev/sda1 fat16 57MB 33MB (C:, "DOS")
/dev/sda5 fat16 106MB 33MB (D:, "STUFF")
/dev/sda6 fat16 633MB 121MB (E:, "APPLICATION")
[code]....
View 6 Replies
View Related
Oct 27, 2010
My disk partitions are as following:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x58b258b2
[Code]....
There already exist an os XP before my installing of ubuntu.When I installed my ubuntu 9.10, I selected to install grub2 on the logical partition sda7. But when I typed command sudo dd if=/dev/sda7 of=mbr bs=512 count=1, I found that the file mbr was eerily full of zero bytes. How does this happen? Or grub2 can't be installed on a logical partition? But it works very well along with win7 rather than XP.
View 9 Replies
View Related
Jul 16, 2011
I have a Fedora 15/Ubuntu 11.04 dual boot. In Fedora, I just created a new logical volume. How do I ensure that anything I put in it - all files and folders - will be accessible in Ubuntu? II also want to be able to add files and folders in Ubuntu and then read and write them in Fedora...
Here's the output from "lvdisplay" for the logical volume in question:
--- Logical volume ---
LV Name /dev/fedora/Everything
VG Name fedora
[Code]....
/home/gwyn/Everything is the mount point for the logical volume. I got full access over all files in the LV.
But when I shutdown Fedora and start up Ubuntu, I have to run the same chmod command again. How can I make read/write permissions endure between both distros?
View 14 Replies
View Related
Feb 28, 2011
I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.
I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.
View 2 Replies
View Related
Mar 18, 2009
I want to install more than 3 linux distributions on single disk - my test machine.Is it possible to create boot partition on logical partition whitch resides in extended partition (and boot successfuly of course)?
My boot loader lives elswere (primary partition or MBR).
View 13 Replies
View Related
Nov 23, 2010
Over the weekend my MoBo, MPU, & PSU decided to retire so I had to replace everything including memory. I originally had a Gigabyte GA-MA790FX-DS5 MoBo with Athlon II x2 and Corsair 800MHz $GB RAM. I used my current USB keyboard and USB wireless Logitech trackball which the wireless had issues, but I don't use that now. Now I have an ASUS M4A88TD-V EVO/USB3, AMD Phenom II x4 and A_Data 4GB DDR3 1333 MHz RAM. I still have the same USB keyboard which worked fine on the old MoBo and now have a wired USB mouse. I had installed F14 prior to the fried chips incident and all was working fine. With the new MoBo I have 2 issues as follows:
1. On boot both the USB keyboard and the USB mouse are detected by the BIOS, but when the screen comes up to enter my passphrase for my encrypted deviceshe keyboard is unresponsive. I have gotten it to work by hitting the "ESC" key steadily just before this screen pops up. The BIOS settings for USB seem to have only turning on Legacy USB devices option which seems to have no impact on this problem.2. When I shut down, the system does not power off and the display will show that the system is halted. All BIOS settings in regards to Power make reference to Sleep or Suspend modes, power mode after loss of AC power.can furnish the exact wording of all power related settings and USB per the manual
View 12 Replies
View Related
Jun 1, 2010
So I have a Samsung monitor at work (model 2343BWX) that I use in addition to my laptop screen. My computer is a T500 think pad. When I boot into ubuntu 10.04 from previously shutting down the computer in ubuntu I can't detect the monitor. If I however boot first into windows (I don't even have to enter my password, I can just press shutdown on the menu instead of logging in, and then boot into ubuntu) and it auto detects the monitor.
I have tried going to System -> Preferences Monitors and clicking "Detect Monitors" it doesn't work. Anyone know how this could be?
View 2 Replies
View Related
Oct 31, 2010
I'm running 10.04 as a DVR (mythtv). If the computer boots with the TV off it won't detect the settings, and when I turn the TV on nothing displays. I have to ssh into the computer and reboot it to get it to detect the display.Any idea how I can go about solving this? How can I disable autodetect and force it to use a specific setting?
View 3 Replies
View Related
Aug 18, 2011
I'm trying to install 11.04 onto a custom build pc.I have burned an install CD of the desktop edition and have inserted it into the drive, started up, and tried to run the live version. IT pops up, everything works, Hooray! I go to install it to disk and I follow all the prompts and it needs me to reboot to start. YAY! I click to reboot, remove the CD as requested, and then I get the "No Boot Device Detected!" error message.
I then tried installing straight from the CD and not booting into the live version. I follow all the steps and get a congratulations on installing it and all I need to do it reboot. I remove the CD, reboot, and BANG! the same message. I'm not sure what's up or even where I can get information from because there is no BIOS splash screen or anything to naviagate through.
System Specs:
Intel Atom Mobo/Proc (1.66Hz)
8GB Corsair RAM
1 slim optical drive (SATA)
1 2TB Seagate HD (SATA)
1 Case/PSU combination
EDIT1: Currently I am checking the live CD for defects (though it has an internet connection so I'm unsure whether the CD matters).
View 2 Replies
View Related