[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storage pod



On Fri, 2013-10-18 at 18:22 -0500, Casey Boone wrote:
> I do not believe you can unfortunately (someone please correct me if I
> am wrong), but it is simple enough to add the tweaks to /etc/rc.local

One thing should be fairly obvious by now: When setting up a box this
humongous, patience is a must. If you're accustomed to waiting a few
minutes to an hour, be prepared to wait days for common utilities to
finish.

There are some interesting web page references:

https://raid.wiki.kernel.org/index.php/RAID_setup
http://lucatnt.com/2013/06/improve-software-raid-speed-on-linux/
http://h3x.no/2011/07/09/tuning-ubuntu-mdadm-raid56
http://peterkieser.com/2009/11/29/raid-mdraid-stripe_cache_size-vs-write-transfer/
http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html

The last link includes:

        If you want to override the defaults you could add these two
        lines to /etc/sysctl.conf:
        
        #################NOTE ################
        ##  You are limited by CPU and memory too #
        ###########################################
        dev.raid.speed_limit_min = 50000
        ## good for 4-5 disks based array ##
        dev.raid.speed_limit_max = 2000000
        ## good for large 6-12 disks based array ###
        dev.raid.speed_limit_max = 5000000

I commented out the last line.

Yesterday afternoon I started creating a filesystem on the completed array:

        # mke2fs -c -L pod -m 0 -t ext4 -v /dev/md0
        mke2fs 1.41.12 (17-May-2010)
        fs_types for mke2fs.conf resolution: 'ext4', 'default'
        Filesystem label=pod
        OS type: Linux
        Block size=4096 (log=2)
        Fragment size=4096 (log=2)
        Stride=128 blocks, Stripe width=384 blocks
        732545024 inodes, 2930165376 blocks
        0 blocks (0.00%) reserved for the super user
        First block=0
        Maximum filesystem blocks=4294967296
        89422 block groups
        32768 blocks per group, 32768 fragments per group
        8192 inodes per group
        Superblock backups stored on blocks:
                32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
                4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
                102400000, 214990848, 512000000, 550731776, 644972544, 1934917632,
                2560000000
        
        Running command: badblocks -b 4096 -X -s /dev/md0 2930165375
        Checking for bad blocks (read-only test):  37.31% done, 11:11:15 elapsed

The bad block checking (-c option) will probably take another 24 hours
to complete.

--Doc


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.