logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Raid question: msg#00006

Subject: Re: Raid question
Yuhard Ngun wrote:
> # cat /etc/raidtab
> raiddev /dev/md0
>        raid-level              1
>        nr-raid-disks           2
>        nr-spare-disks          0
>        chunk-size              4
>        persistent-superblock   1
>        device                  /dev/hda
>        raid-disk               0
>        device                  /dev/hdc
>        raid-disk               1

If you have a standard FC2 and you want to move it to RAID1, you first have
to set the first disk as being "faulty", or setting up the RAID will alter
your data. To do this, change "raid-disk 0" to "failed-disk 0"
in /etc/raidtab

Then:
- partition your hdc identically to hda (fdisk is you friend here)
- run mkraid (which will say that hda is failed, that is normal)
- format your new /dev/md0 with mkfs.ext3
- copy your existing filesystem from hda to hdc (ignoring /proc and /dev,
find / -xdev is your friend here)
- edit fstab to mount /dev/md0 on /
- edit your bootloader to set root on /dev/md0
- reboot (you may want to say a prayer before)
- if everything is ok, run raidhotadd /dev/md0 /dev/hda. This will start the
sync and erase your previous data on hda.
- change failed-disk back to raid-disk in /etc/raidtab

This is just the very big picture, I did not test it. Don't do that on an
important machine, and read stuff from the net before. It's probably
incomplete, but you get the idea.


Aurélien
-- 
http://gauret.free.fr   ~~~~   Jabber : gauret@xxxxxxxxxxxxx
A Black Hole is where God divided by zero.


-- 
Fedora-config-list mailing list
Fedora-config-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-config-list



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe