• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 650
  • Last Modified:

Error message when mounting ext3 file system

I'm getting the following message when mounting an ext3 file system I know works on another ubuntu box. When I mount, the following comes:

[3731511.821853] end_request: I/O error, dev sdb, sector 63
[3731511.830963] Buffer I/O error on device sdb1, logical block 0
0
dorianit
Asked:
dorianit
  • 6
  • 5
1 Solution
 
joolsCommented:
Can you post more info, like what you are typing and the output to 'fdisk -l' when run as root.
0
 
dorianitAuthor Commented:
Here's the output from fdisk -l

------------------------------------------------------------------------------------------
xxxxxx@mail:~$ sudo fdisk -l


Disk /dev/sdg: 1649.2 GB, 1649267441664 bytes
255 heads, 63 sectors/track, 200512 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff6e5ceb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               1      200512  1610612608+  83  Linux
-------------------------------------------------------------------------------

I created the primary partition and formatted to be ext3.
0
 
joolsCommented:
You dont have sdb you have sdg so try mounting sdg1.

If this is a USB type connected device the device reference may change so it may be sdb or sdc...sdg depending on what other devices you have connected.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
dorianitAuthor Commented:
I'll double check it but I'm sure I did mount sdg1 and then that error message came up;  I just didn't notice the sdb in it.
0
 
joolsCommented:
if you post exactly what you type and exactly what gets returned it will be useful, just cut/paste should be ok.
0
 
dorianitAuthor Commented:
Here's how I mount the drive and the resulting error messages.  I've attached a screenshot.
p4300.png
0
 
joolsCommented:
Thats really weird, according to the fdisk output sdb doesnt exist and the drive you were using was sdg! I will have to assume there is some typos and/or some information missing which will make fault finding much more difficult.

In the mean time, back to the basics...
Is the drive recognised correctly in the BIOS? if the BIOS is old it may not recognise the capacity of the driver correctly and you may need to flash the drive or use the disk on a newer server.

How is the drive connected? The error looks like a hardware fault so you should double check cables (SATA/SCSI/USB or whatever) if the drive is in a USB caddy and you put it in check the connectivity in that. Use different connectivity cables (SATA/SCSI/USB or whatever!!)

If this is a USB drive can you connect it internally and try again? Note that the disk may change id again.

Have you checked the file system using fsck?? (fsck /dev/sdb1) You will need to run as root.

Check the drive using smart tools, the drive could be failing, smartctl -a /dev/sdb. If the drive is failing you may end up loosing the data.

You said the drive worked on another server, is this still the case, can you post the output from the working system

Can you please post the output to the following (unedited)
fdisk -l
df -Pk
tail -100 /var/log/messages
0
 
dorianitAuthor Commented:
Attached are the three outputs you asked for. Thank you!

fdisk -l
df -Pk
tail -100 /var/log/messages
fdisk-l-command.gif
df-Pk-command.gif
tailoutput.txt
0
 
joolsCommented:
ok, it looks like an hp server and I guess it's a usb disk, have you tried a different usb port? It is looking like a hardware error perhaps with the disk or the connection to it.

Can you respond to the other questions above?

It would be helpful if you can install the disk physically into a PC or Server to run the checks.
0
 
dorianitAuthor Commented:
The disks are connected over open-iscsi.  It's a p4300 SAN.

I've attached the output from fsck /dev/sdb1.
fsck.GIF
0
 
dorianitAuthor Commented:
Thank you for your help!   I went ahead and remade the partitions and reformatted to get it to work.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now