Re: Inquiry: run fsck in single user mode



On 2009-08-17 01:35, hadi motamedi wrote:
Dear All
I have an Linux server that gets problemy from sudden power cut . I need to
run fsck in single user mode so I issued "#init 1" on the server . At the
server prompt , to serialize the fsck on the intended file system , I first
tried to unmount the intended file system and then issue the fsck (as the
following) :
#umount /dev/hda2
#fsck -s -a /dev/hda2

Is this the root partition?

But the server returned "Device Busy" . So I checked its status under "fuser
-u /dev/hda2" but no process recorded for it . Can you please do me favor
and let me know how can I force it as unmount to be able to try for safe
fsck on it ?

Which partition is this?

--
Featuring GRATUITOUS ALIEN NUDITY


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • SOLVED! : Please help - URGENT - disk/fsck problems!
    ... > server down before the outage occurred), ... > disk problems and suggested I run fsck. ... No employee or agent is authorized to conclude any binding agreement on behalf of Watkins Contracting, L.P., with another ... presented in this email are solely those of the author and do not necessarily represent those of Watkins Contracting, ...
    (freebsd-questions)
  • Re: Please help - URGENT - disk/fsck problems!--SOLVED!
    ... > server down before the outage occurred), ... > disk problems and suggested I run fsck. ... No employee or agent is authorized to conclude any binding agreement on behalf of Watkins Contracting, L.P., with another ... presented in this email are solely those of the author and do not necessarily represent those of Watkins Contracting, ...
    (freebsd-questions)
  • Re: Inquiry: run fsck in single user mode
    ... Please be informed that this is the "/usr" partition. ... I have an Linux server that gets problemy from sudden power ... to serialize the fsck on the intended file ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: error ouput of fsck
    ... Also the other server had this sudden diffrent output ... RECONNECT? ... UNREF FILE I=659457 OWNER=admin MODE=140755 ... I tried to do fsck.. ...
    (freebsd-questions)
  • Re: Help! How to remove huge file?
    ... "rm" command just say "no such file". ... server, I can not do unmount and fsck. ...
    (comp.unix.solaris)