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 > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
hard disk and san lo-lp-kl AIX 4 06-12-2008 01:13 PM
Hard-disk partition is Full problem? jagdish.machhi@ UNIX for Advanced & Expert Users 1 08-18-2007 09:12 PM
Hard disk problem adol3 UNIX for Dummies Questions & Answers 4 11-17-2005 10:23 AM
Hard Disk hmaraver UNIX Desktop for Dummies Questions & Answers 4 07-03-2005 03:50 PM
IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server Niraj Gopal Sha Shell Programming and Scripting 0 06-18-2005 04:46 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-26-2001
DGM DGM is offline
Registered User
  
 

Join Date: Sep 2001
Location: Basingstoke
Posts: 3
Unhappy Hard Disk Problem

Does anyone know of any commands that offer the same sort of facilities of scandisk on windows. My Linux server (Mandrake 6.2) keeps crashing and gives hard disk errors when I reboot. I've used fcsk to fix any problems that arise but when I use dumpe2fs to display disk information it says that the file system is still not clean. Any ideas how to make it clean and check for erros (i.e. bad blocks etc)

Thanks for your help

  #2 (permalink)  
Old 10-26-2001
guest100's Avatar
guest100 guest100 is offline
Banned
  
 

Join Date: Oct 2001
Location: London, UK
Posts: 146
Here is what the manual says:

Will keep you bust for a while...


fsck - check and repair file systems

OPTIONS
-FFSType Specify the file system type on which to operate.

-m Check but do not repair. This option checks that
the file system is suitable for mounting, return-
ing the appropriate exit status. If the file sys-
tem is ready for mounting, fsck displays a mes-
sage such as:

ufs fsck: sanity check: /dev/rdsk/c0t3d0s1 okay

f Force checking of file systems regard-
less of the state of their super block
clean flag.

p Check and fix the file system non-
interactively ("preen"). Exit immedi-
ately if there is a problem requiring
intervention. This option is required to
enable parallel file system checking.

w Check writable file systems only.

EXIT STATUS
0 file system is okay and does not need checking

1 erroneous parameters are specified

32 file system is unmounted and needs checking (fsck
-m only)

33 file system is already mounted

34 cannot stat device

36 uncorrectable errors detected - terminate normally

37 a signal was caught during processing

39 uncorrectable errors detected - terminate immedi-
ately


SEE ALSO
clri(1M), crash(1M), fsck_cachefs(1M), fsck_s5fs(1M),
fsck_ufs(1M), fsdb_ufs(1M), fsirand(1M), fstyp(1M),
mkfs(1M), mkfs_ufs(1M), mountall(1M), newfs(1M), reboot(
1M), fs_ufs(4), vfstab(4), attributes(5), largefile(5)
Closed Thread

Bookmarks

Tags
linux commands, linux mandrake

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:55 PM.


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