LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-30-2005, 08:19 AM   #1
mhkhalqani
LQ Newbie
 
Registered: Sep 2005
Location: Karachi-Pakistan
Posts: 5

Rep: Reputation: 0
Scanning Disk or Disk Repairing


Hi all
I want to scan my all drives how can I do it. please also explain the disk managing utilities in linux redhat 9

mhkhalqani
 
Old 09-30-2005, 09:07 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
scan for what?

And disk management tools, well, there are alot of them.depending on what you mean. cfdisk and fdisk do partitioning, hdparm can adjust hdd parameters, and there are hundreds of other programs concerning harddisks.

My point is, please be more specific. Tell us what you need to do to a disk, and we can tell you what you should be looking for.

edit:

If youre referring to a scandisk-like solution, then you need not look any further. The most popular filesystems on Linux systems (ext3, ReiserFS, etc) dont need any defragmentation like FAT32 partitions need. Aanyways,
Code:
man fsck
might also reveal something youre after.

And lastly, if you seek to recover a deleted file, youre out of luck if you use any other filesystem than ext2. On ext2 it is possible, but only rarely, and only about immediately after deleting the file.

Last edited by Artanicus; 09-30-2005 at 09:12 AM.
 
Old 09-30-2005, 09:12 AM   #3
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Welcome to LQ mhkhalqani!

Artanicus's post is quite right. But, I get the feeling maybe you are just asking for file system checking programs. If that's the case look for "fsck".

Yet another time, I recomment using a newer distro if you don't have specific reason to be stuck with RH9, since RH9 is old (4 versions have appeared after RH9 in the related distro line, which is now Fedora Core 4)

Last edited by SkyEye; 09-30-2005 at 09:18 AM.
 
Old 09-30-2005, 09:21 AM   #4
mhkhalqani
LQ Newbie
 
Registered: Sep 2005
Location: Karachi-Pakistan
Posts: 5

Original Poster
Rep: Reputation: 0
actually I can not write any data on the disk, so it may be a disk error therefore I want to check the disk. I have full permission to right data but I can't do.
mhkhalqani
 
Old 09-30-2005, 09:28 AM   #5
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Check weather the disk is mounted read-only (ro) using mount. Check the fstab (/etc/fstab), too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Error with Promise ultra133TX2 Controller and UDMA 120 GB Maxtor Disk samudhanar Linux - Hardware 3 06-13-2006 06:14 PM
Repairing a hard disk Geminias Linux - General 2 10-24-2005 12:15 AM
disk to disk backup for debian/Mempis on bootable cd-- advice loninappleton Linux - Software 3 05-27-2005 01:00 AM
Creating an ISO from a Disk(Unreal Tournament 2003 Disk 2) Mustard010 Linux - General 15 11-12-2003 07:45 AM
Installing Slack using Boot Disk (root disk stalls!) guardian653 Slackware 3 10-07-2003 04:03 PM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration