FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 08-31-2011, 10:01 AM
unix syzadmin
 
Default fsck.ext3: No such file or directory while trying to open /dev/datavg/optOracle

Hi,

We have a RHEL5.6 x86_64 server that throws the following error while
booting:

fsck.ext3: No such file or directory while trying to open
/dev/datavg/optOracle
/dev/datavg/optOracle:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock is
corrupt, and you might try running e2fsck with an alternate superblock:
e2ffsck -b 8193 <device>

Before restarting the server we got a LUN from EMC allocated to this server.
We use powerpath and used the "powermt config" to detect the LUN.
We put the LUN to use through regular lvm commands like pvcreate, vgcreate,
lvcreate, mkfs.ext3, mount etc.

Please suggest / point me in the right direction.

Thanks,
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-31-2011, 01:41 PM
grim76
 
Default fsck.ext3: No such file or directory while trying to open /dev/datavg/optOracle

On 08/31/2011 06:01 AM, unix syzadmin wrote:
> Hi,
>
> We have a RHEL5.6 x86_64 server that throws the following error while
> booting:
>
> fsck.ext3: No such file or directory while trying to open
> /dev/datavg/optOracle
> /dev/datavg/optOracle:
> The superblock could not be read or does not describe a correct ext2
> filesystem. If the device is valid and it really contains an ext2
> filesystem (and not swap or ufs or something else), then the superblock is
> corrupt, and you might try running e2fsck with an alternate superblock:
> e2ffsck -b 8193 <device>
>
> Before restarting the server we got a LUN from EMC allocated to this server.
> We use powerpath and used the "powermt config" to detect the LUN.
> We put the LUN to use through regular lvm commands like pvcreate, vgcreate,
> lvcreate, mkfs.ext3, mount etc.
>
> Please suggest / point me in the right direction.
>
> Thanks,

You might want to look at lvm.conf. Typically lvm looks at /dev/sda,
/dev/sdb and so on. What you will likely want it to do is look at the
multipath device vs. the individual device.

Just remember to test your changes prior to any reboot. Otherwise your
change could knock off another lvm device on the system.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-31-2011, 02:15 PM
unix syzadmin
 
Default fsck.ext3: No such file or directory while trying to open /dev/datavg/optOracle

Hi,

Thanks for the reply.
My OS file-systems are created on sysvg volume group based on internal disk.
I am creating user file-systems on datavg based on EMC SAN disk.

While in the maintenance shell I could not see any entries for datavg or its
logical volumes in /dev.

So I re-mounted the / file-system (mount -o remount,rw /); edited the
/etc/fstab and commented out all the mounts for logical volumes on the
datavg.

After this the system booted fine.

Strangely after the system booted; I see all the entries for datavg and its
logical volumes in /dev.
Also datavg is online and I can mount all file-systems without any issues.

The filter in lvm.conf is:

# grep filter /etc/lvm/lvm.conf | grep -v '#'
filter = [ "a/sda[1-9]$/","a/emcpower.*/","r/.*/" ]

I guess the system is having problem to recognize the powerpath disk
"emcpowera" during boot. That is why it is not able to recognize the datavg
built on that EMC disk. Consequently no entries found for datavg and its
logical volumes in /dev.

Since there are no entries in /dev for datavg and its logical volumes the
entries in /etc/fstab to mount them at boot is failing.

I guess I am missing some configuration step related to using EMC disk and
having it recognized during boot for mounting file-systems.

Please suggest,

Thanks,



On Wed, Aug 31, 2011 at 9:41 AM, grim76 <grim76@grim76.net> wrote:

> On 08/31/2011 06:01 AM, unix syzadmin wrote:
> > Hi,
> >
> > We have a RHEL5.6 x86_64 server that throws the following error while
> > booting:
> >
> > fsck.ext3: No such file or directory while trying to open
> > /dev/datavg/optOracle
> > /dev/datavg/optOracle:
> > The superblock could not be read or does not describe a correct ext2
> > filesystem. If the device is valid and it really contains an ext2
> > filesystem (and not swap or ufs or something else), then the superblock
> is
> > corrupt, and you might try running e2fsck with an alternate superblock:
> > e2ffsck -b 8193 <device>
> >
> > Before restarting the server we got a LUN from EMC allocated to this
> server.
> > We use powerpath and used the "powermt config" to detect the LUN.
> > We put the LUN to use through regular lvm commands like pvcreate,
> vgcreate,
> > lvcreate, mkfs.ext3, mount etc.
> >
> > Please suggest / point me in the right direction.
> >
> > Thanks,
>
> You might want to look at lvm.conf. Typically lvm looks at /dev/sda,
> /dev/sdb and so on. What you will likely want it to do is look at the
> multipath device vs. the individual device.
>
> Just remember to test your changes prior to any reboot. Otherwise your
> change could knock off another lvm device on the system.
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-31-2011, 02:26 PM
 
Default fsck.ext3: No such file or directory while trying to open /dev/datavg/optOracle

unix syzadmin wrote:
<snip>
> My OS file-systems are created on sysvg volume group based on internal
> disk. I am creating user file-systems on datavg based on EMC SAN disk.
>
> While in the maintenance shell I could not see any entries for datavg or
> its logical volumes in /dev.
>
> So I re-mounted the / file-system (mount -o remount,rw /); edited the
> /etc/fstab and commented out all the mounts for logical volumes on the
> datavg.
>
> After this the system booted fine.
>
> Strangely after the system booted; I see all the entries for datavg and
> its logical volumes in /dev.
> Also datavg is online and I can mount all file-systems without any
> issues.
<snip>
> I guess the system is having problem to recognize the powerpath disk
> "emcpowera" during boot. That is why it is not able to recognize the
<snip>
Seems to me that your problem is that the drivers for the SAN disk are not
loaded when it tries to mount them. By not having them automount, the boot
proceeds, including loading those drivers later in the process.

I'd suggest identifying them, and having them load earlier, or perhaps a
new initrd that includes them.

mark
mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 06:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org