From: ashwin chaugule <ashwin.chaugule@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Re: raid 1 on a single disk
Date: Sat, 13 Nov 2004 16:11:08 +0530 [thread overview]
Message-ID: <89af10f90411130241e20e2c2@mail.gmail.com> (raw)
In-Reply-To: <lg4h62-8vg.ln1@news.it.uc3m.es>
yes i know its silly ... im doing what im told to do :p
ok so, i also do know, its performance is going to suck !
but i was under the impression that RAID 1 works on more that one disks only.
so you mean to say that, the linux RAID / md tools support raid 1 on
multiple partitiions of the same disk ?
Regards,
Ashwin
On Sat, 13 Nov 2004 11:33:25 +0100, Peter T. Breuer <ptb@lab.it.uc3m.es> wrote:
> ashwin chaugule <ashwin.chaugule@gmail.com> wrote:
> > Im trying to get RAID 1 working on a single disk. Can anyone
> > tell me if thats possible ?
>
> Yes, of course it is.
>
> > Do I have to use LVM for that ?
>
> No.
>
> > So, far this is what i've understood ...
> > Now.. I have a separate disk on which I want RAID 1.
> > so I create one PV on that disk (/dev/hdd)
>
> No you don't. LVM is not involved.
>
> > create a logical vol grp.
>
>
> No you don't. LVM is not involved.
>
>
> > add 4 LV's , for four filesystems of the same type ...
>
> No you don't. LVM is not involved.
>
> > then in /etc/raidtab or whatever ..
> > say that i have 4 disks and for each disk specify each LV partition ..
>
> No you don't, since LVM is not involved.
>
> > then mkraid /dev/md0 ...
> >
> > Is this correct if I want data to be mirrored across all 4 partitions
> > , using RAID 1 on a single disk ?
>
> So, you are talking about a mirror with 4 components, all of them
> partitions on the same disk?
>
> Well, that's silly, but nothing stops you doing it. Just maek a raidtab
> for the mirror and name the partitions as raid-disk components there.
> The RAID howto or faq should tell you all you need to know, as should
> the mananpage for the conf file or mdadm, or whatever ...
>
> Peter
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
--
Ashwin Chaugule
Embedded Systems Engineer
Aftek Infosys ltd.
[Embedded Division]
next prev parent reply other threads:[~2004-11-13 10:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-13 10:17 [linux-lvm] raid 1 on a single disk ashwin chaugule
2004-11-13 10:33 ` [linux-lvm] " Peter T. Breuer
2004-11-13 10:41 ` ashwin chaugule [this message]
2004-11-13 11:03 ` Piete Brooks
2004-11-13 12:59 ` Peter T. Breuer
2004-11-13 13:38 ` Piete Brooks
2004-11-13 15:04 ` Peter T. Breuer
2004-11-13 13:38 ` ashwin chaugule
2004-11-13 21:13 ` Graham Wood
2004-11-13 22:00 ` Greg Freemyer
2004-11-14 0:41 ` Måns Rullgård
2004-11-14 5:44 ` ashwin chaugule
2004-11-14 11:28 ` Peter T. Breuer
2004-11-14 17:41 ` ashwin chaugule
2004-11-14 18:04 ` Peter T. Breuer
2004-11-14 19:02 ` ashwin chaugule
2004-11-14 21:01 ` Peter T. Breuer
2004-11-15 6:09 ` ashwin chaugule
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=89af10f90411130241e20e2c2@mail.gmail.com \
--to=ashwin.chaugule@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.