Re: unable to run e2fsck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I copied back to the list.

On Wed, 20 May 2015 19:37:18 +0300
Angelo Moreschini <mrangelo.fedora@xxxxxxxxx> wrote:

> I tried still fsck, this time using System CD Rescue ....
> 
> After I get the prompt from the terminal (inside the System CD Rescue
> environment)
> 
> I tried this:  /dev/sd*..
> and I got
> /devsda   /dev/sda1   /dev/sda2
> 
> After I asked for mounted devices and no one of the devices /dev/sda*
> was listed there..
> 
> As well this answer, I yet unmounted /dev/sda2 (for security):
> ------------
> # umount /dev/sda2
> umount : /dev/sda2 : not mounted
> ------------
> 
> Finally I tried  e2sfck :
> ------------
> # e2fsck /dev/sda2
> 
> */dev/sda2 is in use .*
> *e2fsck Cannot continue, aborting.*
> ------------
> 
> What this means ?
> 
> 
> With my little experience I think that System CD Rescue load an image
> of the kernel in the RAM (/proc directory ??)
> and because this we can use Linux commands also when the filesystem
> is NOT mounted.
> 
> In this way we are able to explore the hardware environment of the
> computer...
> 
> I cannot understand what is the reason of the message :
> ------------
> 
> */dev/sda2 is in use .e2fsck Cannot continue, aborting.*
> ------------
> * when  /dev/sda2 is unmounted..*
> 
> 
> Can I have an explication ??

My understanding is like yours.  Basically, you are running a live CD,
completely independent of the installed system.

What does
cat /etc/mtab  show?
If /dev/sda2 is being held by some process in the rescue OS that is
accessing it, it should show up as an active partition in the mtab.

What happens if you do
umount /mnt/sysimage  ?
Does the  cat /etc/mtab  command show anything different?

Do you have more than one disk?  Is it possible that the rescue CD is
ordering them differently than you think, and what it is
calling /dev/sda is actually /dev/sdb?  Better to use block IDs to
identify disks these days.  The command /sbin/blkid will show them to
you.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux