You are not logged in.
After the recent libpng/libjpeg upgrade (in which my kernel, xserver, lvm2, and a number of other things were also upgraded), I get the following message every time Arch boots
:: Activating LVM2 Groups
File-based locking initialisation failed
It happens on my desktop and laptop, which both run Arch but on entirely different hardware (both of course have lvm groups).
I can't find anything at all about it online. It doesn't appear to be related to any actual problem, so should I even worry about it or just ignore it?
Offline
Also, the output of fdisk -l includes
Disk /dev/dm-0: 24.7 GB, 24696061952 bytes
255 heads, 63 sectors/track, 3002 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 187.9 GB, 187904819200 bytes
255 heads, 63 sectors/track, 22844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 504.2 GB, 504197283840 bytes
255 heads, 63 sectors/track, 61298 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Those are my 3 logical volumes. I have identical behavior on both machines.
Is this an actual problem or should I just ignore it?
Offline
Same here, along with some other problems. I think we should not ignore those messages
I'll let you know if I find a solution.
Offline
Here on my laptop occurs exactly the same message during boot.
By the way, which file is responsible for logging the startup? The pause-button isn't working at boot and I'd like to check for more errors.
And @ lynix,
awesome to meet another person from Karlsruhe here.
Can't wait to return home next week - back to one of the cushiest cities I've ever known. *g*
Offline
Offline
I think lvm uses some type of a file-based locking mechanism to prevent simultaneous operations on the same machine. The directory where it tries to write a lock file is read-only during boot and that causes the error. Since the operations are being executed at boot-time, simultaneous operations are unlikely to occur.
It has been that way before as well, but the message was redirected to /dev/null. I decide to ignore it
Offline
It has been that way before as well, but the message was redirected to /dev/null. I decide to ignore it
D'accord. If this has always been there, just suppressed, I think the devs will re-add the redirection and this issue will be fixed. Will ignore the message until then, too
@orschiro: Awesome indeed Let's meet and have a beer
Besides, Arch seems to be very popular in Karlsruhe, at least among (IT-)students: when I'm at university and look around in the beginning of lectures, I see Arch-bootups everywhere around me - these days all with the issue we're discussing here
Last edited by lynix (2010-02-10 21:30:25)
Offline
Ok guys, let's await the update and hope they fix it. I prefer to boot without any warnings.
@lynix,
why not. Nothing tastes better than a ordentlich's Vogel Bier.
But that's a new information. I always heard from students how satisfied they "were" with Ubuntu. Obviously this opinion changed.
Offline
Same here.
Encountered the following issues after the recent libpng/libjpeg/kernel/lvm2/filesystem-2010.01-1 upgrade too.
:: Activating LVM2 Groups
File-based locking initialisation failed
Disk /dev/dm-0 doesn't contain a valid partition table
...
Disk /dev/dm-1 doesn't contain a valid partition table
...
And also
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so: libjpeg.so.7: cannot open shared object file: No such file or directory
Offline
Same here.
Encountered the following issues after the recent libpng/libjpeg/kernel/lvm2/filesystem-2010.01-1 upgrade too.:: Activating LVM2 Groups File-based locking initialisation failed
Disk /dev/dm-0 doesn't contain a valid partition table ... Disk /dev/dm-1 doesn't contain a valid partition table ...
And also
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so: libjpeg.so.7: cannot open shared object file: No such file or directory
I don't think those errors relates to the lvm , except the file-based locking one.
it seems as the last error you get actually relates to libpng/libjpeg upgrade.
people are getting the file-based locking error because /var/{run,lock} is not being mounted as read/write before the bootup process activate the LVM groups so it can't find a dir to save the run/lock dirs/files, that's why you are getting those errors.
it should be fixed as soon as they all find a good solution for this, it seems as to put /var/{run,lock} on tmpfs is the way, but it's still negotiable...
so you can ignore this error for sure.
the other ones, you can search and you will find the solution.
Offline
I'd be interested in a solution for that "valid file table" thing. Already used the forum search, but didn't find the solution you mentioned, Infin1ty.
This is not a real problem as the message saying that there is no valid partition table on my dm-* is absolutely right. These are my logical volumes, so why should they contain a partition table. But why didn't fdisk complain about that in the past?
Offline
I've only just noticed this error message. Seems from reading it's nothing but still weird.
Offline
I've only just started using LVM on my home file server and was receiving the same error. I've used the Arch installer to create an encrypted LVM for my system on my laptop and never got that message. After looking at some of the conf files I only noticed 1 difference. In the rc.conf it says to change USELVM="no" to "yes" and that's what I did on my server which is getting the message. On my laptop it still says "no" and the LVM works fine without getting that error.
I change it to "no" on the server and haven't noticed any ill effects to running it that way as of yet and it's a quick hack if you really hate looking at that message at boot.
Last edited by Medieval_Creations (2010-05-16 16:00:18)
Offline