Skip to contentSkip to conversation

lvm on alpha

linux-lvm Heinz Mauelshagen 2 participants 6 messages Jun 27, 2001 – Jun 28, 2001

lore
Share & tools
lore
#0 lore raw

Sean,

could you provide your "fdisk -l" output on the disk(s) in question and the pvcreate output as well?

Thanks,
Heinz -- The LVM guy --

Quoted 9 lines · Sean McConnell

I may just be blind, but do people have the lvm working on alphas. I compiled and tryied both 2.4.4 and 2.4.5 on Rh7 on my alpha, but no matter what pvcreate won't see the partition type of any partition, just says they're 0x1...
a simple NO will do unless there's a solution. thanks

Quoted 8 lines

sean mcconnell

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#1 lore raw

i thought i had sent a prior email with the info, but i guess not, well here it is:

# fdisk -l /dev/sdb

Disk /dev/sdb: 134 heads, 62 sectors, 1019 cylinders Units = cylinders of 8308 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      1019   4232895   8e  Linux LVM
# pvcreate -vd /dev/sdb
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb"
<1> pv_check_name -- CALLED with "/dev/sdb"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

i can set the partition at 83 or 82 and it still says it's fat12

Quoted 46 lines · Heinz Mauelshagen

Sean,

could you provide your "fdisk -l" output on the disk(s) in question and the pvcreate output as well?

Thanks,
Heinz -- The LVM guy --

Quoted 9 lines · Sean McConnell

I may just be blind, but do people have the lvm working on alphas. I compiled and tryied both 2.4.4 and 2.4.5 on Rh7 on my alpha, but no matter what pvcreate won't see the partition type of any partition, just says they're 0x1...
a simple NO will do unless there's a solution. thanks

Quoted 8 lines

sean mcconnell

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 4 lines
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College
#2 lore raw

Sean,

your output looks like you run pvcreate on /dev/sdb rather than on /dev/sdb1. Did you try the later as well without success?

Regards,
Heinz -- The LVM Guy --

Quoted 76 lines · Sean McConnell

i thought i had sent a prior email with the info, but i guess not, well here it is:

# fdisk -l /dev/sdb

Disk /dev/sdb: 134 heads, 62 sectors, 1019 cylinders Units = cylinders of 8308 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      1019   4232895   8e  Linux LVM
# pvcreate -vd /dev/sdb
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb"
<1> pv_check_name -- CALLED with "/dev/sdb"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

i can set the partition at 83 or 82 and it still says it's fat12

Quoted 33 lines · Heinz Mauelshagen

Sean,

could you provide your "fdisk -l" output on the disk(s) in question and the pvcreate output as well?

Thanks,
Heinz -- The LVM guy --

Quoted 9 lines · Sean McConnell

I may just be blind, but do people have the lvm working on alphas. I compiled and tryied both 2.4.4 and 2.4.5 on Rh7 on my alpha, but no matter what pvcreate won't see the partition type of any partition, just says they're 0x1...
a simple NO will do unless there's a solution. thanks

Quoted 8 lines

sean mcconnell

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Quoted 25 lines
Quoted 13 lines

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 10 lines
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

yes i had tried it before, but it does the same thing

# pvcreate -vd /dev/sdb1
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb1"
<1> pv_check_name -- CALLED with "/dev/sdb1"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb1"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb1" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

a little more info:
it's an alpha lx164, i've done both 2.4.5 and 2.4.4 compiled specifically for the lx with lvm in the kernel, made sure to get all the goods in that the pages said to, the distro is redhat7, got the updated gcc when it came out, so that shouldn't be a problem...fdisk didn't have lvm partition type to choose from in the 2.2.17 i was running before, but now with the 2.4.x kernels it's there, so i'm guessing the kernel likes it...but i know with the 2.4 kernel the dev has been shuffled around. Looking at the pvcreate source if the partition type is 83 it should give me a specific answer about it being ext2, but it still only gives 0x1 as the partition type.

Quoted 132 lines · Heinz Mauelshagen

Sean,

your output looks like you run pvcreate on /dev/sdb rather than on /dev/sdb1. Did you try the later as well without success?

Regards,
Heinz -- The LVM Guy --

Quoted 96 lines · Sean McConnell

i thought i had sent a prior email with the info, but i guess not, well here it is:

# fdisk -l /dev/sdb

Disk /dev/sdb: 134 heads, 62 sectors, 1019 cylinders Units = cylinders of 8308 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      1019   4232895   8e  Linux LVM
# pvcreate -vd /dev/sdb
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb"
<1> pv_check_name -- CALLED with "/dev/sdb"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

i can set the partition at 83 or 82 and it still says it's fat12

Quoted 38 lines · Heinz Mauelshagen

Sean,

could you provide your "fdisk -l" output on the disk(s) in question and the pvcreate output as well?

Thanks,
Heinz -- The LVM guy --

Quoted 9 lines · Sean McConnell

I may just be blind, but do people have the lvm working on alphas. I compiled and tryied both 2.4.4 and 2.4.5 on Rh7 on my alpha, but no matter what pvcreate won't see the partition type of any partition, just says they're 0x1...
a simple NO will do unless there's a solution. thanks

Quoted 8 lines

sean mcconnell

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

Quoted 8 lines
                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

--
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 4 lines
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College
#4 lore raw
Quoted 29 lines · Sean McConnell

yes i had tried it before, but it does the same thing

# pvcreate -vd /dev/sdb1
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb1"
<1> pv_check_name -- CALLED with "/dev/sdb1"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb1"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb1" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

Quoted 8 lines

a little more info:
it's an alpha lx164, i've done both 2.4.5 and 2.4.4 compiled specifically for the lx with lvm in the kernel, made sure to get all the goods in that the pages said to, the distro is redhat7, got the updated gcc when it came out, so that shouldn't be a problem...fdisk didn't have lvm partition type to choose from in the 2.2.17 i was running before, but now with the 2.4.x kernels it's there, so i'm guessing the kernel likes it...but i know with the 2.4 kernel the dev has been shuffled around.

That's actually a good point to check.
Are all /dev entries for block devices present?

Heinz

Quoted 127 lines

Looking at the pvcreate
source if the partition type is 83 it should give me a specific answer about it being ext2, but it still only gives 0x1 as the partition type.

Quoted 119 lines · Heinz Mauelshagen

Sean,

your output looks like you run pvcreate on /dev/sdb rather than on /dev/sdb1. Did you try the later as well without success?

Regards,
Heinz -- The LVM Guy --

Quoted 96 lines · Sean McConnell

i thought i had sent a prior email with the info, but i guess not, well here it is:

# fdisk -l /dev/sdb

Disk /dev/sdb: 134 heads, 62 sectors, 1019 cylinders Units = cylinders of 8308 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      1019   4232895   8e  Linux LVM
# pvcreate -vd /dev/sdb
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/sdb"
<1> pv_check_name -- CALLED with "/dev/sdb"
<22> lvm_check_chars -- CALLED with name: "/dev/sdb"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
pvcreate -- checking partition type
pvcreate -- invalid partition type 0x1 for "/dev/sdb" (must be 0x8e)

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

i can set the partition at 83 or 82 and it still says it's fat12

Quoted 38 lines · Heinz Mauelshagen

Sean,

could you provide your "fdisk -l" output on the disk(s) in question and the pvcreate output as well?

Thanks,
Heinz -- The LVM guy --

Quoted 9 lines · Sean McConnell

I may just be blind, but do people have the lvm working on alphas. I compiled and tryied both 2.4.4 and 2.4.5 on Rh7 on my alpha, but no matter what pvcreate won't see the partition type of any partition, just says they're 0x1...
a simple NO will do unless there's a solution. thanks

Quoted 8 lines

sean mcconnell

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

Quoted 8 lines
                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

--
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Quoted 25 lines
Quoted 13 lines

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 10 lines
Sean McConnell, [email protected]
Unix System Administrator
Computer Technology/Science
Clark College

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

so far as i can tell, just checking against my mandrake 8 box, pertaining to the lvm it all looks good. I have the /dev/lvm device and all my /dev/sdb devices, missing a device for a volume group of course. I'm not sure if there's more i should look for. It's just kind of wierd...apparently it sees the drive, because if i try to pvcreate a non existing partition it tells me so, it just doesn't seem to want to see the type of partition. I've tried using the tools that are the same version as the kernel lvm, and tools above (i don't think the latest worked though) but i get the same results with both kernels so i'd think it would have to be some configuration (user) error.

sean mcconnell