* [linux-lvm] Can't create the Logical Volume in my system
@ 2001-11-28 3:08 vincent_kuo
2001-11-28 3:39 ` Tom Brown
0 siblings, 1 reply; 2+ messages in thread
From: vincent_kuo @ 2001-11-28 3:08 UTC (permalink / raw)
To: Linux-LVM
[-- Attachment #1: Type: text/plain, Size: 3745 bytes --]
Dear sir,
I am trying the current version of LVM on my machine. I download the
lvm-1.0.1-rc4.tar.gz file from the FTP site. But I can't create any Logical
Volume on my machine. So I need your help. Thanks.
My H/W information is:
VIA Socket7 motherboard with VT82C686A, VT8501 chip
CPU Cyrix MII-333
RAM 192MB
HDD x 3 = hda 40GB (hda1=2G, hda5=rest size, hda6=64 swap)
hdc 20GB (hdc1=2G, hdc2=2G, hdc3=2G, hdc5=128 swap, hdc6=5G,
hdc7=5G, hdc8=rest size)
hdd 40GB (hdd1=200MB, hdd5=rest size, hdd6=32 swap)
FileSystem XFS V1.0.1 on HDA, EXT2 on HDC and HDD.
My OS and Software..:
Red Hat Linux 7.1 with Kernel 2.4.10 (with XFS patches)
My testing procedure:
1. ./configure --with-kernel_dir=/usr/src/linux-2.4
2. cd PATCHES, make
3. cd /usr/src/linux-2.4
3. patch -p1 < lvm-1.0.1=rc4-2.4.10-xfs.patch
4. Configure the Kernel with LVM as Module (and RAID + linear, because
I don't want to test the Software RAID now) There ever happen the Makefile
patched during this procedure. (drivers/md/Makefile has already got "lvm-fs.o"
line before the patch)
5. make bzImage, make modules, make modules_install, change lilo...
6. make, make install (LVM tool and library)
7. reboot
8. Change the partition ID by FDISK (83 Linux Native-> 8e Linux LVM)
on /dev/hdc3, /dev/hdc8, /dev/hdd1
9. pvcreate /dev/hdc3, pvcreate /dev/hdc8 --> OK
10. vgcreate MyVG01 /dev/hdc3, vgcreate MyVG02 /dev/hdc8 --> OK
The result of "vgdisplay" is: (See attached file: VolumeGroup)
11. vgchange -ay MyVG01, vgchange -ay MyVG02 --> OK
12. lvcreate -L 2G -n HDD01 MyVG01 --> core dump
13. lvcreate -L 2G -n HDD02 MyVG02 --> core dump
14. What ever I do (changing the LV size or deactive/active the VG,
format the partition....), it always display core dump.
15. The result of "pvdisplay" are: (See attached file:
PhysicalVolume02)(See attached file: PhysicalVolume01)
I don't know what's wrong with my LVM. Did I make any mistake during the
kernel or tool build procedure? Or I can't use XFS or EXT2 filesystem. I ever
combine 2 partitions into one VolumeGroup, it still got "core dump". I plan to
use LVM in a couple of weeks in all of my machine. So this procedure is my first
try. Please tell me how to fix it (or what's wrong)?
By the way, the "lvcreate -d ...." will dump a lots of messages but I can't
pipeline into a text file. The last few line are like below:
............
<7777777> lvm_get_Device_type called
<7777777> lvm_get_Device_Type leaving with 0
<666666> lvm_check_partition_dev -- LEAVING with ret: TRUE
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> pv_check_new -- CALLED
<55555> pv_check_new -- LEAVING with ret: 0
<4444> pv_check_consistency -- LEAVING with ret: 0
<333> lv_check_on_pv -- LEAVING with ret: 1
<22> pv_reserve_pe -- EAVING with ret: 0
<1> lv_setup_for_create -- pv_reserve_pe returned: 0 pe_last: 13 pe:0
<1> lv_setup_for_create -- pe: 0
<1> lv_setup_for_create 00 LEAVING with ret: 0
<1> lvm_dont_interrupt -- CALLED
<1> lvm_dont_interrupt -- LEAVING
Segmentation fault (core dumped)
I wish they are helpful. (Also, I haven't mount any filesystem that they
are not on hda. So HDC and HDD are definitely un-mounted.)
Regards,
--
Vincent C. Kuo
vincent_kuo@sercomm.com
---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Take a little time, I will be your friend. ^-^
---- ---- ---- ---- ---- ---- ---- ---- ---- ----
[-- Attachment #2: VolumeGroup --]
[-- Type: application/octet-stream, Size: 1085 bytes --]
--- Volume group ---
VG Name MyVG01
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 255
Cur LV 0
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 1
Act PV 1
VG Size 2.00 GB
PE Size 4.00 MB
Total PE 512
Alloc PE / Size 0 / 0
Free PE / Size 512 / 2.00 GB
VG UUID UUWX05-T9CB-HQG1-erPE-6cog-zOoc-XHZR9p
--- Volume group ---
VG Name MyVG02
VG Access read/write
VG Status available/resizable
VG # 1
MAX LV 255
Cur LV 0
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 1
Act PV 1
VG Size 4.00 GB
PE Size 4.00 MB
Total PE 1024
Alloc PE / Size 0 / 0
Free PE / Size 1024 / 4.00 GB
VG UUID Cl4rXM-GMCW-QAZA-tAWv-xEI1-y9Rb-MOitJ1
[-- Attachment #3: PhysicalVolume02 --]
[-- Type: application/octet-stream, Size: 431 bytes --]
--- Physical volume ---
PV Name /dev/hdc8
VG Name MyVG02
PV Size 4.01 GB / NOT usable 6.51 MB [LVM: 128.00 KB]
PV# 1
PV Status NOT available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 1024
Free PE 1024
Allocated PE 0
PV UUID DG8j3y-e1Nr-UZM9-Aj3n-YRP0-KATF-taTCwA
[-- Attachment #4: PhysicalVolume01 --]
[-- Type: application/octet-stream, Size: 429 bytes --]
--- Physical volume ---
PV Name /dev/hdc3
VG Name MyVG01
PV Size 2.01 GB / NOT usable 7.19 MB [LVM: 126.00 KB]
PV# 1
PV Status NOT available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 512
Free PE 512
Allocated PE 0
PV UUID Mi3X2I-Xrmt-4NLw-zQ0w-XXLW-h8qT-5wWvsG
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Can't create the Logical Volume in my system
2001-11-28 3:08 [linux-lvm] Can't create the Logical Volume in my system vincent_kuo
@ 2001-11-28 3:39 ` Tom Brown
0 siblings, 0 replies; 2+ messages in thread
From: Tom Brown @ 2001-11-28 3:39 UTC (permalink / raw)
To: linux-lvm
Did you search the mail archives for help? You need to compile with
optimizations off because RH7 ships with a broken gcc. Search for
segmentation fault
at
http://tech.sistina.com/cgi-bin/htsearch
http://lists.sistina.com/pipermail/linux-lvm/2001-October/009496.html
is a good hit.
On Wed, Nov 28, 2001 at 05:10:14PM +0800, vincent_kuo@sercomm.com wrote:
> Dear sir,
> I am trying the current version of LVM on my machine. I download the
> lvm-1.0.1-rc4.tar.gz file from the FTP site. But I can't create any Logical
> Volume on my machine. So I need your help. Thanks.
>
> My H/W information is:
> VIA Socket7 motherboard with VT82C686A, VT8501 chip
> CPU Cyrix MII-333
> RAM 192MB
> HDD x 3 = hda 40GB (hda1=2G, hda5=rest size, hda6=64 swap)
> hdc 20GB (hdc1=2G, hdc2=2G, hdc3=2G, hdc5=128 swap, hdc6=5G,
> hdc7=5G, hdc8=rest size)
> hdd 40GB (hdd1=200MB, hdd5=rest size, hdd6=32 swap)
> FileSystem XFS V1.0.1 on HDA, EXT2 on HDC and HDD.
> My OS and Software..:
> Red Hat Linux 7.1 with Kernel 2.4.10 (with XFS patches)
> My testing procedure:
> 1. ./configure --with-kernel_dir=/usr/src/linux-2.4
> 2. cd PATCHES, make
> 3. cd /usr/src/linux-2.4
> 3. patch -p1 < lvm-1.0.1=rc4-2.4.10-xfs.patch
> 4. Configure the Kernel with LVM as Module (and RAID + linear, because
> I don't want to test the Software RAID now) There ever happen the Makefile
> patched during this procedure. (drivers/md/Makefile has already got "lvm-fs.o"
> line before the patch)
> 5. make bzImage, make modules, make modules_install, change lilo...
> 6. make, make install (LVM tool and library)
> 7. reboot
> 8. Change the partition ID by FDISK (83 Linux Native-> 8e Linux LVM)
> on /dev/hdc3, /dev/hdc8, /dev/hdd1
> 9. pvcreate /dev/hdc3, pvcreate /dev/hdc8 --> OK
> 10. vgcreate MyVG01 /dev/hdc3, vgcreate MyVG02 /dev/hdc8 --> OK
> The result of "vgdisplay" is: (See attached file: VolumeGroup)
> 11. vgchange -ay MyVG01, vgchange -ay MyVG02 --> OK
> 12. lvcreate -L 2G -n HDD01 MyVG01 --> core dump
> 13. lvcreate -L 2G -n HDD02 MyVG02 --> core dump
> 14. What ever I do (changing the LV size or deactive/active the VG,
> format the partition....), it always display core dump.
> 15. The result of "pvdisplay" are: (See attached file:
> PhysicalVolume02)(See attached file: PhysicalVolume01)
> I don't know what's wrong with my LVM. Did I make any mistake during the
> kernel or tool build procedure? Or I can't use XFS or EXT2 filesystem. I ever
> combine 2 partitions into one VolumeGroup, it still got "core dump". I plan to
> use LVM in a couple of weeks in all of my machine. So this procedure is my first
> try. Please tell me how to fix it (or what's wrong)?
> By the way, the "lvcreate -d ...." will dump a lots of messages but I can't
> pipeline into a text file. The last few line are like below:
> ............
> <7777777> lvm_get_Device_type called
> <7777777> lvm_get_Device_Type leaving with 0
> <666666> lvm_check_partition_dev -- LEAVING with ret: TRUE
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> pv_check_new -- CALLED
> <55555> pv_check_new -- LEAVING with ret: 0
> <4444> pv_check_consistency -- LEAVING with ret: 0
> <333> lv_check_on_pv -- LEAVING with ret: 1
> <22> pv_reserve_pe -- EAVING with ret: 0
> <1> lv_setup_for_create -- pv_reserve_pe returned: 0 pe_last: 13 pe:0
> <1> lv_setup_for_create -- pe: 0
> <1> lv_setup_for_create 00 LEAVING with ret: 0
> <1> lvm_dont_interrupt -- CALLED
> <1> lvm_dont_interrupt -- LEAVING
> Segmentation fault (core dumped)
> I wish they are helpful. (Also, I haven't mount any filesystem that they
> are not on hda. So HDC and HDD are definitely un-mounted.)
> Regards,
>
> --
> Vincent C. Kuo
> vincent_kuo@sercomm.com
> ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> Take a little time, I will be your friend. ^-^
> ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
>
>
>
>
>
--
mailto:thecap@usa.net
http://www.ece.utexas.edu/~thecap/
28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-28 3:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 3:08 [linux-lvm] Can't create the Logical Volume in my system vincent_kuo
2001-11-28 3:39 ` Tom Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.