LinuxQuestions.org
Visit Jeremy's Blog.
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 10-22-2011, 04:56 AM   #1
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Mount failing on WD USB ext drive with error exit code 1


Hi-

This is starting to get fustrating. Bought a WD 1TB USB drive and have been trying to use it with my mini Linux server. Problems with mounting the device even after I upgraded the Linux version and reformatted the drive to ext 4.

What next?
 
Old 10-22-2011, 05:01 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by jonnas View Post
What next?
May be posting the exact command and error message you get?
 
Old 10-22-2011, 11:10 AM   #3
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Hi the error code was:

Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
 
Old 10-22-2011, 11:12 AM   #4
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Hi the error code was:

Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
 
Old 10-22-2011, 11:24 AM   #5
hen770
Member
 
Registered: Oct 2010
Distribution: Arch
Posts: 136

Rep: Reputation: 7
Post what the the last line at your last post tell you, and post it too.
 
Old 10-23-2011, 03:42 AM   #6
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Hi, a bit more detail on the error messages:


jon@media-srv:~$ dmesg |tail
[ 1539.509656] UDF-fs: No anchor found
[ 1539.509681] UDF-fs: Rescanning with blocksize 2048
[ 1539.521926] UDF-fs: No anchor found
[ 1539.521946] UDF-fs: No partition found (1)
[ 1539.561659] ISOFS: Unable to identify CD-ROM format.
[25946.400142] kjournald starting. Commit interval 5 seconds
[25946.408065] EXT3 FS on sdb1, internal journal
[25946.408095] EXT3-fs: mounted filesystem with ordered data mode.
[34468.604401] longhaul: Failed to set requested frequency!
[34468.604420] longhaul: Switching to Longhaul ver. 1

---------- Post added 10-23-11 at 03:43 AM ----------

Hi, a bit more detail on the error messages:


jon@media-srv:~$ dmesg |tail
[ 1539.509656] UDF-fs: No anchor found
[ 1539.509681] UDF-fs: Rescanning with blocksize 2048
[ 1539.521926] UDF-fs: No anchor found
[ 1539.521946] UDF-fs: No partition found (1)
[ 1539.561659] ISOFS: Unable to identify CD-ROM format.
[25946.400142] kjournald starting. Commit interval 5 seconds
[25946.408065] EXT3 FS on sdb1, internal journal
[25946.408095] EXT3-fs: mounted filesystem with ordered data mode.
[34468.604401] longhaul: Failed to set requested frequency!
[34468.604420] longhaul: Switching to Longhaul ver. 1
 
Old 10-23-2011, 04:03 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The messages state that the filesystem is mounted, are there some lines missing?
 
Old 10-23-2011, 04:11 AM   #8
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, just noticed that (switched from ext4 to ext 3). Now trying to format drive.

Jonnas
 
Old 10-23-2011, 04:28 AM   #9
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Still no luck, error details:

jon@media-srv:~$ dmesg |tail
[85264.190819] UDF-fs: Rescanning with blocksize 2048
[85264.213652] UDF-fs: No anchor found
[85264.213673] UDF-fs: No partition found (1)
[85264.259282] ISOFS: Unable to identify CD-ROM format.
[86403.833481] EXT4-fs (sdb1): mounted filesystem with ordered data mode
[86443.701210] UDF-fs: No anchor found
[86443.701234] UDF-fs: Rescanning with blocksize 2048
[86443.818694] UDF-fs: No anchor found
[86443.818718] UDF-fs: No partition found (1)
[86443.868945] ISOFS: Unable to identify CD-ROM format.

---------- Post added 10-23-11 at 04:28 AM ----------

Still no luck, error details:

jon@media-srv:~$ dmesg |tail
[85264.190819] UDF-fs: Rescanning with blocksize 2048
[85264.213652] UDF-fs: No anchor found
[85264.213673] UDF-fs: No partition found (1)
[85264.259282] ISOFS: Unable to identify CD-ROM format.
[86403.833481] EXT4-fs (sdb1): mounted filesystem with ordered data mode
[86443.701210] UDF-fs: No anchor found
[86443.701234] UDF-fs: Rescanning with blocksize 2048
[86443.818694] UDF-fs: No anchor found
[86443.818718] UDF-fs: No partition found (1)
[86443.868945] ISOFS: Unable to identify CD-ROM format.
 
Old 10-23-2011, 05:04 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Again, it seems like it mounts the partition. Are there more lines regarding this?
Please post the exact command you use for mounting.
 
Old 10-23-2011, 10:28 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,433

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Looks like there's a bit going on. Next time you come to this, try

dmesg |tail -n 50
:-D.
Then you can see the whole thing. It looks like your kernel is not reading whatever you are mounting. If you know what the filesystem type is, specify it.
mount -t <type> /dev/something /somewhere

Beware that ntfs responds to ntfs-3g :-/. Also look at it with fdisk -l
 
Old 10-24-2011, 07:22 AM   #12
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for your help to date, bit busy today, but will try all of your suggstions tomorrow evening.
 
Old 10-26-2011, 01:52 PM   #13
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks very much for all you help. Mounting using mount - t usbfs /dev/sdb /ext_drive works fine, so why doesn't the automount features (Nautilus?)

Will now need to edit the init.d file to mount automatically, should look at documentation, but a quick hint at which fil to edit woudl be useful

Then have to go back and sort out the samba config file so that I can get this machine back to mini-server status.

Jonnas
 
Old 10-26-2011, 05:03 PM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,433

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
usual thing is a file in /etc somewhere rc.sysinit, which calls scripts found in /etc/rc.d, perhaps /etc/trc.d/init.d.

There's a command to mount all automatically if you set up fstab, Thats how your other partitions come in. Put it in /etc/fstab and don't use noauto
 
Old 10-27-2011, 03:43 AM   #15
jonnas
LQ Newbie
 
Registered: Jun 2008
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, edited the mountall.sh file in the init.d directory which I think has done the trick (just have to make sure file permissions etc work). Would like to stop the GUI disk manager thingy showing the WD drive on my computer, but trivial and may not even try to fix that.

I am having a few problems getting Samba to work properly now as I'm not able to create directories or copy files from my windows box, but that is another story (and maybe another thread...)

Once again, thanks for your help.

Jonnas
 
  


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
USB Flash Drive: No Media Detected; Format gets: exit code 1: cannot open /dev/sdb: sisterdelirious Linux - Newbie 15 01-30-2012 09:25 PM
Error mounting: mount exited with exit code 1 shoop da whoop king Linux - Newbie 11 05-08-2011 12:41 PM
mount : mount error 2 mounting ext 3 Pivotroot: pivot_root(/sysroot,/sy TONYSUCCAR Linux - Enterprise 3 09-07-2009 05:08 AM
MDK 9.2 cannot mount Ext USB hard drive dr_skids Linux - Hardware 0 11-06-2005 11:56 AM
Cannot Mount Ext. USB Hard Drive sall Linux - Hardware 32 07-15-2005 11:19 AM

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

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