Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stress testing insane file server
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
Aurisor
Guru
Guru


Joined: 20 Sep 2003
Posts: 361
Location: Boston MA

PostPosted: Fri Feb 10, 2006 7:56 pm    Post subject: stress testing insane file server Reply with quote

Hey guys,

I just built an INSANE file server at work....3TB of storage in a raid 5 with hot spare. I went with a hardware raid...the 3ware 9500S-8 Of course, I've got Gentoo on it (same as all of our other machines here =). The whole machine only cost 4 grand and I built it out of off-the-shelf components.

Anyways, just two things:

First of all, if you ever happen to need to format a multi-terabyte drive, make sure you use parted instead of fdisk, as fdisk has a size ceiling. Just thought I'd pass that around because it left me scratching my head for a while.

Second, does anyone have any reccomendations for how to stress test the thing before we put it into service? Even though we have two spare drives, I'd feel safer copying every piece of data the company's produced in the last three years onto it if I ran some tests first =)

Thanks!
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Fri Feb 10, 2006 8:34 pm    Post subject: Reply with quote

Write a script that copies some files to the server and then compares them with the original. This will test both reading and writing. Then run multiple instances of the script (preferable from multiple clients) so the server has to both read and write. While it is doing this make one of the active drives fail (pull it out) and see if it does what it should do (rebuild it on the hot spare).
Back to top
View user's profile Send private message
d_adams
Apprentice
Apprentice


Joined: 20 Oct 2003
Posts: 223

PostPosted: Sat Feb 11, 2006 11:11 am    Post subject: Reply with quote

If there isn't anything on the drives, you could always run shred on it. I did that on a usb drive that was giving me some problems. As I recall, it writes data to every sector of the drive, sequentially for 25 or 26 passes. I think the DOD standard is only 7 passes to wipe data from hard drives. That should give your machine plenty of stress on disk access. Check the man page on shred for more info.
_________________
http://www.1and1.com/?k_id=16196755 click me for cheap linux based web hosting.
Back to top
View user's profile Send private message
Aurisor
Guru
Guru


Joined: 20 Sep 2003
Posts: 361
Location: Boston MA

PostPosted: Tue Feb 14, 2006 2:09 pm    Post subject: Reply with quote

Well, thank you both for your interesting replies. Ultimately I decided to go with shred and a full fsck. I also tested the system's ability to hot-swap and rebuild on the fly, which seemed quite satisfactory.

Thanks again guys!
Back to top
View user's profile Send private message
d_adams
Apprentice
Apprentice


Joined: 20 Oct 2003
Posts: 223

PostPosted: Tue Feb 14, 2006 2:50 pm    Post subject: Reply with quote

Not a problem, glad I had an idea that worked for you.
_________________
http://www.1and1.com/?k_id=16196755 click me for cheap linux based web hosting.
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