[linux-lvm] Re: Bug#281831: lvm2: opendir errors at boot

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Thu Nov 18 18:10:34 UTC 2004


Le 18.11.2004 10:18:57, Patrick Caulfield a écrit :
>On Thu, Nov 18, 2004 at 03:11:43AM +0100, Juergen Kreileder wrote:
>> Package: lvm2
>> Version: 2.00.25-1
>> Severity: minor
>>
>> I'm getting a bunch of "opendir" errors at startup on my PPC  
>> machine.
>> They seem to be harmless as LVM otherwise works fine and /dev/linux
>> looks after after startup:
>>
>> lrwxrwxrwx  1 root root   22 2004-11-18 02:22 home ->
>/dev/mapper/linux-home
>> lrwxrwxrwx  1 root root   21 2004-11-18 02:22 srv ->
>/dev/mapper/linux-srv
>> lrwxrwxrwx  1 root root   22 2004-11-18 02:22 swap ->
>/dev/mapper/linux-swap
>> lrwxrwxrwx  1 root root   21 2004-11-18 02:22 tmp ->
>/dev/mapper/linux-tmp
>> lrwxrwxrwx  1 root root   21 2004-11-18 02:22 usr ->
>/dev/mapper/linux-usr
>> lrwxrwxrwx  1 root root   21 2004-11-18 02:22 var ->
>/dev/mapper/linux-var
>> lrwxrwxrwx  1 root root   25 2004-11-18 02:22 var_log ->
>/dev/mapper/linux-var_log
>>
>> On an x86 machine with a similar setup I don't get these errors.
>Both
>> machines use udev.
>>
>> ,----
>> | Thu Nov 18 02:22:05 2004: Creating device-mapper devices...done.
>> | Thu Nov 18 02:22:05 2004: Setting up LVM Volume Groups...
>> | Thu Nov 18 02:22:05 2004:   Reading all physical volumes.  This  
>> may
>take a while...
>> | Thu Nov 18 02:22:05 2004:   Found volume group "linux" using
>metadata type lvm2
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   /dev/linux: opendir failed: No such
>file or directory
>> | Thu Nov 18 02:22:05 2004:   7 logical volume(s) in volume group
>"linux" now active
>> | Thu Nov 18 02:22:05 2004: Starting crypto disks:.
>> | Thu Nov 18 02:22:05 2004: Checking all file systems...
>> | Thu Nov 18 02:22:05 2004: fsck 1.35 (28-Feb-2004)
>> | Thu Nov 18 02:22:05 2004: Setting kernel variables ...
>> | Thu Nov 18 02:22:05 2004: ... done.
>> | Thu Nov 18 02:22:05 2004: Mounting local filesystems...
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-home on /home type xfs
>(rw,noatime,nodiratime)
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-srv on /srv type xfs
>(rw,noatime,nodiratime)
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-tmp on /tmp type xfs
>(rw,noatime,nodiratime)
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-usr on /usr type xfs
>(rw,noatime,nodiratime)
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-var on /var type xfs
>(rw,noatime,nodiratime)
>> | Thu Nov 18 02:22:05 2004: /dev/mapper/linux-var_log on /var/log
>type xfs (rw,noatime,nodiratime)
>> `----
>>
>>
>> -- System Information:
>> Debian Release: 3.1
>>   APT prefers unstable
>>   APT policy: (500, 'unstable')
>> Architecture: powerpc (ppc64)
>> Kernel: Linux 2.6.10-rc2jk1
>> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>>
>> Versions of packages lvm2 depends on:
>> ii  debconf                     1.4.40       Debian configuration
>management sy
>> ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared
>libraries an
>> ii  libdevmapper1.00            2:1.00.19-4  The Linux Kernel Device
>Mapper use
>> ii  lvm-common                  1.5.17       The Logical Volume
>Manager for Lin
>>
>> -- debconf information:
>>   lvm2/snapshots:
>
>
>I see this on my x86 box with udev installed so it's not PPC specific.

I have it also on one machine : K6-2 500.

On this machine I've a system entirely relying on lvm (but the /boot  
partition), on this system, I've not these messages

On a separate partition, I've the same version of linux but not using  
lvm at all. At boot time it scans the system for vg's and then I've the  
warning messages.

>
>--
>
>patrick


Jean-Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20041118/3366e6ce/attachment.sig>


More information about the linux-lvm mailing list