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 07-08-2011, 01:07 PM   #1
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Rep: Reputation: 2
Smile centOS couldn't recognize my removable hard drive


I have a samsung removable hard drive, which have 3 fat32 partitions on it. When I plug into the usb. nothing happened and i just see a sdc was added in /dev/...so, there's nothing wrong with the drive, because i can use it on windows and ubuntu. can anybody tell me why, thanks for answering
 
Old 07-08-2011, 02:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you run the mount command ?
is there a manually added entry in fstab ( one you added)

is fuse and the not installed by default user file system files for gnome installed ?

cent like RHEL is DESIGNED of the headless server first and foremost

YOU need to mount it is cent
http://centos.org/
http://wiki.centos.org/

auto mount IS NOT installed or set up by default ( this is in the cent and RHEL documentation )

http://wiki.centos.org/TipsAndTricks/GnomeAutomount

https://access.redhat.com/knowledge/...erprise_Linux/
 
Old 07-08-2011, 11:46 PM   #3
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
Thumbs up

Quote:
Originally Posted by John VV View Post
did you run the mount command ?
is there a manually added entry in fstab ( one you added)

is fuse and the not installed by default user file system files for gnome installed ?

cent like RHEL is DESIGNED of the headless server first and foremost

YOU need to mount it is cent
http://centos.org/
http://wiki.centos.org/

auto mount IS NOT installed or set up by default ( this is in the cent and RHEL documentation )

http://wiki.centos.org/TipsAndTricks/GnomeAutomount

https://access.redhat.com/knowledge/...erprise_Linux/
Thank you for answering my question, firstly. then, i have a usb flash drive too, and it is recognized normally and i am able to rw. there is a fat32 partition on my hard disk, and i can mount it and see it, but i can't modify the content of the partition...the methods you mentioned, i have tried before, but it doesn't work. Thank you again for answering
 
Old 07-09-2011, 12:49 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
a usb is very different that a removable sata drive
they use different mechanisms


i am guessing that for the removable drive you are using uuid in mounting ?
is there a listing for it in fstab and once mounted in mtab

you might need to write a udev rule for mounting it

cent/rhel is a VERY manual system, most things need to be manually set .
 
Old 07-09-2011, 09:46 AM   #5
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
Maybe, but I don't quite understand... And sorry I was not telling it clearly, the partition i can read is in my hard disk, not removable hard drive, and I am using options nouuid and rw... so back to the point, how should I modify the fstab to mount my removable hard drive, thank you again for answering...

Last edited by dspjm; 07-09-2011 at 09:48 AM.
 
Old 07-09-2011, 01:00 PM   #6
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
I tried someone else's removable hard drive, it's recognize normally.
 
Old 07-09-2011, 01:37 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
As root open a terminal window or console and 'tail -f /var/log/messages'. Now attach the drive. Past here, preferably in a BB code block, the output of the drive being attached together with output of running 'fdisk -l; blkid'?
 
1 members found this post helpful.
Old 07-09-2011, 11:32 PM   #8
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
the tail log...
Code:
Jul 10 12:27:43 deity kernel:   Vendor: SAMSUNG   Model: HM120JC           Rev:  0 0
Jul 10 12:27:43 deity kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Jul 10 12:27:43 deity kernel: SCSI device sdb: 234439535 512-byte hdwr sectors (120033 MB)
Jul 10 12:27:43 deity kernel: sdb: Write Protect is off
Jul 10 12:27:43 deity kernel: sdb: assuming drive cache: write through
Jul 10 12:27:43 deity kernel: SCSI device sdb: 234439535 512-byte hdwr sectors (120033 MB)
Jul 10 12:27:43 deity kernel: sdb: Write Protect is off
Jul 10 12:27:43 deity kernel: sdb: assuming drive cache: write through
Jul 10 12:27:44 deity kernel:  sdb:<6>sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: printk: 34 messages suppressed.
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 0
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 1
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 2
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 3
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 4
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 5
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 6
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 7
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 0
Jul 10 12:27:44 deity kernel: Buffer I/O error on device sdb, logical block 1
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: Dev sdb: unable to read RDB block 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel:  unable to read partition table
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: Attached scsi disk sdb
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:44 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:44 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:45 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:45 deity kernel: end_request: I/O error, dev sdb, sector 0
Jul 10 12:27:45 deity kernel: sd 5:0:0:0: SCSI error: return code = 0x10070000
Jul 10 12:27:45 deity kernel: end_request: I/O error, dev sdb, sector 0

fdisk -l; blkid
Code:
 fdisk -l; blkid

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1020     8193118+  83  Linux
/dev/sda2            3953       30401   212451562    f  W95 Ext'd (LBA)
/dev/sda3            1021        3952    23551290   83  Linux
/dev/sda5            3953        7883    31573556+  83  Linux
/dev/sda6            7884       11672    30435111   83  Linux
/dev/sda7           11673       11799     1020096   82  Linux swap / Solaris
/dev/sda8           19649       30401    86373441    b  W95 FAT32
/dev/sda9           11800       12564     6144831   83  Linux
/dev/sda10          12565       12946     3068383+  83  Linux

Partition table entries are not in disk order
/dev/sda10: LABEL="/tmp" UUID="1cf4cb22-107d-4e75-8ac7-db6e82f0ae95" TYPE="ext3" 
/dev/sda9: LABEL="/var" UUID="df15be27-d472-4416-9142-8e45966b6f66" TYPE="ext3" 
/dev/sda8: LABEL="DOWNLOAD" UUID="D0D1-8BD9" TYPE="vfat" 
/dev/sda7: UUID="a527a3f8-ea3d-41d4-9444-54712e056088" TYPE="swap" 
/dev/sda6: LABEL="/usr" UUID="aab944d6-98e0-4df5-8b82-fc387a6d6a71" TYPE="ext3" 
/dev/sda5: LABEL="/home" UUID="8c20419e-47ca-4ee0-9ceb-d443cf7b5be6" TYPE="ext3" 
/dev/sda3: LABEL="/" UUID="3fd07374-8f45-41ce-ab9c-c30704a0b4be" TYPE="ext3" 
/dev/sda1: LABEL="/boot" UUID="676e014e-b199-4fd3-9f69-4c0b3c26f323" TYPE="ext3"
thanks...
 
Old 07-10-2011, 02:05 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i read this wrong
Quote:
I have a samsung removable hard drive, which have 3 fat32 partitions on it. When I plug into the usb.
so this is a EXTERNAL usb drive and NOT a removable sata that pulls out of the tower

odd
the "messages" log says there is an error on your second drive ( sdb)
but the partition table has no sdb drive ?


with the use external drive plugged in is there a listing for it using the command
Code:
 lsusb

also is gnome automount set up ?
http://wiki.centos.org/TipsAndTricks/GnomeAutomount


and dose the usb drive manually mount ?
Code:
su -
mkdir /mnt/usb_fat
mount -t vfat /dev/sdc /mnt/usb_fat
 
Old 07-10-2011, 07:23 AM   #10
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
my mistake... sdb refers to the removable hard drive now. I have a flash drive plugged in when i write this initially, so here is the output of the commands
Code:
lsusb
Bus 001 Device 007: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
Bus 001 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 064e:a116 Suyin Corp. 
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 004: ID 062a:3633 Creative Labs 
Bus 003 Device 001: ID 0000:0000
I think i have tried the gnome auto mount, and set up right.

i tried to mount it manually, and it said
Code:
mount -t vfat /dev/sdb /mnt/usb_fat
mount: /dev/sdb: can't read superblock
 
Old 07-10-2011, 11:43 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If possible I'd remove the drive from the enclosure to bypass chip problems (not all enclosures are the same quality-wise) and attach the disk to the machine directly. If it attaches OK run testdisk with the "/debug /log" switches and see if can recover the partition table.
 
  


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
Centos 5.3 install won't recognize hard drive HelpMe2877 Linux - Software 3 05-14-2009 01:20 PM
Toggling the 'removable' flag on a hard drive peets Linux - Hardware 9 07-23-2007 10:30 PM
Install Linux on a Removable Hard Drive SuperSadSmile Linux - General 6 05-11-2005 03:47 AM
Linux on removable Hard Drive hobz Linux - Newbie 1 02-19-2005 12:09 PM
Removable hard drive question eastj1974 Linux - Newbie 3 05-23-2003 07:51 AM

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

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