- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- fsck.ext3: no such file or directory while trying ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 09:06 AM
тАО06-17-2010 09:06 AM
fsck.ext3: no such file or directory while trying to open /dev/mapper
First of all, I am remotely connected to this RedHatEnterprise Linux 5.0 server thru ILO2 connection in Europe. I'm in US.
when the server tries to reboot (I don't know how it went down), it comes with similar messages such as these:
fsck.ext3: no such file or directory while trying to open /dev/mapper/VolGroup15-Stageing
...........
it comes to "(Repair filesystem)" prompt.
So, I i
ls -l /dev/mapper does NOT show anything that has VolGroup15.
Could you please help!?
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 10:09 AM
тАО06-17-2010 10:09 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:12 PM
тАО06-17-2010 12:12 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
/dev/dm-10 VolGroup15
/dev/dm-11 VolGroup10
/dev/dm-12 VolGroup11
/dev/dm-13 VolGroup12
/dev/dm-14 VolGroup13
/dev/dm-15 VolGroup14
it means /dev/dm-10 maps to VolGroup15, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:33 PM
тАО06-17-2010 12:33 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:36 PM
тАО06-17-2010 12:36 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
but, could you also please let me know if when I do pvs in lvm, I get
/dev/dm-10 VolGroup15
/dev/dm-11 VolGroup10
/dev/dm-12 VolGroup11
/dev/dm-13 VolGroup12
/dev/dm-14 VolGroup13
/dev/dm-15 VolGroup14
does this mean /dev/... is the mapping to the /dev/mapper address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 01:16 PM
тАО06-17-2010 01:16 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
pvs should list the physical volumes being used by LVM like this:
# pvs
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 vg01 lvm2 a- 60.33G 30.33G
/dev/emcpowera1 vg00 lvm2 a- 33.71G 0
/dev/emcpowerb1 vg00 lvm2 a- 33.71G 7.43G
It will not show the logical device names, you can use the dmsetup program to verify the mappings..
PS: Don't forget to assign points if you found our answers useful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 01:51 PM
тАО06-17-2010 01:51 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Does vgdisplay VolGroup15 show anything?
or lvdisplay VolGroup15/Stageing?
Could it be a temp lv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 02:01 PM
тАО06-17-2010 02:01 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 02:52 PM
тАО06-17-2010 02:52 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
There is a tweak that would make LVM use more informative device names: edit /etc/lvm/lvm.conf and find the "preferred_names" option. By default the list of preferred device names is empty, but there should be an example configuration line with a comment like "Try to avoid using undescriptive /dev/dm-N names". Comment out the empty default, and uncomment the example line. Then run "vgscan" to refresh the LVM metadata cache. Now run "pvs" again to hopefully get a more informative result.
Looks like the VolGroup15 is not active, yet the system is trying to run fsck on it.
Is this system part of a cluster?
The "_netdev" option tells the system "this filesystem requires network to be operational before it can be activated", which is important if VG activation depends on cluster-wide locks.
Normally the system tries to automatically activate all the VGs it sees, before starting to run file system checks. So something may have caused the activation of VolGroup15 to fail.
You might want to run "vgchange -a y VolGroup15". If the automatic activation failed, this will probably fail too, but it should display a helpful error message in that case. For example, this VG might contain more than one PV.
If the manual VG activation is successful, then I guess your system startup script might just have gone ahead faster than the SAN LUN discovery could complete. If that's the case, inserting a short delay to the FC driver loading procedure might help.
If your server really is RHEL 5.0 (i.e. no updates installed since RHEL 5 original release), then I'd strongly suggest upgrading to RHEL 5.4. There has been several kernel, LVM and dm-multipath updates to improve SAN functionality.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 06:20 AM
тАО06-18-2010 06:20 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
No directory called VolGroup15 under /dev. There is /dev/VolGroup00, though.
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 06:47 AM
тАО06-18-2010 06:47 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
multipath -ll
show?
Also -- what does pvscan show?
I think your device mapper config is most likely screwy if your multi-path devices do not come up.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 06:49 AM
тАО06-18-2010 06:49 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Check your Powerpath environment too... Make sure your server still see them EMC disks...
inquire (inq) tool you have?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 07:26 AM
тАО06-18-2010 07:26 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 07:34 AM
тАО06-18-2010 07:34 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Excerpt from Admin Guide below:
The _netdev option in /etc/fstab
For RHEL 5, 5.1, 5.2, and 5.3, PowerPath devices should be mounted with the _netdev option instead of the defaults option in the /etc/fstab file. This will ensure that fsck is run later in the boot sequence.
http://www.emc.com/microsites/clariion-support/pdf/300-008-345.pdf
"The _netdev option in /etc/fstab. For RHEL 5, 5.1, 5.2, and 5.3, PowerPath devices should be mounted with the _netdev option instead of the defaults option"
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 07:43 AM
тАО06-18-2010 07:43 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
/dev/dm-NN as PVs for VGs is indicative he is using non PowerPath diskies.
He is likely having problems with his multipath configuration.
SO he needs to check:
- HBA driver settings if things changed.
- /etc/multpath.conf (what does multipath -ll show?)
- his VGs are likely on a RHCS cluster
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 08:17 AM
тАО06-18-2010 08:17 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 10:19 AM
тАО06-18-2010 10:19 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Since I'm using Remote Desktop => ILO2 connection, I had to take a screenshot for the multipath -ll
Please see attached.
I attached the screenshot for 'mount -a' command which gives the same error about special device not existing at the end of the document.
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 11:02 AM
тАО06-18-2010 11:02 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Please send:
/etc/multipath.conf
complete output of "multipath -ll"
pvscan
/etc/fstab
Are you aware what RH version? (5.0, 5.2. 5.4?) and If you have the HP DM software instaled?
And are you sure this machine is not part of a CLuster where the VGs are likely activatedimportant somewhere?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 11:18 AM
тАО06-18-2010 11:18 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Ravi: previously attached Doc2.docx - that was the best I could do with copy & paste of screenshots from RDP->ILO2 connection.
/etc/multipath.conf
Ravi: attached multipath_conf and PVSCAN Results.docx file.
pvscan results:
Ravi: Attached multipath_conf and PVSCAN Results.docx file.
/etc/fstab results:
Ravi: attached fstab_uname_results.docx file.
Are you aware what RH version? (5.0, 5.2. 5.4?) and If you have the HP DM software instaled?
Ravi: attached fstab_uname_results.docx file contains uname -a results. Release 5 update 4.
And are you sure this machine is not part of a CLuster where the VGs are likely activatedimportant somewhere?
Ravi: I am not 100% sure. It is possible, I guess.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 11:42 AM
тАО06-18-2010 11:42 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 11:43 AM
тАО06-18-2010 11:43 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 01:17 PM
тАО06-18-2010 01:17 PM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Please post the output of the following commands,preferably in text files:
pvs
vgs
lvs
vgscan
powermt display dev=all
Try to replace your last three "/dev/mapper/Volume15-XXXX lines" on fstab with
/dev/Volume15/XXXX, and add ",_netdev" right besides the default keyword on the fourth column, so for example
/dev/mapper/Volume15-Stageing /u06 ext3 defaults 1 2
becomes
/dev/mapper/Volume15/Stageing /u06 ext3 defaults,_netdev 1 2
Reboot and you should be able to see the logical volume mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 04:15 AM
тАО06-19-2010 04:15 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
An exported VG cannot be activated, so the VG most likely isn't active on any other system. The system startup will attempt to activate all the VGs it sees, but it will *not* auto-import any exported VGs.
(If you know about exporting VGs on HP-UX, don't even try to apply that to Linux; "exporting a VG" is very different on Linux LVM2.)
If all the PVs belonging to this VG are available, the problem can probably be fixed by simply importing the VG, then activating it:
vgimport VolGroup15
vgchange -a y VolGroup15
Exporting a VG is always a manual sysadmin action: the system never does it on its own. It might be important to find out who did export this VG and why. In HP-UX, exporting a VG is a valid substitute for removing it, and exporting is actually easier to do. So someone who has originally learned LVM on HP-UX might have mistakenly applied HP-UX procedures on Linux here.
But the fact that the system is trying to run fsck on the LV(s) of this VG indicates that the removal procedure was not complete: before removing the VG, all the references to its LVs should have been removed from the /etc/fstab file. Whoever did the exporting, may have simply exported a wrong VG by mistake... so there might be remains of another incompletely-removed VG somewhere on your system, which should be properly cleaned up.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2010 07:24 AM
тАО06-22-2010 07:24 AM
Re: fsck.ext3: no such file or directory while trying to open /dev/mapper
Thanks!
Ravi.