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-25-2010, 03:48 PM   #1
that_IT-guy
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Mounting external USB HDD in RHEL5 x86_64 using fstab to mount on boot problems.


Hi All ,I am new to the forum as member but have buried myself in your endless supply of help for the past several years.
I have an engineer that makes massive log file output and requires an external HDD of 2TB to store his logs for reviewing later.
The workstation is running 2.6.18-194.3.1.el5 #1 and is patched up via RHEL Satellite services, as this is the newest release my company utilizes.
I have done this configuration on three of this users workstations with no problems at all so I am utterly confused as to why I am having problems on this specific host which is a fresh loaded OS on brand new hardware (as were the other three) all built identical, the FS structure to the hardware installed in them.

On the working hosts I first ran fdisk /dev/sdc and placed a primary partition that spanned the entirety of the 2TB HDD. I then performed a mkfs.ext3 on the /dev/sdc1 partition which went over fine.
I then created my entry in /etc/fstab as (/dev/sdc1 /usr/lfs/external2tb ext3 defaults 0 0).
I can mount and unmount the device as root using umount -a and mount -a without problems.

However on the problem host which the external was configured the same way as the other hosts externals upon boot I recieve the following error in /var/log/messages,
Aug 25 14:44:27 hostname smartd[3742]: Device: /dev/sdc, Bad IEC (SMART) mode page, err=2, skip device
and the device fails to mount on boot.

I have attempted to run chkconfig smartd off and boot the system with no smartd daemon at all.. The host boots but still fails to mount the device and returns no errors at all that I can find, either in logs or in dmesg with smartd off.
With smartd on I see in dmesg
SCSI device sdc: 3907024896 512-byte hdwr sectors (2000397 MB)
sdc: test WP failed, assume Write Enabled
sdc: assuming drive cache: write through


The other three hosts are set up identically, I built all four by hand myself so I know of no differences between them at all.

I have also noticed that if I take any of the other 3 external HDDs and connect it to the problem host those too fail to mount on boot with the same errors as the original HDD on this box.

Any insight you could provide would be greatly appreciated as I am nearly ready to pull out what little hair I have on my head.
I have browsed forum after forum and have tried so many different things it is hard to remember the, all, and this just over the span of two days.

If you require any more techinical info please let me know and I will provide it.

Thank you in advance.
 
Old 08-27-2010, 01:55 PM   #2
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Rep: Reputation: 18
Since you are running RHEL you might want to contact Red Hat Support for this issue.
 
Old 08-31-2010, 12:39 PM   #3
that_IT-guy
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
RE- Red Hat support.

I suppose I could probably do that. =)
I just figured it wasn't something worthy of wasting Red Hat's time with as I figured this may have been seen elsewhere and possibly solved by the community on some level.

Thank you for the response. If I can come up with a solution to the problem I will post it here for all to see.
 
  


Reply

Tags
external, hdd, rhel5, usb



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
Need Help, I unmounted external USB HDD, now will not mount thebrainman SUSE / openSUSE 3 12-14-2008 05:07 PM
mount External HDD - USB ruwanindika Fedora 6 02-22-2008 08:10 AM
error mounting external usb hdd mraconnor Linux - Hardware 7 01-06-2006 10:59 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
External USB HDD not mounting glk Linux - Hardware 1 01-22-2004 10:14 AM

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

All times are GMT -5. The time now is 04:59 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