LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-21-2010, 07:48 PM   #1
onskjang
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
External hard drive


Hi,

I have WD external hdd (80GB) formatted with fat32.
I was using this hdd to transfer the data from computer A (LINUX, RH9) to computer B (Win7).

I was keep copying and deleting the data in the WD hdd during the data transfer because the amount to transfer is more than 300GB.

After doing this several times (and the WD drive was emptied), comp. A said the disk is full. I checked using 'df' and it was really full but 'ls -la' shows that there is no data in it.

I checked it in comp. B, and it showed empty. I tried to format in comp. A using 'mkdosfs -F 32 /dev/xxx# (block#)', but showed an error message like below.

'Warning: block count mismatch: found 78xxxxx but assuming 0'.

I found a similar situation in this forum metioning 'possible damaged linux kernel (not exactly same expression though)', so I re-installed linux in comp. A, but the problem was not solved.

I would like to know
1. why the disk info. is showed differently in linux and win7
2. why I cannot format it

Thanks.

Last edited by onskjang; 10-21-2010 at 08:14 PM.
 
Old 10-21-2010, 08:18 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.
Your linux file system works differently to M$, and may be caching your fs for that drive.

Not the data, just the addresses to the files that were there before.

Try updating the file system database, GNU/Linux has a program called locate (mlocate, slocate...)

When called it searches the database of files on the system.

Update your fs database with...
Code:
updatedb
I hope this helps.

Regards Glenn

ps. fsck may be required to release stale inodes. Look up man fsck.

Last edited by GlennsPref; 10-21-2010 at 08:20 PM. Reason: spelling
 
Old 10-21-2010, 10:37 PM   #3
onskjang
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply Glenn,

I tried 'updatedb', but didn't solve the issue.
After unmounting and removing the WD hdd, 'df' still displays the info about the hdd data. Is this also related to this issue?
 
Old 10-21-2010, 11:38 PM   #4
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Rep: Reputation: 2
I think I have an idea.

I would repartition it. I do this anytime my flash drive acts out.

Here is how I would do it.(note: if you want to do this the graphical way the whole time then click applications then go to administration then syntac package manager and type KPartition in the search thing.)(side note: Be careful not to partition the internal hard drive.)

Code:
sudo apt-get install kpartition
Then just open it, and it will ask for your password then you should be able to do this the graphical way instead of the terminal way.

Last edited by darkstarbyte; 10-21-2010 at 11:38 PM. Reason: improper grammer
 
  


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
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 06:59 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM

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

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