Unsolved

This post is more than 5 years old

1 Rookie

 • 

8 Posts

736

December 18th, 2008 14:00

LVM cannot be checked at startup (modules not loaded)

Hello,

I made a ext3 filesystem on LVM using a device provided by PowerPath (/dev/emcpowera1), it works fine but if (in the /etc/fstab) I activate the filesystem check at startup (e.g. /dev/vg1/lv1 /san ext3 defaults 0 2), RHEL 5.2 64bits fails to boot because "/dev/vg1/lv1" doesn't exists yet... because EMC modules aren't loaded yet.

If I use " /dev/vg1/lv1 /san ext3 defaults 0 0" everthing works fine but the filesystem isn't checked at startup.

I use the last version of the kernel ( 2.6.18-92.1.22.el5) and PowerPath ( 5.1 SP2 - build 21).

Note: It works fine with RHEL4.

The server is a Dell M600 blade and the SAN is an EMC Clariion CX3-10c.

I can provide screenshots of the error message and list of modules when it happends (lsmod) if it can helps.

Any idea how I could resolve this? In fact I need the emc modules to be loaded earlier but the PowerPath-way seems weird: a list of modules to load is included on-the-fly by the startup script to /etc/modules.conf. The issue is reproducible.

Regards,

1 Rookie

 • 

8 Posts

December 18th, 2008 15:00

I just tested without LVM (juste a simple ext3 FS on /dev/emcpowera1) and it fails the same way, so this is not LVM-related.

I also re-activated every possible service because I used to select the minimum and I have the same error...

So the real question is: "Is it possible to check a filesystem hosted on a PowerPath device at startup??"

2 Intern

 • 

1.3K Posts

December 19th, 2008 07:00

what is the exact error when "defaults 0 2"?Vg not imported/activated?
with "defaults 0 0" ; did the FS get mounted even w/o checking/fsck?

also the fsck is done depnding on the policy/setting while creating the LV. Check "man tune2fs"

You have a new kernel. Not new PP.

Message was edited by:
santhosh theyyan

9 Legend

 • 

20.4K Posts

December 19th, 2008 13:00

1 Rookie

 • 

8 Posts

December 19th, 2008 15:00

Thanks. The "_netdev" option is mentioned in the documentation. Unfortunately the note is surrounded by iSCSI considerations. As far as I don't use iSCSI, I tought these option was iSCSI-specific.

Using the "_netdev" option in the fstab solved my problem, the PowerPath device can now be automatically checked at startup.

Too bad the RHEL4 and RHEL5 behavior aren't the same.

Thanks again.

1 Rookie

 • 

8 Posts

December 19th, 2008 15:00

what is the exact error when "defaults 0 2"?Vg not
imported/activated?


fsck.ext3: Not such file or directory while trying to open /dev/vg1/lv1
/dev/vg1/lv1:
The superblock could not be read or does not describe a correct ext2 filesystem...

This means that /dev/vg1/lv1 doesn't exist yet.

with "defaults 0 0" ; did the FS get mounted even
w/o checking/fsck?


Yes, no problem at all, the FS can be automatically mounted with no error.

also the fsck is done depnding on the policy/setting
while creating the LV. Check "man tune2fs"


tune2fs allows to configure the number of mounts or the time between two mounts before a full check, but in my case fsck fails whatever these options are.

You have a new kernel. Not new PP.


Dos this means that there's a new version of PP? 5.1 SP2 is the newer I can download.

Maybe you mean that the kernel might be "too much" up-to-date and that I need to use an older kernel certified in the EMC matrix for PowerPath?

0 events found

No Events found!

Top