The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
not getting the output properly pmrajesh21 SUN Solaris 0 04-16-2008 10:43 AM
I can't divide properly in shell mikez104 UNIX for Dummies Questions & Answers 3 02-26-2008 05:20 PM
Cron won't run properly Steeler_fan UNIX for Dummies Questions & Answers 2 08-31-2006 09:32 AM
New hdd not being recognised properly by OS wiggiesworld UNIX for Dummies Questions & Answers 1 06-03-2006 09:59 AM
y is this not working properly? C|[anti-trust] High Level Programming 3 05-18-2005 12:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-04-2002
DISTURBED DISTURBED is offline
Registered User
  
 

Join Date: Jun 2002
Location: Anaheim, California, USA
Posts: 16
Not properly shutdown

Last night my sister was on the computer and she shut it down by just pressing the power button.I heard it was never good to shutdown a unix system from the power button(I always do the shutdown -h now), how do I know if the filesystem has been damaged or something like that?
  #2 (permalink)  
Old 07-04-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Thumbs up

if a filesystem is damage, an error would be displayed at boot up or filesystem would be umountable.

fsck (filesystem check) would report an inconsistance filesystem at boot up, if is configure in /etc/vfstab, if not you can run
fsck on filesystem

the syntax is on solaris

fsck /dev/dsk/c#t#d#s#

or run fsck on mount point

eg
fsck /
fsck /usr
  #3 (permalink)  
Old 05-06-2005
Kathytechp Kathytechp is offline
Registered User
  
 

Join Date: May 2005
Posts: 1
crash and boot problem

My problem is

first, the filesystem could not be mountable, and ask to go into filesystem maintenance. Then after typing the password, at the # prompt, I did "halt", then it said: syncing file system ... done
program terminated
OK
OK

Anything I entered, it returns OK, just lik
OK
OK

Then seems I could not do anything, including the shutdown buttom.

So what should I do?
Thanks for helping


Quote:
Originally Posted by hassan2
if a filesystem is damage, an error would be displayed at boot up or filesystem would be umountable.

fsck (filesystem check) would report an inconsistance filesystem at boot up, if is configure in /etc/vfstab, if not you can run
fsck on filesystem

the syntax is on solaris

fsck /dev/dsk/c#t#d#s#

or run fsck on mount point

eg
fsck /
fsck /usr
  #4 (permalink)  
Old 05-06-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
You really should have started your own thread for this, but anyway..

At the ok prompt, type the command 'boot'
When it asks for the password give the root password.

then enter

fsck -y
  #5 (permalink)  
Old 07-04-2002
DISTURBED DISTURBED is offline
Registered User
  
 

Join Date: Jun 2002
Location: Anaheim, California, USA
Posts: 16
Lightbulb

Ok, thanks.
  #6 (permalink)  
Old 07-05-2002
warrend warrend is offline
Registered User
  
 

Join Date: Nov 2001
Location: Reading, UK
Posts: 42
Most propritary boxes (SUN IBM HP SGI) issue a controled shutdown when you press the power off button, so they dont just kill the power.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0