Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Is this dedi having 2 disks in raid-1?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Is this dedi having 2 disks in raid-1?

niceboyniceboy Veteran
edited February 2014 in Help

Hi friends,

I got my dedi from volumedrive today.

I have ordered 2 x 500gb disk in software raid-1 configuration but it seems they have provided a single 1 TB drive.

here is the df -h ouput..

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/md2        901G  2.0G  854G   1% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
/dev/md0        194M   35M  150M  19% /boot

further, the dd test shows a max of around 35MB/s only..

# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 30.7462 s, 34.9 MB/s

Could any one please confirm if I am given with 2 disk drives in raid-1?

Thanks for you time.

«1

Comments

  • rds100rds100 Member
    edited February 2014

    Or more likely you have two very old and slow 500GB disks in RAID0. Talk with them.

    By the way to see what models your disks are, use:

    hdparm -i /dev/sda
    hdparm -i /dev/sdb
    

    Actually cat /proc/mdstat to see what is your raid setup.

    Thanked by 1niceboy
  • toshosttoshost Member, Host Rep

    said: further, the dd test shows a max of around 35MB/s only..

    dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

    16384+0 records in
    16384+0 records out
    1073741824 bytes (1.1 GB) copied, 30.7462 s, 34.9 MB/s

    Check it again it's show so slow I just check our one server and get

    root@dns:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
    16384+0 records in
    16384+0 records out
    1073741824 bytes (1.1 GB) copied, 1.42211 s, 755 MB/s
    root@dns:~#

    Thanked by 1niceboy
  • @rds100 I tried your commands. But both of them are returning error as follows..

    # hdparm -i /dev/sda
    /dev/sda:
     HDIO_DRIVE_CMD(identify) failed: Invalid argument
     HDIO_GET_IDENTITY failed: Invalid argument
    
    # hdparm -i /dev/sdb
    /dev/sdb:
     HDIO_DRIVE_CMD(identify) failed: Invalid argument
     HDIO_GET_IDENTITY failed: Invalid argument
    [root@bb-0024 ~]#
    
  • cat /proc/mdstat - what does it say?

    Thanked by 1niceboy
  • @rds100 Here is mdstat result..

    # cat /proc/mdstat
    Personalities : [raid1]
    md0 : active raid1 sda2[0] sdb3[1]
          204736 blocks super 1.0 [2/2] [UU]
    
    md1 : active raid1 sda1[0] sdb2[1]
          16574336 blocks super 1.1 [2/2] [UU]
    
    md2 : active raid1 sda3[0] sdb1[1]
          959842112 blocks super 1.1 [2/2] [UU]
          bitmap: 1/8 pages [4KB], 65536KB chunk
    
    unused devices: <none>
    
  • @toshost are you on ssd or raid-10? those dd results seems very good.

    I did repeat dd test a few times but all of them return below 35MB/s results

  • @niceboy said: @toshost are you on ssd or raid-10? those dd results seems very good.

    I did repeat dd test a few times but all of them return below 35MB/s results

    SSDs. You can't get those kind of results on two SATA drives even if you're using RAID0.

    Thanked by 1niceboy
  • I read on WHT older threads that we get around 100 - 150MB/s dd result sata disks in raid-1. But, this seems to be just too poor results here.

    any one please help..

  • It is RAID-1 then, of two 1TB disks it seems. I wonder what disks those are though.

    Thanked by 1niceboy
  • toshosttoshost Member, Host Rep

    niceboy said: @toshost are you on ssd or raid-10? those dd results seems very good.

    I did repeat dd test a few times but all of them return below 35MB/s results

    I am not in SSD. It's SATA Raid-1.

  • If it helps, here is partition info..

    # fdisk -l /dev/sda /dev/sdb
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0003199b
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        2065    16582656   fd  Linux raid autodetect
    /dev/sda2   *        2065        2091      204800   fd  Linux raid autodetect
    /dev/sda3            2091      121602   959973376   fd  Linux raid autodetect
    
    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000cd1e5
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1      119512   959973376   fd  Linux raid autodetect
    /dev/sdb2          119512      121576    16582656   fd  Linux raid autodetect
    /dev/sdb3   *      121576      121602      204800   fd  Linux raid autodetect
    
  • Tried a 2gb dd test and the results are getting worse..

    # dd if=/dev/zero of=/root/test bs=8k count=256k conv=fdatasync
    262144+0 records in
    262144+0 records out
    2147483648 bytes (2.1 GB) copied, 73.2552 s, 29.3 MB/s
    
  • @toshost said:

    do you know what hdd is that
    never see any sata have that amount io

  • Could it be USB disk? See in dmesg what does it say about SATA or USB disks detection.

  • smibasmiba Member
    edited February 2014

    Try to install smartmontools and run this to find out what kind of disk there is in your dedicated

    smartctl -a /dev/sda
    smartctl -a /dev/sdb
    Thanked by 1niceboy
  • @smiba here is the result..

    # smartctl -a /dev/sda
    smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-431.el6.x86_64] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl open device: /dev/sda failed: AMCC/3ware controller, please try adding '-d 3ware,N',
    you may need to replace /dev/sda with /dev/twlN, /dev/twaN or /dev/tweN
    

    do you have any idea?

  • Have you tried adding -d 3ware,N as suggested?

  • AnthonySmithAnthonySmith Member, Patron Provider

    2 things,

    please run mdadm -D /dev/md2 and post the result.

    And you have bitmap caching on your md2 array which will near enough kill a raid 1 array with old disks.

    to take off bitmap caching run 'mdadm --grow --bitmap=none /dev/md2'

    Then rerun the tests.

    Thanked by 1niceboy
  • Thanks all..

    I just noticed that, the 2 disk sizes are different as reported by fdisk.. here it is again..

    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    
    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
    

    I raised the issue with volumedrive support and they promised to replace the 2nd disk with another 1TB disk.

    Is this the reason?

  • @AnthonySmith here is the result..

    # mdadm -D /dev/md2
    /dev/md2:
            Version : 1.1
      Creation Time : Fri Feb 14 12:27:31 2014
         Raid Level : raid1
         Array Size : 959842112 (915.38 GiB 982.88 GB)
      Used Dev Size : 959842112 (915.38 GiB 982.88 GB)
       Raid Devices : 2
      Total Devices : 2
        Persistence : Superblock is persistent
    
      Intent Bitmap : Internal
    
        Update Time : Sat Feb 15 10:38:46 2014
              State : active
     Active Devices : 2
    Working Devices : 2
     Failed Devices : 0
      Spare Devices : 0
    
               Name : bb-0024.volumedrive.com:2  (local to host bb-0024.volumedrive.com)
               UUID : 664f1510:3ea86088:a85266c4:3525ee7a
             Events : 2392
    
        Number   Major   Minor   RaidDevice State
           0       8        3        0      active sync   /dev/sda3
           1       8       17        1      active sync   /dev/sdb1
    
  • AnthonySmithAnthonySmith Member, Patron Provider

    It could be the cause if you have miss aligned partitions as a result, please remove the bitmapping on the raid set though, it helps the rebuild speed but the other 98% of the time it just seriously slows things down.

    I have just reread all of your outputs, whoever set that server up should be fired, literally no care or attention to detail at all, if you have paid anything so far for the server that time should be credited back to you.

  • @niceboy said:
    Thanks all..

    I just noticed that, the 2 disk sizes are different as reported by fdisk.. here it is again..

    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes

    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes

    I raised the issue with volumedrive support and they promised to replace the 2nd disk with another 1TB disk.

    Is this the reason?

    NO
    i have experience use different size disk in software raid and dont have a problem with disk I/O

    Thanked by 1niceboy
  • AnthonySmithAnthonySmith Member, Patron Provider

    @tughost and that would be fine, as long as you align everything.

  • vampireJvampireJ Member
    edited February 2014

    What do you guys expect from Volumedrive? :D be happy you still have a server but you never know tomorrow lol

    and @toshost do not have a dedi in volumedrive. he sounds like he is advertising in here

  • @vampireJ If you are refering me, I dont have any need for promoting VD here. This is my first dedi and I am only trying to understand what could be the solution to my problem.

    @AnthonySmith I have turned off bitmapcaching and the results are a bit more improved..

    [root@bb-0024 ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
    16384+0 records in
    16384+0 records out
    1073741824 bytes (1.1 GB) copied, 27.0214 s, 39.7 MB/s
    
  • kaito_kidkaito_kid Member
    edited February 2014

    have you test disk i/o in single disk? maybe one of your disk broken

  • Yeah you could break the raid and mount two single disks, never tried this though with a running and installed system. Maybe this can help you http://askubuntu.com/questions/131157/get-rid-of-software-raid

  • vampireJvampireJ Member
    edited February 2014

    niceboy said: @vampireJ If you are refering me, I dont have any need for promoting VD here. This is my first dedi and I am only trying to understand what could be the solution to my problem.

    I was referring to toshost in a way advertising his products.

    @niceboy aware of volumedrive's reviews before taking a dedi?

    edit:

    it was actually toshost that seemed to be advertising

  • AnthonySmithAnthonySmith Member, Patron Provider

    The partitions are not aligned, it is still gong to be slow, tell them to do it properly and reset your billing.

    Thanked by 1niceboy
  • @niceboy have they changed your hdd? and any improvement with your disk I/O now?

Sign In or Register to comment.