[wellylug] RAID5 with LVM

Nathan Cook nathan at cook.net.nz
Tue May 29 06:50:40 NZST 2007


Now I get the following, any ideas?

nathan at dcerouter:~$ sudo vgcreate media /dev/md0
  /dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd1: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd2: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd3: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd4: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd5: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd6: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd7: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd8: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd9: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd10: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd11: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd12: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd13: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd14: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd15: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd0: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd1: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd1: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd2: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd2: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd3: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd3: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd4: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd4: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd5: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd5: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd6: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd6: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd7: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd7: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd8: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd8: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd9: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd9: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd10: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd10: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd11: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd11: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd12: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd12: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd13: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd13: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd14: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd14: read failed after 0 of 4096 at 0: Input/output error
  /dev/nbd15: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nbd15: read failed after 0 of 4096 at 0: Input/output error
  Volume group "media" successfully created


On 5/28/07, Jethro Carr <jethro.carr at jethrocarr.com> wrote:
>
> On Mon, 2007-05-28 at 19:20 +1200, Jethro Carr wrote:
> > On Mon, 2007-05-28 at 19:06 +1200, Nathan Cook wrote:
> > > Hello all,
> > >
> > > I've finally got my server up and running again and have Kubuntu 7.04
> > > installed along with Linux MCE.
> > >
> > > I have 3 SATA drives that I want to create a Software RAID5 array with
> > > and then create an LVM, then add that array to the LVM.
> > >
> > > Does anyone know of a link that has a How To for what I want to do?
> > > Perferably from CLI. I've been looking through Google but most of what
> > > I found was either for the RAID5 or for the LVM or I got errors :)
> >
> > hi Nathan,
> >
> > It's been a while since I played with LVM + RAID, but from memory, what
> > you need to do is:
> > 1) Create your software raid device (eg /dev/md0)
> > 2) Create LVM partitions on the device /dev/md0
> >
> > The Software RAID Howto is the best thing I know:
> > http://tldp.org/HOWTO/Software-RAID-HOWTO.html
> >
> > And the LVM howto shows you what commands you need:
> > http://tldp.org/HOWTO/LVM-HOWTO/
>
> sorry, I sent that a bit early by mistake - seems if you hit CTL+ENTER
> at the same time, it will send the email in Evolution. :-/
>
> Just going to add, that you don't need to worry about sections like how
> to configure bootscripts - all modern distributions do that sort of
> stuff for you - you just need to look at the sections on how to
> create/manage the RAID and LVM devices.
>
>
> --
> Jethro Carr
>
> www.jethrocarr.com
> www.jethrocarr.com/index.php?cms=blog
>
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070529/a6164d03/attachment.htm 


More information about the wellylug mailing list