Debian Hardware :: LVM - Performance Between A Raid1 And A Raid0 The Same
Mar 21, 2010
I just have a few questions about LVM and RAIDs. It seems they are basically the same thing. Is this correct? I can add two drives together on both of them and it appears as a larger drive, along with other setups like raid1 and raid5, etc.. And is there a difference in performance between them?
And my second question.. I know one is stripped and one is not, but is the performance between a raid1 and a raid0 the same? I've been told that raid1 is faster than raid0 because the data is written twice.. and therefore can be read from two different disks which equals faster read speed, but slower write speed since it writes to the two.
View 1 Replies
ADVERTISEMENT
May 20, 2010
Compared to my laptop notebook with a HD of 5400rpm, the write performance of raid1 on an ubuntu lucid server is unacceptable. In the begining, I installed ubuntu 9.04 server(alternate) using raid1 with two WD 1TB HDs of 7200rpm(Green Power) and then performed dist upgrade to 9.10 and then to 10.04.
I guess the write performance initially was reasonable since the installation and data migration(copy from another computer over LAN) didn't take too much time. However, after upgrading the server to 9.10 or so, I found large file upload through samba or ftp tends to block and time out. It is of no use whether to change the daemon or the client program so that I tried to test the read/write performance on the server to figure out the situation.
To my surprise, using strace I found even a simple program like cp would easily get blocked eventually in a write() system call for decades of seconds. Hence, I perform another disk writing test using dd for data size ranging from 50MB to 1GB. Performance test commands are listed as follows:
Quote: dd if=/dev/zero of=test.img count=[5|10|15|20|100] bs=10M
if the data to write is equal or fewer than 150MB, the command returns immediately at very hight speed but the raid disks starts to sync and busy so that the terminal prompt seems to freeze. I think this behavior is normal under the raid1 configuration, isn't it?
But when the data size is equal to 200MB, the test command blocks for seconds and the write speed is measured at about 16.6MB/s. Of course, the raid disk still starts to sync and busy afterwards. Next, I test writing with data of size 1GB. The command blocks so long for about 770 seconds(<2MB/s) while the same test runs for only 17.49 seconds(60MB/s) on my laptop.
I also burn a Lucid LiveCD to boot the server and mount the raid device to run the test again but the results remain similar. Does that means even I re-install the system on the raid, the problem never disappears?
PS: the disks run under the mode of UDMA6 without change.
View 2 Replies
View Related
Feb 15, 2015
I have two SSDs on which I have configured md RAID 0, with a 16 KB chunk size. My understanding is that Wheezy (and later) installations are smart enough to align partitions on block boundaries, even in md RAID configurations, but to satisfy my own natural distrust, how do I go about actually confirming that it has done the right thing? I have a single root logical volume within an LVM partition, but neither the logical volume nor the LVM partition occupy all available space, and the LVM partition is offset from the end of the disk.
My concern arises from the fact that, when I look at the sysfs entry for my root partition:
# cat /sys/devices/virtual/block/md126/md126p4/start
804818048
This number is not evenly divisible by 4096.
View 2 Replies
View Related
Aug 20, 2015
I would like to make a boot RAID0 LVM on a pair of SSDs (sdc and sdd). The system is already running off of a HDD. I built the RAID0 through the Asus BIOS on the Intel controller. I see:
# cat /proc/mdstat
Personalities : [raid0]
md124 : active raid0 sdc[1] sdd[0]
59346944 blocks super external:/md126/0 32k chunks
md125 : active raid0 sda[1] sdb[0]
222715904 blocks super external:/md127/0 32k chunks
[code]....
My challenge is that when I open Gparted, it only show one disk at a time. I would like to learn how to use Gparted to partition this RAID0 with a UEFI sector and LVM for the rest.
View 2 Replies
View Related
Aug 5, 2010
I'm a beginner + in debian (ie I know how to launch basic command under a shell), and I very new to configuration problem.I have a running perfectly file server for probably more than 2 years that I never touch. That's the debian problem, when it's unning, it's forever, no reboot at all.I recently bought 2 new sata drive 1TB5, that I add to my system by adding to my old system a SATA PCI board without any problem.But, one of these 3 month old drive is already dead.So I try to replace it and that's where problem started.....First I did a#mdadm --manage /dev/md1 --remove /dev/sdb1, of course without sucess because sdb is dead
#mdadm --detail /dev/md1
/dev/md1:
Version : 00.90.03
[code]...
View 14 Replies
View Related
Feb 8, 2009
i have 2 shiny new 1TB SATA drives. I have a running system already, basic install on a single disk. install both new drives & raid1 them on a single partition - mount them for storage. Seems simple but all i can find are howto's on instaling the whole system & booting on RAID.
View 1 Replies
View Related
Apr 21, 2010
I installed a raid1 on a debian lenny box with only 1 drive "--raid-devices=1" because I didn't have the other drive yet. When I got the other drive, I used "mdadm --grow /dev/md0 --raid-devices=2" and "mdadm --manage /dev/md0 --add /dev/sdb1" The original drive is sda1. I watched /proc/mdstat until it was completely synced, and after a reboot, the system will not reassamble the raid. It fails with "mdadm: no devices found for /dev/md0" This is where root is, therefore, I get nowhere. From a rescue cd I can disable the other drive and shrink back down to 1 device and it boots fine.
View 1 Replies
View Related
Jan 7, 2011
We have the following server at collocation: [URL]
Provider's technicians were working for 3 hrs but finally were unable to set up hardware RAID1 on it.
What could prevent them from doing it? Is it difficult to set up RAID1? It is mentionned as basic function in specifications.
They said debian not booting after raid configured...
View 2 Replies
View Related
Jul 28, 2015
Recently tried to make RAID1 on MBR partitions scheme on Debian Jessie - debian-8.1.0-amd64-DVD-1. The issue - I have unable to boot from second drive after grub-install /dev/sdb by any ways. RAID1 itself for / swap and home is fully functional. Decided to try the same thing on GPT, same story. How to boot from second drive on most recent Debian Branches?
View 9 Replies
View Related
Jul 26, 2014
I have a VIA Epia M 5000 system with 2 western digital 1TB NAS SATA drives connected through SATA<->IDE adapter. Everything installs and writes as expected except... grub. It never boots, after a message 'Grub loading' I always get 'error: no such disk'. I've tried numerous times and has been attemping to fix the issue for the past 2 days.
/dev/sda
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect, logical partition
/dev/sdb exactly the same
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect
/dev/md0
RAID1 of /dev/sda1 and /dev/sdb1
marked as ext4, boot point /
/dev/md1
RAID1 of /dev/sda5 and /dev/sdb5
marked as swap
update-grub2 in rescue mode generates grub.cfg with SET root=/mduuid/UUID_OF_SDA1
then after that there's search --no-floppy etc --set root=/mduuid/UUID_OF_MD0
I'm writing this from memory but simply the two uuids are different. Is this correct? I get those UUIDs to compare from blkid. All partitions are marked as bootable. grub-install /dev/sda and grub-install /dev/sdb produces no errors. grub-install /dev/md0 does not work, complains about superblocks or something similar.
Grub.cfg file contains insmod raid mdraid1x and similar lines, so that should be ok. Grub drops to rescue mode with message error: no such disk. Not device, but disk. Google finds many results for 'no such device' error, but I am not getting that error. 'ls' produces
(hd0) (hd0,msdos1) (hd1) (hd1,msdos1) ls ANY_VALID_PATH produces empty newline being printed, nothing more.
setting prefixes manually does not work, with error message 'error: file not found'. ls (hd0,msdos1)/boot/grub also produces empty line being printed. Rescue CD and auto-assemble of md0 and md1 works, the files are there, everything okay, except grub.
View 3 Replies
View Related
Jul 31, 2010
I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.
View 7 Replies
View Related
Apr 20, 2010
Is there any program for GNU to calculate CPU's performace in marks (should support multi-core CPUs)? So it will be possible to compare performance of different CPUs.
View 4 Replies
View Related
Sep 14, 2015
I install KDM cause I couldn't run fglrx on GDM since i install the drivers of my GPU and the KDM ... I am suffering from poor system performance youtube videos mostly HD run very laggy and overall performance decreased ...
I run lxde ....
View 2 Replies
View Related
Aug 16, 2010
Just installed Sqeeze and works almost flawlessly on my Clevo w870cu. My machine has a realtek wifi card so I installed the vendor specific driver (see below). Wired performance is super, wireless performance however is very bad on Linux. On "Windows 7" (dual-boot, which I never use, only in these cases to sort out problems...) wifi performance is slightly better. My smartphone's visual wifi-analyzer (I couldn't find a Linux equivalent...) showed good signal strength (aournd -50db a 4 m distance from router) an little-to-no interference from neighboring channels.
Here some hardware information:
1) Modem: Motorola SBV 5120 E
2) Router: Sitecom WL-350 (300N)
3) Wifi card: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller
View 5 Replies
View Related
Nov 9, 2010
Is there any way of improving performance with the GTX 470 using Wine software with Debian Squeeze?
Installed version of Wine is 1.3.6 tested with different versions of nVidia drivers including the latest one, still VERY slow performance and many quality settings are in red. Setting WoW to use OpenGL improved the performance, but deactivated many quality settings in red, unfortunately. Looks to me as it's using lower features than OpenGL 2.0?? So what's up with that? GTX 470 supports OpenGL 4.1 so I suspect it's an limitation in Wine software, can anyone confirm this?
Default kernel 2.6.32 is used in all of this. The computer is an Intel Quad at 2.4ghz + 4 GB DDR 2 or DDR 3 memory.
View 6 Replies
View Related
Mar 12, 2011
Does anybody know more tips and tricks to increase visual performance besides these?:
Got it from:[url]
The first made minimizing windows a lot quicker.
View 3 Replies
View Related
Oct 3, 2014
How to start. I know the problem is polkitd. But how can I analyse the source of the problem more deeply? Something is calling polkitd permanently, but how can I find out which process it is? My system resources are limited.
View 1 Replies
View Related
Mar 7, 2010
I have a problem with the GM45 Chipset of Intel in Linux Debian amd64. My machine is a laptop Dell Inspiron 1545.The command lspci correctly list this device but i can't change the resolution and preferences. Also my monitor doesnt show a high quality image.Another question, how can I probe my video performance in Debian?
View 2 Replies
View Related
Jun 3, 2011
II installed flashplayer by every different method I can so far, and all of them have the same problem. This problem presents itself, for example, while playing a video on ...... As the video loads, flashplayer is fine, but as soon as it starts playing, the browser tab begins to run at roughly 1 frame per 10 seconds. When I turn the browser priority to maximum in System Monitor, it improves slightly, going to about 1 frame per second. The strange part is, my CPU and memory usage barely spike at all, to less than 30%. This happens regardless of browser (have tried iceweisel and chrome). It happens with hardware acceleration on, and off. I have tried installing flashplayer from the tar.gz on the adobe website, from the repository (all three packages), and manually placing the plugin in the browser myself. The issue presents itself the same every time.
My system specs are: 1.83GHz duel core intel centrino processor, 3GB RAM, ATI Mobility Radeon HD 2600. Nothing fancy, but flash player performs as flawlessly as flashplayer can under windows (and also performed well in my previous Ubuntu 10.04LL install).
View 4 Replies
View Related
Apr 22, 2010
I have 2 ASUS Boxes (one with 8GB, one with 4GB) When both mtus are set at 7200, using scp to copy a 56MB file takes 2:06. If I reduce either mtu to 1500, the speed is 2 seconds. I'm wondering if this is some kind of kernel bug or driver bug or what. For the moment, I've lowered the mtu to 1500 to get the performance out of the machines, but find it interesting that what should make it faster is actually slowing down. Where should I post this to get it looked at? Is anyone else seeing it.I see a similar performance issue with smbclient too.
View 2 Replies
View Related
Jun 7, 2010
Ok first off, I love debian, but on my new notebook I am getting a little frustrated with the terrible, video performance.Direct rendering is enabled on both systems, and openGL is working (I can if I wanted to use compiz etc...) fine on both systems, just running slow on debian.
I have tried Lenny, Squeeze and Sid, I have compiled the intel driver (and Mesa3D) from git and got it working (I am sure its working because its given me a slight boost), I ahve also tried building the latest stable (and RC2) kernel.If I install ubuntu 9.10 I get pretty decent 3D performance, its not ground breaking, but hey its an intel chipset so I am not expecting to kick the latest nvidia / ati card's backside.I really dont want to use ubuntu, I find it unstable when compaired to debian, but I also want to be able to play the odd game when I am bored, and at the moment I just cant do that under debian
View 12 Replies
View Related
Mar 31, 2011
I have an ATI Radeon x1300 graphic card on an Intel platform.Since the last reinstall my Debian Squeeze system shows very poor performance in glxgears,only 80-90 FPS. Last time I had a problem the kms setting in the kernel. I disabled the modding setting in GRUB and then glxgears showed about 900-1300 FPS. Now,the problem is back, even though I made the same setting in the boot loader.
View 14 Replies
View Related
Feb 20, 2011
My last laptop was replaced (I gave it to my step-dad, his laptop broke and I bought myself a new one).
I am running Squeeze (as I was on my other laptop) and everything is fine except for the games. On my other laptop games like OpenArena and Warzone 2100 ran perfectly fine, but on this laptop, they are impossible to play. The game will open, but everything is so slow and choppy that it takes a couple of minutes to even move the cursor to the exit game buttons.
My current laptop is an HP ProBook4525s with the current specs:
AMD Athlon Dual-Core P340 2.2 GHz processor
2GB DDR3 RAM
ATI Mobility Radeon HD 4250 Graphics Card
I'm not sure what other information to put here, I've tried searching how to fix this and most people say to lower the resolution and details for the games but that doesn't work, heck, even Tux Kart is too slow to play!
When I installed squeeze I was informed that I didn't have the rtl8168d-2.fw firmware for my laptop, I'm not sure if that helps here at all (can't seem to find what it is for, the only things that google gives me are very technical with fixes that involve re-compiling the kernel).
View 2 Replies
View Related
Jan 25, 2011
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
View 6 Replies
View Related
Jun 15, 2010
i had recently loaded squeeze and had an issue with the 2d performance.i.e when being prompted for the root password, the shading slowly draws down the screen several times before stopping at the final darker shade. i then added the linux-firmware-nonfree package. all worked extremely well, even compiz, but i don't really care about compiz. i just loaded it to see how it performed. i then distro-hopped a bit and when i came back to squeeze the first thing i did was add the package, but the video is acting like i haven't added the package. i've searched for an answer, but have not found anything recent to indicate if xorg was upgraded or what.stable lenny works fine, but i'd rather have the nice console fonts when not in x and more up to date apps like gimp and xsane in squeeze.
View 5 Replies
View Related
Jul 7, 2011
This is my 2nd attempt at installing Debian since 5.0 several months back but I am determined to get it running this time.Install of 64bit Squeeze went well, installed the ati proprietary drivers directly from ati which resulted in horrrible performance.Uninstalled that and followed to the T. At the "aticonfig --initial" part I got the message "No supported devices detected" soI went ahead and entered the config manually. Now on normal boot I get a black screen and I can't seem to boot into Recovery mode as it hangs at Tray or ANSI.
View 3 Replies
View Related
Oct 21, 2010
I had windows and ubuntu for some time, the other day I had an issue with (msconfig). The easiest way to fix it is to fresh install windows. So I wanted to boot into ubuntu, take my windows files and toss them onto a external drive. So this is were I need help. I have 3 hard drives, 2 internal and 1 external. The 2 internal drives are 2 500 gig WD's in raid0. I can not find out how to retrieve my data from these drives at all. I can get the partition manager to tell me I have them, but I can not find them anywhere let alone get data off. And I have my work for my 10 page research paper on there and I should be working on it but have not been able to retrieve the work and put it on my laptop.
View 5 Replies
View Related
Mar 23, 2010
Im trying to set up two raptors (identical) with RAID-0 using Silicon Image.
The drives arent being detected by linux. I have the linux drivers on USB but unsure on where to install them. There is no option available...
The drives are being detected on computer start up..and were working with windows...
Havent tried a diff distro as can get my hands on one.
Motherboard is a A8N-Sli Deluxe.
View 5 Replies
View Related
Sep 4, 2010
where is uuid of partitions of raid0?
My box is centos 5.4 x86, and dual booting with windows 7. I need to make a ext3 partition between ntfs partition 2 and 3.
After making this ext prtition, I need uuid of this ext partition.
View 1 Replies
View Related
Jul 1, 2011
I'm an experienced PC technician running a slackware 13.1 distro on a server at home. I've currently got 2x 1TB drives in the box allocated as raid1 for the OS and everything I want to run on the machine. I'd like to think my question/needs are fairly straight forward, I am buying 2x 2TB drives to add to this machine as it serves as a NAS box for one of its roles. I'd like these in raid0 as the data that would be going on it is not that important to me. The question is, after adding the new drives to the system, once I boot up, what do I need to do to the system to get the drives added and working sucessfully as a single raid0 volume that I can then samba share out to my network. To clarify, I understand a little of mdadm as I've used it to raid1 my existing setup when I installed, and I'm fine with the samba bit after.
View 5 Replies
View Related