var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Basics... how to mount and use multiple drives
I must not even understand the basics of how mounting works in Linux.
Physical drive /dev/sda1 is mounted at /
I created a software RAID array (using mdadm) out of two other drives using mdadm, at /dev/md0, and mount it at /vol:
mount /dev/md0 /vol
Now I start creating files in /vol/*
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.2G 7.3G 23% /
/dev/md0 200G 470M 200G 1% /vol
Then I unmount /dev/md0
I still see the files at /vol/*. They seem to be on /dev/sda1.
So how do I use the RAID array at /dev/md0 that I tried to mount at /vol???
Last edited by Dan Grossman; 07-05-2009 at 01:37 AM.
Please check /proc/mdstat
The /proc/mdstat file provides the current status of all the devices.
I did some benchmarking with writing /dev/zero to /dev/md0 using dd before formatting it, and got twice the IO of a single disk, so the RAID array works.
[[email protected] /]# cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 sdf sdg
209715072 blocks super 1.1 64k chunks
I just don't know how to write files to it...
Last edited by Dan Grossman; 07-05-2009 at 12:27 PM.
This is very confusing. I think some of this is caused by peculiarities of Amazon EC2 tools and how the machine image was created.
By CArmstrong in forum Computers and Peripherals
Last Post: 03-20-2008, 09:49 AM
By bonfire89 in forum Computers and Peripherals
Last Post: 09-25-2007, 10:34 AM
By papaman in forum Hosting Security and Technology
Last Post: 09-21-2006, 03:21 PM
By smoove. in forum Dedicated Server
Last Post: 04-28-2005, 08:39 PM
By RH4U in forum Dedicated Server
Last Post: 08-25-2002, 03:46 PM