LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-31-2012, 06:47 AM   #1
tyc
Member
 
Registered: Oct 2007
Posts: 63

Rep: Reputation: 15
Sd card "... Busy"


I'm guessing this is the right forum for someone with SD Card problems.

Was using an SD card with Fedora v16-64 as a backup for txt and wordprocessed files and I want to change the permissions for several of these. I've found to my surprise that suddently " chmod ", even as su, doesn't work. The card shows up as "busy" and repeated attempts to change the permissions have failed. I can't even erase/delete the files but strangely enough, if I open the file, make changes and then save it under a different name, it works.

Is it me? Is this unique to Fedora? Has anyone experienced this beside me?

tyc
 
Old 12-31-2012, 12:26 PM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,324
Blog Entries: 3

Rep: Reputation: 86
If any process -- a shell using 'cd somewhere', a file manager with a selected folder, an application that has opened files and is still running (even if files are now closed) -- is currently accessing a file system, it is "busy" as far as most administrative actions are concerned. If you stop all of those processes, the file system itself will continue to keep things active for a short while in case new activities start up. The file systems also need to finish writing buffers to disk after activities are completed.

I hope that this helps,
~~~ 0;-Dan
 
1 members found this post helpful.
Old 01-02-2013, 09:37 PM   #3
tyc
Member
 
Registered: Oct 2007
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SaintDanBert View Post
If any process -- a shell using 'cd somewhere', a file manager with a selected folder, an application that has opened files and is still running (even if files are now closed) -- is currently accessing a file system, it is "busy" as far as most administrative actions are concerned. If you stop all of those processes, the file system itself will continue to keep things active for a short while in case new activities start up. The file systems also need to finish writing buffers to disk after activities are completed.

I hope that this helps,
~~~ 0;-Dan
Not at all. Of no help what-so-ever.

tyc
 
Old 01-02-2013, 10:09 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,817

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
What filesystem is on the SD card? Since a FAT32 filesystem does not know anything about linux permissions chmod will fail. The output of the mount command without options will show how the sd card is mounted.

Can you erase/delete files as root?
 
Old 01-03-2013, 08:37 AM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,324
Blog Entries: 3

Rep: Reputation: 86
Quote:
Originally Posted by tyc View Post
Not at all. Of no help what-so-ever.

tyc
Sorry if I added confusion or used too much technobabble and geekish.

If you 'cd ' to some folder on the file system, it will be busy.

If you have a file browser window open with a folder or file selected on the file system,
it will be busy.

If you run an app (word processing, photo viewer, etc) and access content on the file system
it will be busy.

Even after you close all of that stuff down, the file system will remain busy for a short time
while the OS does housekeeping.

Sometimes, something will grab a file system and keep it busy even when you think all has ended.
In these cases fuser might help you identify what is keeping things running.

Good luck,
~~~ 0;-Dan
 
Old 01-07-2013, 08:35 AM   #6
tyc
Member
 
Registered: Oct 2007
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
What filesystem is on the SD card? Since a FAT32 filesystem does not know anything about linux permissions chmod will fail. The output of the mount command without options will show how the sd card is mounted.

Can you erase/delete files as root?
Just got back ...

Will have to check into how the SD card is mounted. Right now I don't know.

As for the ability to erase ("rm") the files as root, I've tried that, without success, which did surprise me very much. Interestingly enough when the files were copied to a Memoriz stick I was able to do this - one file at a time. As for the SD card in question, the same result was encountered with "chmod" and "chown"; i.e., no change. It's much as if I were dealing with an old floppy diskette and I had a tape over the notch so I couldn't write to or erase the diskette only right now I don't know how to "untape" the "notch."

Thanks for the come back. If you have any suggestions, I'm all ears. Don't want to have to throw away the SD card if it can be helped.

tyc

Last edited by tyc; 01-07-2013 at 08:37 AM.
 
Old 01-07-2013, 08:40 AM   #7
tyc
Member
 
Registered: Oct 2007
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SaintDanBert View Post
Sorry if I added confusion or used too much technobabble and geekish.

If you 'cd ' to some folder on the file system, it will be busy.
(I found that out)

If you have a file browser window open with a folder or file selected on the file system,
it will be busy.

If you run an app (word processing, photo viewer, etc) and access content on the file system
it will be busy. (I found that out)

Even after you close all of that stuff down, the file system will remain busy for a short time
while the OS does housekeeping.

Sometimes, something will grab a file system and keep it busy even when you think all has ended.
In these cases fuser might help you identify what is keeping things running.
(And how does one do that?)

Good luck,
~~~ 0;-Dan
Gees Dan,

I know you're clearly trying to be of help but you've got to come out of that "ivory tower" when it comes to things like this.

As for Ayn Rand ... be a fan of hers for decades.

Thanks for trying.

tyc
 
Old 01-08-2013, 10:52 AM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,324
Blog Entries: 3

Rep: Reputation: 86
One more from the "ivory tower"

Unconscious Incompetence -- You don't know what you don't know.
Conscious Incompetence -- You know what you don't know.
Conscious Competence -- You know what you know.
Unconscious Incompetence -- You don't know what you know.

Once cannot teach or inform unless they know what they know and don't know.
More importantly, it is very valuable to know what your audience knows and doesn't know.
(Most folks learn by adding new information and skill to something they already know.)
Clearly, I missed on both counts and regret that I wasted your time.
If you continue to have this problem -- something I fought and mostly beat -- I'd love
to try to help you resolve it.

Regards,
~~~ 0;-Dan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot delete directory - it's "busy" but not busy. dbsanders Linux - General 4 11-02-2010 01:38 PM
Why my wireless card "atheros" run only as an acces point in "Master" mode. jardiamj Linux - Wireless Networking 3 11-11-2007 12:12 AM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". HELP! badgerbox76 Linux - Newbie 35 03-08-2007 02:27 AM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". badgerbox76 Linux - Games 13 01-11-2006 04:47 PM


All times are GMT -5. The time now is 04:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration