Tuesday, August 4, 2009

RAID1 configuretion in Ubuntu 8.04 LTS server and centos

Dear friends,

Now I am telling you how to create RAID1 or other RAID partition in Centos or other linux os using RAID software .

1> Connect fresh hard drive 2 or 3 it is up to you . But less then 2 .
2> Boot from the CD. (Centos or ubuntu other.)
3> When you boot from CD then you see there free space . Then click to RAID option.
4> And select " Create a software RAID partition" .
5> Add partition . " Uncheck 1st hard drive and in a size option put boot partition size like 200 MB"

6> And Click to Force to be primary partition. " Check mark it.
7>Then again click to 2nd hard drive and select RAID option .
8> Select " Create a software RAID partition".
9> Add partition . " Uncheck 2nd hard drive and in a size option put boot partition size like 200 MB again ".
10> And Click to Force to be primary partition." Check mark it."
11> There you see 2 partition that type is Software RAID.
12> Select that one partition and Click to RAID option again .
13> Select Create RAID device [default=/dev/md0].
14> Mount point = /boot
15> File system type = ext3
16> RAID Device = md0
17> RAID Level = RAID0 or RAID1
18> After that select all free space in 1st hard drive and create RAID partition.
19> Select free space in 2nd hard drive and create RAID partition.
20> Select RAID option again and
Select Create RAID device.
21> There you see partition type then select there Physical LVM option.
for both hard drive .
22> After that click to LVM option.
23> Here you have to create "swap partition and root "/" partition".
24> And Start installation.
25> After finish installation. Loging to root .
26> Open terminal and type there "grub".
27> device (hd1) /dev/sdb
28> root (hd1,0)
29> setup (hd1)
30 > quit
31> Now you can check your both hard drive is working.

Open that 2 URL and try it .
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html
http://www.howtoforge.com/how-to-install-ubuntu8.04-with-software-raid1


jitendra jha


Force Fully mount NTFS partition in Linux

Hello friends,

how to force fully mount "ntfs partition " in linux or ubuntu.

mount -t ntfs /dev/sda5 /media/hard1 -o force
/dev/sda5 is hard disk name run fdisk -l command and check it .
/media/hard1 is mount point /hard1 is folder that create in /media.

Thanks

jitendra jha