mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
3. Create RAID device
Here we will create and format the RAID device. We will assume that we are using RAID 5 configuration, as described in step 2, where we have defined device file to be /dev/md2. Now we will create the file and then format it. The commands for this step will be as follows:
# mkraid -R /dev/md2
# mkfs -j /dev/md2
Note : The mkraid command will delete all data from all the associated partitions.
4. Mounting RAID device
Lastly, we will have to mount the file system on this partition:
# mkdir /my_raid
# mount /dev/md2 /my_raid
Else, if we want to mount /home on our new RAID device, we can run following commands:
# mkdir /temp_home
# cp -r /home /temp_home ( recursively copying, i.e. backing up home directory )
# mount /dev/md2 /home
# cp -r /temp_home /home
If we want it to be mounted automatically each time the system starts, add the following entry in /etc/fstab file:
LABEL=/home /home ext3 defaults 1 2
No comments:
Post a Comment