LinuxQuestions.org
Visit Jeremy's Blog.
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 07-10-2004, 05:41 PM   #1
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
hdd1 partition


I installed a hard drive (used on another mandrake install) that has some data on it. This drive hdd1 is set as slave and its mount point is /mnt/windows.

When I view the parition size using a partition tool or just the properties of the disk it shows that around 35% of the disk is being used ( which I am assuming is my data).

However, my data is not there?

I have tried changing the permissions and ownership of this drive and no luck.

Any ideas?
 
Old 07-10-2004, 05:56 PM   #2
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
No ideas?
 
Old 07-10-2004, 09:06 PM   #3
p-static
Member
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
Check that you're mounting with the right FS type, maybe. That probably isn't the problem, but it can't hurt to check.
 
Old 07-11-2004, 12:48 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
mikedeatworld - it's unclear to me whether you are reporting that the /dev/hdd1 partition is 35% full, or that you're saying the Windows partition occupies 35% of the slave drive (in other words, the single physical drive may have been partitioned into a C:\, D:\, and E:\ drive, and you're only looking at C:\ ) Also, I'm not sure how to interpret the "However, my data is not there? " comment. Are you asking a quesiton or making a statement?

Either way, could you clarify the situation by adding more detail? Additionally, if you could also post the results of running the df command, as well as the contents of your fstab, that would be very helpful, and would make it easier to analyze your question. -- J.W.
 
Old 07-11-2004, 08:36 PM   #5
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
J.W.



/dev/hdd1 appears to be 35% full according to the properties of the partition/drive when viewed.

What I ment by my data no being there is, when I mount the drive and navigate to its directory, there are 0 directories.

Here is my fstab:

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /downloads vfat defaults 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /proc proc defaults 0 0
/dev/hdd5 /win_e vfat defaults 0 0 //this is the drive in question
/dev/hda5 swap swap defaults 0 0

During the boot process there is an error (something like this)

Incorrect file type or too many mounted paritions, or wrong file type.

df:

Filesystem Size Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
5.8G 1.9G 3.7G 34% /
/dev/ide/host0/bus1/target1/lun0/part6
7.4G 7.4G 0 100% /downloads
/dev/ide/host0/bus0/target0/lun0/part6
6.3G 741M 5.6G 12% /home

J.W. I hope this helps. If you could help any this would be great! Thank you...

Mike D.
 
Old 07-11-2004, 09:46 PM   #6
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Original Poster
Rep: Reputation: 30
Thanks all for your input.

After restarting X, I was able to access my data.

However, I cannot change ownership of this partition/dir
 
Old 07-12-2004, 01:01 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Mike D - I think the problem is just with a typo in your fstab. You reported that the hdd1 partition was the problem, but in your fstab, the "drive in question" is listed as hdd5. Additionally, the mountpoint is shown as /win_e in fstab but based on your earlier note it should be /mnt/windows

To fix this issue, I would recommend changing the "drive in question" line to read
Code:
/dev/hdd1 /mnt/windows vfat defaults 0 0
That should take care of it, based on the description in your original post. I would also strongly recommend performing a manual mount first using the above parameters however, just to confirm that the results are what you expect. If it doesn't work, then don't change fstab. If the results are favorable, and you can access your data, then and only then would you want to make changes to fstab. In any case, it would also be a good idea to make a copy of the existing fstab, just in case you need to restore to it. Good luck with it -- J.W.
 
  


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
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
Installed Darwinx86 to HDD1, now how do i boot to it? MadSkillzMan *BSD 5 07-25-2004 03:29 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
can't change permissions on the second hd (hdd1) djchris Linux - Newbie 5 05-10-2004 02:28 PM
Missing /dev/hdd .. .. anyway to recreate it or use hdd1 ? Zero-0-Effect Slackware 2 03-04-2004 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration