Inquiry: run fsck in single user mode

2009-08-16 Thread hadi motamedi
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 fsc

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread Chris Bannister
On Mon, Aug 17, 2009 at 07:35:46AM +0100, 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

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread hadi motamedi
Dear Chris Thank you very much for your reply . Ok , so then , how you would be able to get rid of that "Device Busy" though ? Your reply is appreciated Regards H.Motamedi On Wed, Aug 19, 2009 at 11:24 AM, Chris Bannister < mockingb...@earthlight.co.nz> wrote: > On Mon, Aug 17, 2009 at 07:35:46

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread Ron Johnson
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

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread hadi motamedi
Dear Ron Thanks for your reply . Please be informed that this is the "/usr" partition . Regards H.Motamedi On Wed, Aug 19, 2009 at 1:06 PM, Ron Johnson wrote: > 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 >

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread Niu Kun
hadi motamedi 写道: Dear Ron Thanks for your reply . Please be informed that this is the "/usr" partition . Regards H.Motamedi On Wed, Aug 19, 2009 at 1:06 PM, Ron Johnson > wrote: On 2009-08-17 01:35, hadi motamedi wrote: Dear All I have a

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread hadi motamedi
Dear Niu With many thanks for your reply , I tried to force fsck after reboot as the followings : #cd / #touch /forcefsck #reboot Can you please do me favor and let me know if this is the same as your proposed procedure (since I am not familiar with your tune2fs and its usage) ? Regards H.Motamedi

Re: Inquiry: run fsck in single user mode

2009-08-20 Thread Ron Johnson
On 2009-08-19 23:44, hadi motamedi wrote: Dear Niu With many thanks for your reply , I tried to force fsck after reboot as the followings : #cd / #touch /forcefsck #reboot Can you please do me favor and let me know if this is the same as your proposed procedure (since I am not familiar with your