[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM fails at bootup



On Thu, Nov 15, 2001 at 08:12:08AM +0000, Joe Thornber wrote:
> On Wed, Nov 14, 2001 at 07:09:57PM -0700, Jim Cromie wrote:
> > Andreas Dilger wrote:
> > 
> > > On Nov 12, 2001  14:19 -0500, Bradley M Alexander wrote:
> > > > I added the vgscan and the vgchange commands to the end of the checkroot.sh
> > > > script (which in Debian is different from the mountfs.sh script). When the
> > > > vgscan runs, it generates about two pages of drive errors:
> > > >
> > > > hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
> > > > hdb: read_intr: error=0x04 { DriveStatusError }
> 
> I've also seen this error when the kernel mistakenly thought there was
> a partition on an IDE disk that I was using as a PV.  The vgscan command
> then trys to look at this bogus partition and causes all these errors.

Hmmm...The thing is that the only thing _on_ this hard drive is a PV. I
gave the entire disk to LVM, by creating a PV on it:

pvcreate /dev/hdb

But now that I think about it, since the lvcreate required the absolute
path through devfs (/dev/ide/host0/bus0/target1/lun0/disc), perhaps the
pvcreate should have been done this way as well...But why would it work
manually and not at boot? 

Let me try recreating it and try it again...

Thanks Joe,
-- 
--Brad
============================================================================
Bradley M. Alexander, CISSP              |   Co-Chairman,
Beowulf System Admin/Security Specialist |    NoVALUG/DCLUG Security SIG
Debian/GNU Linux Developer		 |   storm debian org
                                         |   storm tux org
============================================================================
Stay out of clouds. The silver lining everyone keeps talking
about might be another airplane going in the opposite direction.
Reliable sources also report that mountains have been known to hide
out in clouds.
					--Rules of the Air, #13



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]