Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error in automatic spin up with ext3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FNX
n00b
n00b


Joined: 03 Nov 2004
Posts: 40
Location: Istanbul

PostPosted: Fri Aug 10, 2012 10:54 pm    Post subject: error in automatic spin up with ext3 Reply with quote

Hello,

I'm experiencing I/O errors when my external hard disk (GoFlex) wants to automatically spin up. I really want my disk to spin down when idle. But currently i have to remount the disk each time i want to use it.

What can be done to get the filesystem wait for it before timing out and returning a read error?
_________________
Fnx
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Fri Aug 17, 2012 10:00 pm    Post subject: Reply with quote

I have an external enclosure that spins down and spins back up without causing an error. This is probably a hardware issue but I'm sure there may be a one-off kernel patch (would be below VFS I'd say) to fix this, I doubt anyone has such yet.

Is this connected via USB?

I would imagine eSATA should work just fine with spinup/spindown. Not sure about 1394.

One additional thought - I'm hoping this is not bus powerred. There's also a possibility on a bus-powered drive that the spin up glitches power to the drive enough that it confuses it, causing an error. Need a better power source...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
FNX
n00b
n00b


Joined: 03 Nov 2004
Posts: 40
Location: Istanbul

PostPosted: Fri Aug 17, 2012 10:34 pm    Post subject: Reply with quote

Yes, the disk is connected via USB and it has its own power adaptor from AC.

I wonder if another format like xfs or reiserfs will behave as the same way.
_________________
Fnx
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sat Aug 18, 2012 7:08 pm    Post subject: Reply with quote

I'd have to say at least reiserfs would act worse. It seems a bit dodgy in my opinion when dealing with an unreliable disk.
Curious as to who made the USB chipset in the external drive?

I have a crappy Genesys Logic USB->PATA controller that would spin down (and one that wouldn't). The one that does spin down does not cause disk access errors on ext3fs upon spinup, it actually patiently waits for it. I haven't seen what my other USB->disk bridges would do though...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum