Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar JavaChat Mark Forums Read

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 12-12-2006, 03:07 PM   #1
joebloggs99
Registered User
 
Join Date: Dec 2006
Location: UK
Posts: 23
How can I change fsck behaviour when restarting Snap 1100?

I have a very nice Snap 1100 with SnapOS 4.0.854, or so I thought until it started playing up and running really slow. After a bit of investigation I find a bad spot on the disk, and no amount of fscking around will get past it.

So - I have a disk with a basically good file system, and well down the disk, beyond almost all my data, there's a bad spot. Every restart finds the spot, takes the disk offline and flags it for a thorough check next time, so I can't get at my data in the good area.

How can I modify the behaviour of fsck so that it does the (usual) short check at restart that doesn't find the bad spot? If I can do this I can get all my data off without having resort to restoring from back-up media (an operation that could take days)

Help, please!

Last edited by joebloggs99; 12-13-2006 at 01:49 AM. Reason: Better title
joebloggs99 is offline   Reply With Quote
Unread 12-12-2006, 04:23 PM   #2
wgong
Cooling Neophyte
 
Join Date: Nov 2006
Location: Wollongong NSW Australia
Posts: 16
Default Re: How to change fsck behaviour when restarting Snap 1100

What brand of disk drive is it?

If you took the drive out, attached it to a PC and ran Seatools/DFT/Maxblast/etc (if it is a Seagate/Hitachi/Maxtor/etc) it could remap the faulty sector and replace it with one of the spares.

Then you would have a good sector with bad data - would SnapOS handle this?
__________________
Dell 705N v3.4.790 4x Seagate 7200 160GB
wgong is offline   Reply With Quote
Unread 12-13-2006, 01:47 AM   #3
joebloggs99
Registered User
 
Join Date: Dec 2006
Location: UK
Posts: 23
Default Re: How to change fsck behaviour when restarting Snap 1100

Thanks for the suggestion. I don't know how SnapOS will react to it. I'd guess that it depends on what is supposed to be there. There's also the possibility that I'll mess up the swap and lose the lot. I'd rather try something a little softer first. If I can get a better solution to the data recovery bit, I might try your idea as a way to wring some extra service out of the drive. Otherwise, I' ll use your idea as a last resort.
joebloggs99 is offline   Reply With Quote
Unread 12-13-2006, 09:13 AM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: How can I change fsck behaviour when restarting Snap 1100?

Make a copy of the boot tracks while it still working so you have a recovery mode, instruction in the wiki section. HD to Image File.

I know spinrite will remap a drive without loosing any data. It works at the controler level and does not inturpet data. The last one I had like that failed pretty quick. MFG Diag tools do not over write anything with out warning you first. Most just read the smart data.

Create you self a image file for recovery, 1st before you do any thing else.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:27 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...