Command execution resulting in "No such file or directory" messages, why?

Solution Verified - Updated -

Issue

  • Executing administration commands result in the message "No such file or directory", why?
# mount -o remount /
mount: block device /dev/VolGroup00/LogVol00 is write-protected, mounting read-only
# pwd
/root
# touch test
touch: cannot touch `test': Read-only file system
# uptime
 02:06:28 up 113 days, 10:17,  2 users,  load average: 0.21, 0.07, 0.09
# lvchange
  File-based locking initialisation failed.
# umount /
# fsck /dev/mapper/VolGroup00-LogVol00
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/mapper/VolGroup00-LogVol00: recovering journal
fsck.ext3: Bad magic number in super-block while trying to re-open /dev/mapper/VolGroup00-LogVol00
e2fsck: io manager magic bad!
# mount -o remount,rw /
mount: block device /dev/VolGroup00/LogVol00 is write-protected, mounting read-only
# ll /dev/VolGroup00/LogVol00
-bash: /bin/ls: No such file or directory
# ll /dev/VolGroup00/
-bash: /bin/ls: No such file or directory
# cd /dev
# ll
-bash: /bin/ls: No such file or directory
# ls
-bash: /bin/ls: No such file or directory

Environment

  • Red Hat Enterprise Linux 5.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.