LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-24-2005, 01:05 PM   #1
OverDrive
LQ Newbie
 
Registered: Aug 2005
Distribution: Ubuntu Hoary/Debian SID
Posts: 1

Rep: Reputation: 0
HD mounting problem


Hi,

I have a little problem with my 2nd HD :

At the first Ubuntu Boot. all work.
After... My 2nd HD (hdb) is umounted by it's in my fstab...

I have tested some commands :

My fstab

Quote:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb1 /data ext3 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
It is umounted :
Quote:
root@Ichigo:/home/ren # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 55G 9,7G 42G 19% /
tmpfs 506M 0 506M 0% /dev/shm
/dev 55G 9,7G 42G 19% /.dev
none 5,0M 2,8M 2,3M 56% /dev
/dev/hdc 1,2G 1,2G 0 100% /media/cdrom0
i mount it :
Quote:
root@Ichigo:/home/ren # mount /dev/hdb1 /data/
mount: /dev/hdb1 already mounted or /data/ busy
I use -f fonction now and it's ok by another problem begins :
Quote:
root@Ichigo:/home/ren # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 55G 9,7G 42G 19% /
tmpfs 506M 0 506M 0% /dev/shm
/dev 55G 9,7G 42G 19% /.dev
none 5,0M 2,8M 2,3M 56% /dev
/dev/hdc 1,2G 1,2G 0 100% /media/cdrom0
/dev/hdb1 55G 9,7G 42G 19% /data
its a 80Gb HD... not 55...
Quote:
root@Ichigo:/home/ren # fdisk -l

Disk /dev/hda: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 7169 57584961 83 Linux
/dev/hda2 7170 7476 2465977+ 5 Extended
/dev/hda5 7170 7476 2465946 82 Linux swap / Solaris

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Device Boot Start End Blocks Id System
/dev/hdb1 1 9964 80035798+ 83 Linux
I dont understant the problem...

thx for help
 
Old 08-24-2005, 04:30 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Ooook... there is obliviously some evil magic involved.

First, is there something in your log (dmesg)? This sound like a deeper problem than just a fstab, you better check a close look at your logfile, it sound like corrupted partition or something similar to me.

Also, instead of using "df -h" to find out if the drive is mounted, you should take a look to "/etc/mtab", if df -h can't read the drive, it is possible it just doesn't show it. Are you able to browse /data as this point? If you get some I/O error, then there is probably something very bad about it.

You might want to try fsck.ext3 over this drive (*BIG FAT WARNING* : Do this ONLY on the umounted drive and DON'T say yes to any filesystem modification fsck want to make) to make sure there isn't anything wrong with the fs.
 
  


Reply



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
Problem mounting CD azlan Linux - Hardware 3 09-02-2005 02:52 AM
mounting problem angelusx Linux - Newbie 1 11-11-2004 04:52 AM
mounting problem scng Linux - Newbie 3 09-04-2004 09:36 AM
mounting problem ziggie216 Linux - Software 6 10-11-2003 12:23 AM
a problem with mounting safrout Linux - General 5 05-16-2002 01:34 PM

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

All times are GMT -5. The time now is 08:00 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
Open Source Consulting | Domain Registration