Re: Remote Server FSCK

2007-08-19 Thread Wojciech Puchar


Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 80 files 1
WARNING: /var was not properly dismounted
WARNING: /var/tmp was not properly dismounted

In my opinion, this calls for an fsck in single user mode.  Unfortunately, I 

no. i just said what it said. and then fsck did it's job.

if you yse background fsck, make sure it checked partitions other than / 
well.


if fsck can't check / on automatic mode it would drop to single user.


it's not linux, if hardware is not broken filesystem will be in good 
state after such case.



do you have UPS there? use it's cable and apcupsd from ports to make 
automatic shutdowns after power failures.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Remote Server FSCK

2007-06-04 Thread Matt Juszczak

Hi all,

I have a dedicated box with a hosting company.  The power supply failed in 
the box this morning, and the company replaced it and brought the box back 
up.


In my logs, I have:

Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 80 files 1
WARNING: /var was not properly dismounted
WARNING: /var/tmp was not properly dismounted

In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
I don't have access to the box.


Is htis something I should have them do?  It seems /usr is affected, and 
the /var/log/messages shows a few other errors as well.


What's the best way to go about fixing this.  Should I ask them to `fsck 
-y` from console in single user mode since I can't be there to look at the 
prompts?


Thanks,

Matt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Server FSCK

2007-06-04 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 12:16:16PM -0400, Matt Juszczak wrote:

 Hi all,
 
 I have a dedicated box with a hosting company.  The power supply failed in 
 the box this morning, and the company replaced it and brought the box back 
 up.
 
 In my logs, I have:
 
 Trying to mount root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 WARNING: /home was not properly dismounted
 WARNING: /tmp was not properly dismounted
 WARNING: /usr was not properly dismounted
 /usr: mount pending error: blocks 80 files 1
 WARNING: /var was not properly dismounted
 WARNING: /var/tmp was not properly dismounted
 
 In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
 I don't have access to the box.
 
 Is htis something I should have them do?  It seems /usr is affected, and 
 the /var/log/messages shows a few other errors as well.
 
 What's the best way to go about fixing this.  Should I ask them to `fsck 
 -y` from console in single user mode since I can't be there to look at the 
 prompts?

Well, did it run the fsck?
Those messages look pretty routine and should be handled
by the regular fsck done on a normal boot.  Usually the 
regular fsck will run and clean up most simple stuff.
Try rebooting the machine again and see if it still has the
same messages.   If so, then see if they will do the single-user
fsck for you.   But, I am guessing that it actually already 
cleaned up for you.  

jerry

 
 Thanks,
 
 Matt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Server FSCK

2007-06-04 Thread Mikhail Goriachev

Matt Juszczak wrote:

Hi all,

I have a dedicated box with a hosting company.  The power supply failed in 
the box this morning, and the company replaced it and brought the box back 
up.


In my logs, I have:

Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 80 files 1
WARNING: /var was not properly dismounted
WARNING: /var/tmp was not properly dismounted

In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
I don't have access to the box.


Is htis something I should have them do?  It seems /usr is affected, and 
the /var/log/messages shows a few other errors as well.


What's the best way to go about fixing this.  Should I ask them to `fsck 
-y` from console in single user mode since I can't be there to look at the 
prompts?



It all depends on the severity of the situation. Next boot may fix your 
problem or it may not. It is a good idea to do it in single user mode 
but if you don't have console/physical access to the box then maybe this 
could help you:


fsck_y_enable=YES

Just add that into the /etc/rc.conf, reboot and wait awhile.

After the machine is up and running, fsck it and see if it throws any 
errors.



Let us know how it goes.


Regards,
Mikhail.

--
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Server FSCK

2007-06-04 Thread Matt Juszczak

Well, did it run the fsck?
Those messages look pretty routine and should be handled
by the regular fsck done on a normal boot.  Usually the
regular fsck will run and clean up most simple stuff.
Try rebooting the machine again and see if it still has the
same messages.   If so, then see if they will do the single-user
fsck for you.   But, I am guessing that it actually already
cleaned up for you.


Rebooted and no more errors so I guess it did fix them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Server FSCK

2007-06-04 Thread Matt Juszczak

fsck_y_enable=YES

Just add that into the /etc/rc.conf, reboot and wait awhile.

After the machine is up and running, fsck it and see if it throws any errors.


Let us know how it goes.



Worked great.  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]