Debian Hardware :: Benchmarking A Raid 1 Filesystem?
Sep 2, 2011
I have just moved my /home to a 1TB, 2 disk, raid 1 setup (using btrfs). I benchmarked the individual disks using the Gnome Disk Utility, but how do I go about benchmarking, specifically the read speed of the file system?
when i want copy something from dvd my debian squeeze is total slow cpu ussage is 100% and write 2.2 mb/s and musick is stop and play. This same is on burning cd /dvd the device buffer is an about 10-15% this dvd is Pionier 116D on windows xp work perfect. I try benchmark dvd form gnome-disk-utility but i got Error benchmarking: helper exited with exit code 1: Device /dev/sr0 is too slow to benchmark
[Code]....
( everything works on debian lenny on the old kernel 2.6.26 ) I instaling a few kernel and compiling 2.6.35.7 with .config file form ubuntu on finaly didn't help
Playing with the Box, I deleted a Raid-0 partition intentionally, saved it, and reboot drops me to (Repair Filesystem#) prompt. I notice during boot-up that the box didn't find /dev/md0, which is expected.
So what's the recovery procedure, since I can't edit #/etc/fstab, permission denied.
#fdisk -l shows all other partitions.
Not much familiar with fsck/e2fsck, yet like to give it a try.
I'm a bit of a Linux newbie, but I did manage to set up the following RAID-5 system:1x 500GB system drive on ATA IDE4x 1TB SATA drives in software RAIDLinux = Fedora 13So here's what happened. I set up the system to send me an email every time the mdadm stat file changed, so it would send me emails when in periodically ran a self-test. I was away and noticed that the self-test was going incredibly slow (usually took 8 hours...was on course for taking 250 days!) A colleague decided to just reboot the system.Afterwards, the system would not boot and, while all 5 drives were connected, would stop at an endlessly scrolling error message of: Code: ata4.01: exception Emask 0x0 SErr 0x0 action 0x0
ata4.01: BMDMA stay 0x64 ata4.01: failed command: READ DMA ata4.01: (a bunch of hex numbers)
I have used same Hardware and OS platfrom for web server benchmarking and i have used similar php and jsp scripts for Apache and Tomcat. For this testing i have used apache ab benchmarking toolFrom this statistics i would like to clarify the performances about Apache and Tomcat.
1. why Tomcat have taken too much of time to finish this 10 million requests to compare with Apache? 2. why this huge different for "Request per Second"? 3. To Tomcat i have increased multi thread level 300 and JVM memory usage upto 2048mb(but performances not increased), rather than these, is there any other performance tune-up settings for Tomcat? 4. from these statistics, can i come to the conclusion that apache is the best? 5.do u feel that ab tool favouring to Apache?
if I install some benchmarking utilities via WINE, should I expect inaccurate results? I know about other benchmarking apps such as phoronix, but there are so many more I want to use that are of the .exe nature.
Is their a command I could use to do this? It needs to be 32MB (33,554,432 bytes), can be either random data or just a blank file, though random data would be preferable, and well... that's it.
Though also, is their a way I could copy the file in a terminal and it print out the info such as average speed and/or total time it took to complete. I'm trying to fight some bad reviews on this flash drive I bought that performs very well, and since stupid comment vs stupid comment doesn't win anything I need to apparently be the first to actually test this drive throughly.
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage *Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
Code: mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
I got two harddisks, sda and sdb. Is it possible to install Debian root into software raid partitions sda2 and sdb1 leaving all other partitions 'normal' (not-raid)? do partitions sda2 and sdb1 need to be exact same size and position?
When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$
This only started happening quite recently - before this I could boot to Linux quite happily.
Squeeeze is now frozen.Lenny has Ext3 as default filesystem and that's fine.But I am unsure if the Ext4 or btrfs is the best - and why.What's the best? Ext4 or btrfs?
I have a following problem: Recently my drive with Ubuntu 9.4 has mysteriously stopped working, i.e. when I switch the computer on it informs me that GRUB didn't find the filesystem. Well, I suppose it happens.
First, I though it was due to the drive dying, but I popped it in an external enclosure and HDTune told me the drive was fine. Wanting to recover the files on the drive before reinstalling I first tried to mount it in said external enclosure under Windows (I have Win Ext2 driver installed which used to work just fine). This time, however, drive gets assigned a letter but upon opening it Windows popped up an error saying that the drive was not formatted and whether I would like to format it then.
Unfazed by this streak of failures I tried to mount it under Linux but, alas, to no avail. I might have tried every single -t operator under mount command but it still won't budge and let me mount.
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
I have installed debian recently and not able to mount any other volume except FileSystem. It says -You are not privileged to mount this volume.I have tried everything including raising the permissions of the user and changing the group to root but in vain.??
I want to take my Debian server's file system home to scan with a chkrootkit and I want to copy all the files and folders to my flash drive which is only 2 gigs and the file system is 3 gigs.
So should I use gzip or tar or what? I am still looking around google but nothing is super clear. Also I am currently making a tar.gz archive of everything, but I used the GUI so I don't know if I did it right or not yet. Its taking a long time tho.
I currently have a server setup in a perfect way for my specific network. Is there a way that I can mirror the server EXACTLY to a CD that will install all my configurations and the like upon CD boot?
I have switched recently from Ubuntu to Debian and overall I am enjoying it. However I was just wondering, does Debian, like Ubuntu check the filesystem at boot periodically or if damaged, because it is doing neither in my case? How do I get it to do this
I have a system in which I want to have /etc in a read-only filesystem. What can I do with mtab? It gets write at /etc/init.d/mountall.sh (that is, /etc/rcS/S35mountall.sh)
I'm wondering if anyone knows what will be Squeeze's default filesystem. Will it be the proven ext3 or the newer (sometimes faster, sometimes slower) ext4?
I currently have ext4 and I have nothing to complain about. In fact, my overall experience has been very positive. Ext4 is definitely faster when fsck runs during boot.
What would be the cons of having ext4 as default in Squeeze?
I installed Debain Lenny as a dual boot with ubuntu 10.10. Chose not to install Grub legacy in the mbr or in any partition because I thought grub2 could handle it. All went well, updated grub2 in ubuntu and it found Debian, but when I try to boot into Debain it hangs at - waiting for root filesystem. I've searched, but can't fathom why this is happening, much less how to fix it without just reinstalling it.
I am trying to map a URL to a file system location.According to official documentation at [URL] under 'Files Outside the DocumentRoot', it says:On Unix systems, symbolic links can bring other parts of the filesystem under the DocumentRoot. For security reasons, Apache will follow symbolic links only if the Options setting for the relevant directory includes FollowSymLinks or SymLinksIfOwnerMatch.
I recently upgrade my armel NAS from etch to squeeze. During the partitioning step of the installation I intentionally left unmounted the data partition (900GB formatted XFS) but after the installation I'm not able to mount it.
I edited the fstab file adding the last line
And tried a mount but I get the message
So i noticed throught lsmod that I don't have the module for xfs
Tried installing xfsprogs but it didn't helped. So I searched for xfs-modules but seems it doesn't exists for armel architecture. Am I right? What does it means? That XFS is not supported in armel Squeeze? Assumed I can't transfer/backup 900GB of partition, is there a way to convert it on-the-fly to a supported filesystem format?
But, when I run the du command, it shows I have used only 2G out of 9.9G.
ip-10-204-70-44:/$ du -xh --max-depth=1 14M ./etc 4.0K ./mnt[code]....
It just driving me crazy and interesting too. This is big problem for us since the root disk / is full and some of the function in our site is failing.
I am trying to boot Debian Live, using Grub, from a folder on my hard drive which is basically the contents of the iso.
Here is my menu.lst:
However, on boot, after a while, it says boot failed. The error message it gives is: "Unable to find device with live filesystem" or something similar.