Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Compaq diskarray problems
@ 2000-10-10 11:42 Jörgen Winqvist
       [not found] ` <39E31326.E9AC27C6@HomeDepot.Com>
  2000-10-11 22:29 ` Andreas Dilger
  0 siblings, 2 replies; 5+ messages in thread
From: Jörgen Winqvist @ 2000-10-10 11:42 UTC (permalink / raw)
  To: linux-lvm

Hi,

I can't pvcreate LUN's on a Compaq raid controller. This LUN is 10 Gb.
I've compiled 8.0final.
(I had to comment #include "gnu/types.h" out  in liblvm.h).

Greateful for any help.

Regards

J�rgen


Compaq Proliant DL380 with 3 striped disks and 5 LUNs'
Redhat 7 with 2.4.0-0.26
----------------------------------------------------------------
# cat /proc/lvm
LVM driver version 0.8final  (15/02/2000)

Total:  0 VGs  0 PVs  0 LVs (0 LVs open)
Global: 143 bytes malloced   IOP version: 6   5:20:33 active
-------------------------------------------------------------

# fdisk /dev/ida/c0d1
Command (m for help): p
Disk /dev/ida/c0d1: 255 heads, 32 sectors, 2510 cylinders
Units = cylinders of 8160 * 512 bytes

         Device Boot    Start       End    Blocks   Id  System

Command (m for help): q
# pvcreate  /dev/ida/c0d1
pvcreate -- invalid partition type 0x83 for "/dev/ida/c0d1" (must be
0x8e)
--------------------------------------------------------------

I've now added a partition with type LVM

# fdisk /dev/ida/c0d1
Command (m for help): p
Disk /dev/ida/c0d1: 255 heads, 32 sectors, 2510 cylinders
Units = cylinders of 8160 * 512 bytes
         Device Boot    Start       End    Blocks   Id  System
/dev/ida/c0d1p1             1      2510  10240784   8e  Linux LVM
Command (m for help): q
# pvcreate  /dev/ida/c0d1p
pvcreate -- invalid partition type 0x83 for "/dev/ida/c0d1p1" (must be
0x8e)
--------------------------------------------------------------

output from dmesg

cpqarray: Device 1000 has been found at 0 8
Compaq SMART2 Driver (v 2.4.0)
Found 1 controller(s)
cpqarray: Finding drives on ida0 (Integrated Array)
cpqarray ida/c0d0: blksz=512 nr_blks=20481600
cpqarray ida/c0d1: blksz=512 nr_blks=20481600
cpqarray ida/c0d2: blksz=512 nr_blks=20481600
cpqarray ida/c0d3: blksz=512 nr_blks=20481600
cpqarray ida/c0d4: blksz=512 nr_blks=24732960
cpqarray: Starting firmware's background processing
Partition check:
 ida/c0d0: p1 p2 < p5 p6 p7 p8 p9 p10 p11 p12 >
 ida/c0d1:
 ida/c0d2:
 ida/c0d3:
 ida/c0d4:
---------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Compaq diskarray problems
       [not found] ` <39E31326.E9AC27C6@HomeDepot.Com>
@ 2000-10-10 13:14   ` Jörgen Winqvist
  0 siblings, 0 replies; 5+ messages in thread
From: Jörgen Winqvist @ 2000-10-10 13:14 UTC (permalink / raw)
  To: JHamilton; +Cc: linux-lvm

Justin

I did try that to begin with. Look further down my posting. Pvcreate
complains on the partition type whatever i change it to. It always says it
has 0x83.

J�rgen

Justin Hamilton wrote:

> Within fdisk, you need to select option t (to change the type of the
> partition) and select 8e for the type.
>
> Your pvcreate should work just  fine after this.
>
> Justin
>
> J�rgen Winqvist wrote:
> >
> > Hi,
> >
> > I can't pvcreate LUN's on a Compaq raid controller. This LUN is 10 Gb.
> > I've compiled 8.0final.
> > (I had to comment #include "gnu/types.h" out  in liblvm.h).
> >
> > Greateful for any help.
> >
> > Regards
> >
> > J�rgen
> >
> > Compaq Proliant DL380 with 3 striped disks and 5 LUNs'
> > Redhat 7 with 2.4.0-0.26
> > ----------------------------------------------------------------
> > # cat /proc/lvm
> > LVM driver version 0.8final  (15/02/2000)
> >
> > Total:  0 VGs  0 PVs  0 LVs (0 LVs open)
> > Global: 143 bytes malloced   IOP version: 6   5:20:33 active
> > -------------------------------------------------------------
> >
> > # fdisk /dev/ida/c0d1
> > Command (m for help): p
> > Disk /dev/ida/c0d1: 255 heads, 32 sectors, 2510 cylinders
> > Units = cylinders of 8160 * 512 bytes
> >
> >          Device Boot    Start       End    Blocks   Id  System
> >
> > Command (m for help): q
> > # pvcreate  /dev/ida/c0d1
> > pvcreate -- invalid partition type 0x83 for "/dev/ida/c0d1" (must be
> > 0x8e)
> > --------------------------------------------------------------
> >
> > I've now added a partition with type LVM
> >
> > # fdisk /dev/ida/c0d1
> > Command (m for help): p
> > Disk /dev/ida/c0d1: 255 heads, 32 sectors, 2510 cylinders
> > Units = cylinders of 8160 * 512 bytes
> >          Device Boot    Start       End    Blocks   Id  System
> > /dev/ida/c0d1p1             1      2510  10240784   8e  Linux LVM
> > Command (m for help): q
> > # pvcreate  /dev/ida/c0d1p
> > pvcreate -- invalid partition type 0x83 for "/dev/ida/c0d1p1" (must be
> > 0x8e)
> > --------------------------------------------------------------
> >
> > output from dmesg
> >
> > cpqarray: Device 1000 has been found at 0 8
> > Compaq SMART2 Driver (v 2.4.0)
> > Found 1 controller(s)
> > cpqarray: Finding drives on ida0 (Integrated Array)
> > cpqarray ida/c0d0: blksz=512 nr_blks=20481600
> > cpqarray ida/c0d1: blksz=512 nr_blks=20481600
> > cpqarray ida/c0d2: blksz=512 nr_blks=20481600
> > cpqarray ida/c0d3: blksz=512 nr_blks=20481600
> > cpqarray ida/c0d4: blksz=512 nr_blks=24732960
> > cpqarray: Starting firmware's background processing
> > Partition check:
> >  ida/c0d0: p1 p2 < p5 p6 p7 p8 p9 p10 p11 p12 >
> >  ida/c0d1:
> >  ida/c0d2:
> >  ida/c0d3:
> >  ida/c0d4:
> > ---------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Compaq diskarray problems
  2000-10-10 11:42 [linux-lvm] Compaq diskarray problems Jörgen Winqvist
       [not found] ` <39E31326.E9AC27C6@HomeDepot.Com>
@ 2000-10-11 22:29 ` Andreas Dilger
  2000-10-19  6:29   ` [linux-lvm] Thanks! and Swap on LVM? ^chewie
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Dilger @ 2000-10-11 22:29 UTC (permalink / raw)
  To: Jörgen Winqvist; +Cc: linux-lvm

Jorgen Winqvist, you write:
> I can't pvcreate LUN's on a Compaq raid controller. This LUN is 10 Gb.
> I've compiled 8.0final.
> (I had to comment #include "gnu/types.h" out  in liblvm.h).
> 
> Greateful for any help.

Try the updated lvm tools (SRPM) at:

ftp://ftp.stelias.com/pub/adilger/

This includes a number of patches to the 0.8 final tools that were posted
on this list, but are not in the "official" tools.

Cheers, Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-lvm] Thanks! and Swap on LVM?
  2000-10-11 22:29 ` Andreas Dilger
@ 2000-10-19  6:29   ` ^chewie
  2000-10-19 18:44     ` Luca Berra
  0 siblings, 1 reply; 5+ messages in thread
From: ^chewie @ 2000-10-19  6:29 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

On Wed, Oct 11, 2000 at 04:29:05PM -0600, Andreas Dilger wrote:
> Try the updated lvm tools (SRPM) at:
> 
> ftp://ftp.stelias.com/pub/adilger/

Thank you!!!  I usually stay away from SRPM's, but now that I've got
alien, it's not so bad.  'alien --to-tgz' is a dream.  A plus side to
all of this, my pvscan no longer segfaults! ;-)  Neither does my
vgscan! ;-)  I was actually going to sit down with gdb tonight and do
some backtracing when I saw your update.  Very nice to have a 1:00 in
the morning. ;-)  Again, thanks!

OH.  I've noticed a problem as of late.  While trying lvm on both the
2.4.0-test9 and 2.2.17, I have not been able to use an lv device as a
swap device.  The computer starts acting like it's got bad memory and
segfaults during compile time, most notably during kernel compiles.

Has anyone successfully used a lv parition as a swap device???

{good thing I had an extra HD}

-- 
  Chad "^chewie, gunnarr" Walstrom <chewie@wookimus.net>
              http://wookimus.net/chewie

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Thanks! and Swap on LVM?
  2000-10-19  6:29   ` [linux-lvm] Thanks! and Swap on LVM? ^chewie
@ 2000-10-19 18:44     ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2000-10-19 18:44 UTC (permalink / raw)
  To: linux-lvm

On Thu, Oct 19, 2000 at 01:29:57AM -0500, ^chewie wrote:
> On Wed, Oct 11, 2000 at 04:29:05PM -0600, Andreas Dilger wrote:
> > Try the updated lvm tools (SRPM) at:
> > 
> > ftp://ftp.stelias.com/pub/adilger/
> 
> Thank you!!!  I usually stay away from SRPM's, but now that I've got
> alien, it's not so bad.  'alien --to-tgz' is a dream.  A plus side to
also dd | gzip -dc | cpio :)))))

....
> 
> Has anyone successfully used a lv parition as a swap device???
> 
[pts/5]bluca@Moskowskaya:~% uname -a
Linux Moskowskaya 2.4.0-test8 #1 Sun Sep 10 09:48:24 CEST 2000 i586 unknown
[pts/5]bluca@Moskowskaya:~% swapon -s
Filename                        Type            Size    Used    Priority
/dev/vg01/lvol2                 partition       262136  29416   -1

L.
-- 
Luca Berra -- bluca@comedia.it
    Communication Media & Services S.r.l.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-19 18:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-10 11:42 [linux-lvm] Compaq diskarray problems Jörgen Winqvist
     [not found] ` <39E31326.E9AC27C6@HomeDepot.Com>
2000-10-10 13:14   ` Jörgen Winqvist
2000-10-11 22:29 ` Andreas Dilger
2000-10-19  6:29   ` [linux-lvm] Thanks! and Swap on LVM? ^chewie
2000-10-19 18:44     ` Luca Berra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox