LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-08-2005, 10:08 AM   #1
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
How do I determine file system type?


I need to know for sure if my Red Hat server at work is using ext2 or ext3. Critical files were deleted, and it sounds like ext3 files are irrecoverable. I need to know if its ext2 because if it is we're sending it off for data recovery, but just the initial analysis costs boatloads, and the guy basically told me on the phone if its ext3 theres nothing they can do about it.
 
Old 07-08-2005, 10:13 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If the drive is still mountable then mount it and type "mount" on the command line.

You should see something like this:
Code:
[root@blah bin]# mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
As you can see here, my /boot and / are ext3....

Thing I can't figure... ext2 and ext3 are the same file system... only difference is ext3 has the journal and ext2 doesn't.... The layout and everything is the same so I don't know why data recovery would be any different.
 
Old 07-08-2005, 11:10 AM   #3
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Original Poster
Rep: Reputation: 30
Thanks

It turns out the system's 2 partitions ( / and /boot ) are both ext3 partitions. Surprisingly enough, the guys willing to charge us $1500-$5000 for recovery just told me ext3 data recovery is impossible because the inodes get zeroed out, but I'm still not convinced. We're looking around now at recovery software and many claim to be able to recover deleted ext3 files and directories, so I'm surprised these guys who were willing to remote login said it could not be done.
 
Old 07-08-2005, 01:19 PM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
u can try some third party windows recovery tools which is used to recover files from linux partiton

have a look at this

http://www.data-recovery-software.ne...html/?GGLAW070
 
Old 07-08-2005, 01:46 PM   #5
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jayakrishnan
u can try some third party windows recovery tools which is used to recover files from linux partiton

have a look at this

http://www.data-recovery-software.ne...html/?GGLAW070
Thanks, but I just finished an afternoon of reading - file recovery due to deleted files is basically impossible under ext3 file systems, for some reason they zero out block pointers in the inode for crash recovery. Apparently the only way to recover deleted files is to grep for strings on your HDD - this sucks, but we're just going to rebuild.
 
Old 07-09-2005, 03:40 PM   #6
lynxuser
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
df

try to type: df
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine file system block size? provo1234 Linux - Newbie 2 02-14-2005 09:30 AM
How does KDE determine file type? vdemuth Linux - Software 4 01-08-2005 04:08 AM
File System Type NintendoFan Linux - Hardware 2 11-04-2004 12:39 PM
how do i determine my file system? Pete Dogg Linux - Software 3 10-16-2003 03:56 PM
zip drive cannot determine file system in RH7.2 douglassparker Linux - Hardware 2 05-16-2002 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration