LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2012, 11:13 AM   #16
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29

Quote:
Originally Posted by k3lt01 View Post
You should never, ever, just unplug or hard shut-down any usb drive. You should always safely remove or eject them. Up until your last post I would have just suggested plugging it into Windows and "safely removing" it to see what happened but it seems as though Windows wont recognise it now. So, my next suggestion would be to plug it into the Windows PC and then boot the system up, that way Windows wont get to its GUI mode as it will (should) detect a problem, it may then find the drive easier and may even also try to repair the damage.
Like I stated, I did correctly unmount the volume. I assumed that the damage must have been caused by grub mounting the volume on boot to look for menu.lst, where it froze, and I did not have the option to unmount correctly. I could be wrong about this however, I just blame grub because of what I saw, however, now I think the problem is actually a hardware issue. I'm sure somebody else knows better than I do, and can possibly help, but I really think its beyond repair now. I have reformatted the drive after saving as much data as I could, which was all the important stuff. However, its still not cooperating. Both my linux machine and my room mate's Mac can read it, linux can write to it, and the Mac can write to it if its formatted as FAT and not NTFS. However, if I try to use it for any length of time, eventually it will give me an Input/output error, and die, only to come back a few seconds later. This happens so fast that Linux detects it before it realizes that it has stopped working resulting in it assigning a new /dev/ entry to it, Thunar automounts it again at a new mount point, and everything I was doing with that drive either fails or does something worse, like copy a whole bunch of data to my system partition in /media.
So, if reformatting it doesn't work, the problem must be hardware, right?
Is it toast, or can it be salvaged? I went to the store today and asked about prices, and they were all way more than I want to spend.
 
Old 02-14-2012, 11:24 AM   #17
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
I had the same symptoms a while ago, it was a loose slack joint (is that the right word? that is what my dictionary says for the german word Wackelkontakt) in the power cable, I would check for something like that before dismissing the drive. It may also be worth a try to pull out the disk from the case and connect it to your PC to have a look at it with smartmon-tools or the disks manufacturer's diagnosis tool. May be it is only the case that is failing, those cases are cheap, hard disks are not.
 
Old 02-14-2012, 12:27 PM   #18
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by prushik View Post
Both my linux machine and my room mate's Mac can read it, linux can write to it, and the Mac can write to it if its formatted as FAT and not NTFS.
I'm not quite convinced you have a grip on this. I have never seen a 1TB successfully formatted as a FAT drive. FAT has limitations and size is one of them. What are you using to format it? I would use a couple of things First use GParted and see how it goes then plug it into a Windows machine and let Windows format it as NTFS. Don't just do a quick format either do a full format. I have done this a few times where a disk formatted on Linux with GParted wont be seem by something (TV actually) but the same disk reformatted later by Windows is seen.
Quote:
Originally Posted by prushik View Post
Is it toast, or can it be salvaged? I went to the store today and asked about prices, and they were all way more than I want to spend.
I think, although this is by no means a certainty, it can be salvaged but look at it his way if you were paying labour/times costs your charge would have already blown out past the price of a new one.

May I suggest you by a new one for your friend and keep working on this one yourself so if you need one you can just use your own from now on. Also turn off automatically booting to USB, although I doubt this was the problem at all.
 
Old 02-14-2012, 12:44 PM   #19
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 k3lt01 View Post
I have never seen a 1TB successfully formatted as a FAT drive. FAT has limitations and size is one of them.
Then you obviously have never tried it (I have not also, who needs FAT partitions of that size), the maximum volume size for FAT32 is 2TB.
 
Old 02-14-2012, 12:54 PM   #20
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I use FAT on all USB storage devices. It is compatible and it saves space, especially compared to ext*. It's true, for very large HDDs, you may want to use something else.
 
Old 02-14-2012, 01:01 PM   #21
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
Wouldn't work for me, since I sometimes have files larger then 4GB, not possible with FAT.
 
Old 02-14-2012, 01:16 PM   #22
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by TobiSGD View Post
Wouldn't work for me, since I sometimes have files larger then 4GB, not possible with FAT.
That is a problem, but I don't have many files that big and they can be split.
 
Old 02-14-2012, 01:29 PM   #23
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 H_TeXMeX_H View Post
That is a problem, but I don't have many files that big and they can be split.
Didn't think about splitting, but I think it is simply more convenient for to just use ext or (if it has to be shared with Windows) NTFS instead of splitting and re-joining the parts.
But to each his own.
 
Old 02-14-2012, 01:43 PM   #24
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by TobiSGD View Post
Then you obviously have never tried it (I have not also, who needs FAT partitions of that size), the maximum volume size for FAT32 is 2TB.
I have actually because I tried to build a multiboot 1TB USB hdd. It failed because FAT couldn't format it. The report was it was to large.
 
Old 02-14-2012, 01:47 PM   #25
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
That is strange, may be a limit in the tools used. By the way, how many OSes did you want to put on that disk that you needed 1TB?
 
Old 02-14-2012, 03:32 PM   #26
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by TobiSGD View Post
That is strange, may be a limit in the tools used. By the way, how many OSes did you want to put on that disk that you needed 1TB?
A complete set of DebianLive + the full Debian repository for offline updating after installation. I was also going to have Ubuntu (changed my mind on that one) and Linux Mint (also changed my mind on that one).

So I formatted it to ext4, installed Grub and wallah I have a multiboot 1tB hdd with DebianLive and repositories.
 
Old 02-14-2012, 09:46 PM   #27
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by k3lt01 View Post
I'm not quite convinced you have a grip on this. I have never seen a 1TB successfully formatted as a FAT drive. FAT has limitations and size is one of them. What are you using to format it? I would use a couple of things First use GParted and see how it goes then plug it into a Windows machine and let Windows format it as NTFS. Don't just do a quick format either do a full format. I have done this a few times where a disk formatted on Linux with GParted wont be seem by something (TV actually) but the same disk reformatted later by Windows is seen.
I used gparted, I tried NTFS and FAT, both show the same symptoms. I would use ext2/3/4, but since its not my drive, it would be a bit selfish. Also, I still don't have a Windows machine. The drive being seen is not the issue anymore, its input/output errors, which AFAIK are hardware issues.
The disk came as a whole unit, not an enclosure and a hard drive, I can't even find any screws on the thing. Its powered solely by the USB, there is not separate power supply. The cable uses some crazy non-standard connector on the hdd side, so I can't even replace that.

Quote:
Originally Posted by k3lt01 View Post
I think, although this is by no means a certainty, it can be salvaged but look at it his way if you were paying labour/times costs your charge would have already blown out past the price of a new one.
My time is pretty cheap right now, until class starts up again. I'm sure working to fix it isn't going to cost me more then the prices I saw at the store. I'm not going to spend more than $100 USD for 1tb, and the prices I saw here were more than double that.

Quote:
Originally Posted by k3lt01 View Post
May I suggest you by a new one for your friend and keep working on this one yourself so if you need one you can just use your own from now on. Also turn off automatically booting to USB, although I doubt this was the problem at all.
I use USB boot sometimes. I have a hard drive dock that I use to boot from other SATA drives that I have lying around. disabling it would be a an inconvenience. I also agree now that it probably wasn't the issue, since GRUB should mount it as read only and never ever try to write to it.
 
Old 02-14-2012, 10:44 PM   #28
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 prushik View Post
I use USB boot sometimes. I have a hard drive dock that I use to boot from other SATA drives that I have lying around. disabling it would be a an inconvenience.
If you want to choose at boot time from which drive type to boot only a single key press is necessary, F8 for ASUS, F9 for Biostar and some Dell laptops, F11 for MSI and ASRock, F12 for Gigabyte, Escape for Foxconn. Not very inconvenient, but of course that is up to you.
 
Old 02-14-2012, 11:57 PM   #29
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by TobiSGD View Post
If you want to choose at boot time from which drive type to boot only a single key press is necessary, F8 for ASUS, F9 for Biostar and some Dell laptops, F11 for MSI and ASRock, F12 for Gigabyte, Escape for Foxconn. Not very inconvenient, but of course that is up to you.
Only a single key press MAY be necessary, depending on your bios. My machine is a system76 pangolin (p6 or p8 I think), and I don't think I have that option. I have to go into the setup screen and arrange my boot order.
 
Old 02-15-2012, 01:36 AM   #30
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by prushik View Post
Also, I still don't have a Windows machine. The drive being seen is not the issue anymore, its input/output errors, which AFAIK are hardware issues.
Sorry I thought I read that you said you had access to a Windows machine. It was in Chinese and the person who owned it wasn't as computer savvy as you are. I must have made a mistake as it is obvious you don't have access to any Windows machines.
Quote:
Originally Posted by prushik View Post
I use USB boot sometimes. I have a hard drive dock that I use to boot from other SATA drives that I have lying around. disabling it would be a an inconvenience.
So in order to limit inconvenience sometimes you prefer to possibly wreck a piece of hardware that isn't yours. Way to go.
Quote:
Originally Posted by prushik View Post
I also agree now that it probably wasn't the issue, since GRUB should mount it as read only and never ever try to write to it.
Correct, Grub won't do any damage but hard shutdowns like you obviously did can.

Anyway I can't think of anything else that is easy to eliminate, and your not following all suggestions anyway, so good luck I hope you can fix it, or at least replace it.
 
  


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
Oops...I broke fstab on Centos 5.3 jedispy Fedora 6 11-12-2009 12:30 AM
oops broke my jack ninja master Linux - Software 0 03-22-2009 07:45 PM
Roommates use unencrypted wireless network halfpower Linux - Security 6 05-15-2008 07:38 PM
Broke my Graphical User Login! (oops!) griffwolf Linux - Newbie 3 05-05-2007 03:45 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

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

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