Hard Disk Problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Hard Disk Problem
# 1  
Old 10-26-2001
Data 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

Smilie
# 2  
Old 10-26-2001
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)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

2. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

3. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

4. Filesystems, Disks and Memory

external USb hard disk reading problem

Hello, I am facing a hard disk drive reading problem since last one month and not able to resolve it. The thing is I purchased external USB hard disk (seagate 40 gb) 2 years back.And uptil now its working perfectly fine. But suddenly one day I am not able to read my data. The problem goes like... (1 Reply)
Discussion started by: albertspade
1 Replies

5. Solaris

how to format a hard disk

hi, i want to format one hard disk in solaris. can you pls help on this.. (2 Replies)
Discussion started by: visu_ak
2 Replies

6. UNIX for Advanced & Expert Users

Hard-disk partition is Full problem?

HI, Currently I am working in One of the webhosting company and I found on one of my server "/home" partition is getting full say 105% usage... But when I actually check the partition size using "du -h", exact partition utilization is only 60-70%. So... (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

7. UNIX for Dummies Questions & Answers

Hard disk problem

Hi everybody, I have Ultra 5 operating station, I fixed a new 80 GB HDD, when Iam installing Solaries "2.6, veeeeery old" the system see the hard disk as only 8002 MB "8GB" what can I do so the system will consider the whole capacity of the HDD. any capacity higher then 8 GB will be seen as 8 GB... (4 Replies)
Discussion started by: adol3
4 Replies

8. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

9. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

10. UNIX for Dummies Questions & Answers

Slave hard disk

Hello, After installing redhat linux to primary master harddisk, i connected one more hardisk containing fat file system harddisk as a slave. How can i see the files of slave disk(fat) from a linux Thanks (3 Replies)
Discussion started by: bache_gowda
3 Replies
Login or Register to Ask a Question