Linux LVM users
 help / color / mirror / Atom feed
From: Herbert Poetzl <herbert@13thfloor.at>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm on a firewire harddisk
Date: Sat May 17 12:22:02 2003	[thread overview]
Message-ID: <20030517172252.GA6842@www.13thfloor.at> (raw)
In-Reply-To: <000801c31c59$04512640$c600a8c0@hermanslaptop>

On Sat, May 17, 2003 at 11:45:08AM +0200, Herman Kuster wrote:
> Thanks for your reply, but i think i found the error in my system. My root
> fs is also lvm based and to mount this my system uses a initrd. This initrd
> doesn't have the ieee1394 modules so at that time the firewire harddisk is
> not visible to the system. I've tried to make a new initrd image containing
> both the lvm and ieee1394 modules, but this also doesn't work since the
> ieee1394 modules take quite a long time to initialise. The ieee1394 modules
> are loaded before the lvm, but the harddisk becomes available long after the
> lvm modules have loaded. But since the mountpoint for the external harddisk
> is not critical i now have made a 'quick-and-dirty' hack to the rc.sysinit:
> just before the lvm lines (again, because the initrd also does this) i do a
> pvdisplay /dev/sda, then all works well.

in this case it could be an option to put the
ieee1394 and the sd_mod stuff into the kernel
(not using modules for those), which should
result in the device being present before any
initrd is mounted ...

best,
Herbert

> Bye,
> 
> Herman
> 
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com] On
> Behalf Of Herbert Poetzl
> Sent: Saturday, May 17, 2003 11:00 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] lvm on a firewire harddisk
> 
> 
> On Sat, May 17, 2003 at 08:43:35AM +0200, Herman Kuster wrote:
> > Hi,
> > 
> > I've got the following problem:
> > I've a firewire harddisk (maxtor 5000xt), this disk works fine and is
> > available as /dev/sda in my system.
> > On this disk i have created one single pv (on /dev/sda, no partitioning)
> > I have put this pv into a vg, and in this volume group i have created one
> > lv.
> > All seems to be working fine until the time comes when my computer
> restarts.
> > On a boot somehow the lvm system forgets the pv on de firewire harddisk
> and
> > only shows (on a pvscan for example) the pv/vg/lv's on my normal harddisks
> > (/dev/hda and /dev/hdb). By the time the lvm system starts up i'm sure the
> > ieee1394 system is up and running (i modified my rc.sysinit file so the
> > ieee1394 system is startup before lvm).
> > Even when i am logged in as a user the lvm system still doesn't know the
> pv
> > on my firewire harddisk. But after I do a 'pvdisplay /dev/sda' the pv is
> > shown correctly and now the lvm system knows about the pv (it shows up in
> > pvscan and the vg/lv become available etc.). Does anyone know why my
> system
> > behaves as it does (btw i'm using a redhat 9.0 clean install), is this
> some
> > kind of bug in the lvm system, am i doing something wrong, please help.
> 
> My guess is, that either the lack of partitioning
> prohibits the correct detection of your lvm
> volume, or some drivers (eg. sd_mod) are not 
> present at pvscan time, which get automagically
> loaded when you explicitely access /dev/sda ...
> 
> HTH,
> Herbert
> 
> > Thanks,
> > 
> > Herman
> > 
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

      reply	other threads:[~2003-05-17 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17  1:43 [linux-lvm] lvm on a firewire harddisk Herman Kuster
2003-05-17  3:59 ` Herbert Poetzl
2003-05-17  4:44   ` Herman Kuster
2003-05-17 12:22     ` Herbert Poetzl [this message]

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=20030517172252.GA6842@www.13thfloor.at \
    --to=herbert@13thfloor.at \
    --cc=linux-lvm@sistina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox