LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-12-2005, 07:32 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Rep: Reputation: Disabled
Upgraders: How to make old system read new filesystem on LVM?


I installed SuSE 10.0 on /dev/hda parallel to SuSE 9.0pro on /dev/hdc.

SuSE 10.0 is in ext3 on LVM, SuSE 9.0pro in ext2.

How do I "explain" it to old SuSE 9.0pro that there is a new girl in the house, but she must be talked to via LVM ?

Obviously I must activate LVM support in SuSE 9.0pro (which I did) but she must get to know the volume-group name during boot-up (or for testing by hand) etc. and have permanent entries in /etc/fstab.

I'm honestly baffled but found nowhere anything like a howto, so can anybody please walk a newbie through the necessary steps...

Last edited by JZL240I-U; 12-12-2005 at 08:59 AM.
 
Old 12-13-2005, 02:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
IF you've got LVM2 loaded, then it's nothing more than mounting /dev/[vgname]/[lvname] rather than /dev/hdXY... e.g. /dev/VolGroup0/LVhome other than that it's exactly the same as a normal mount.
 
Old 12-13-2005, 02:34 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Umm, that didn't work. Originally I copied the lines from SuSE 10's /etc/fstab to SuSE 9.0pro. I even ran vgscan -- to no avail. I'll try it again and come back with the error message(s)...

Since we're at it, do you know whether and how it can be done in FreeBSD 6.0?

Last edited by JZL240I-U; 12-13-2005 at 02:38 AM.
 
Old 12-14-2005, 03:38 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Okay, here it is:
Code:
mount -t auto /dev/system/home mnt
mount: special device /dev/system/home does not exist
"system" is the name of the volume group and SuSE 10 generated an corresponding entry in /etc/fstab during installation...

What now?
 
Old 12-14-2005, 04:49 AM   #5
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
What are the outputs of:
# pvdisplay -C
# vgdisplay -C
# lvdisplay -C

if none of those work, how about the outputs of
# pvscan -v
# vgscan -v
# lvscan -v

Do you have a /dev/mapper directory?

Are you sure that dm_mod is loaded?
(or have you compiled the disk mapper into the kernel?)
 
Old 12-14-2005, 05:06 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
I'll try your suggestions tonight. I attempted earlier
Code:
vgscan 
-> created /etc/lvmtab and /etc/lvmtab.d
vgchange -a y 
-> no volume groups found
lvscan 
-> no logical volumes found
but without the verbose flag. I'll retry it then...


I have the standard SuSE 9.0pro Kernel, no idea whether it contains this disk mapper. How can I find out?
 
Old 12-14-2005, 06:14 AM   #7
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
$ grep CONFIG_BLK_DEV_DM /boot/config-2.6.12-1-k7
(or wherever your kernel config is, of course)

if it is built as a module then you should get a result from
$ lsmod | grep dm_mod

you might also want to do a sanity check
$ /sbin/lvmiopversion
and make sure the result is 200
 
Old 12-14-2005, 11:45 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Here it comes:
Code:
linux:~ # pvdisplay -c
pvdisplay -- please enter a physical volume path

linux:~ # pvdisplay -c /dev/hda5
pvdisplay -- no physical volume identifier on "/dev/hda5"


linux:~ # pvdisplay -c /dev/hda
pvdisplay -- no physical volume identifier on "/dev/hda"

linux:~ # pvdisplay -vv /dev/system
pvdisplay -- checking physical volume name "/dev/system"
pvdisplay -- reading data of physical volume "/dev/system" from disk
pvdisplay -- ERROR "pv_read(): open" no VALID physical volume "/dev/system"

------------------

linux:~ # vgdisplay -c
vgdisplay -- no volume groups found

linux:~ # vgdisplay -c /dev/system
vgdisplay -- volume group "system" not found

linux:~ # vgdisplay -c /dev/hda
vgdisplay -- volume group "hda" not found

linux:~ # vgdisplay -c /dev/hda4
vgdisplay -- volume group "hda4" not found

linux:~ # vgdisplay -c /dev/hda5
vgdisplay -- volume group "hda5" not found

--------------

linux:~ # lvdisplay -c /dev/system
lvdisplay -- invalid logical volume name "/dev/system"


linux:~ # lvdisplay -c /dev/system/home
lvdisplay -- "/etc/lvmtab.d/system" doesn't exist
lvdisplay -- logical volume "/dev/system/home" doesn't exist

-------------------

linux:~ # pvscan -v
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- walking through all physical volumes found
pvscan -- no valid physical volumes found

linux:~ # vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group

linux:~ # lvscan -v
lvscan -- no volume groups found

========================

linux:~ # grep CONFIG_BLK_DEV_DM /boot/config-2.4.21-99-athlon
CONFIG_BLK_DEV_DM=m
CONFIG_BLK_DEV_DM_MIRROR=m

linux:~ # lsmod | grep dm_mod
linux:~ #

linux:~ # /sbin/lvmiopversion
bash: /sbin/lvmiopversion: No such file or directory
linux:~ # locate /sbin/lvm*
/hda/sbin/lvmchange
/sbin/lvmchange
/sbin/lvmcreate_initrd
/hda/sbin/lvmdiskscan
/sbin/lvmdiskscan
/hda/sbin/lvmsadc
/sbin/lvmsadc
/hda/sbin/lvmsar
/sbin/lvmsar

=====================

linux:~ # lvmdiskscan -v
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- filling directory cache...
lvmdiskscan -- walking through all found disks / partitions
lvmdiskscan -- /dev/hdc1   [          2 GB] Primary  DOS 16bit [0x06]
lvmdiskscan -- /dev/hdc2   [       2.34 GB] Primary   [0x17]
lvmdiskscan -- /dev/hdc3   [          1 GB] Primary  LINUX swap partition [0x82]
lvmdiskscan -- /dev/hdc4   [       4.20 GB] Primary  Windows98 extended partition [0x0F]
lvmdiskscan -- /dev/hdc5   [       1.20 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdc6   [          3 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda1   [      15.66 MB] Primary  LINUX native partition [0x83]
lvmdiskscan -- /dev/hda2   [         10 GB] Primary  LINUX native partition [0x83]
lvmdiskscan -- /dev/hda3   [      15.01 GB] Primary  FREEBSD [0xA5]
lvmdiskscan -- /dev/hda4   [     208.73 GB] Primary  Windows98 extended partition [0x0F]
lvmdiskscan -- /dev/hda5   [         12 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/hda6   [          5 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/hda7   [       8.01 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/hda8   [          5 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/hda9   [       4.67 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/hdb1   [          1 GB] Primary  DOS 16bit [0x06]
lvmdiskscan -- /dev/hdb2   [     101.97 MB] Primary  DOS 16bit [0x06]
lvmdiskscan -- /dev/hdb3   [     101.97 MB] Primary  LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb4   [       8.33 GB] Primary  Windows98 extended partition [0x0F]
lvmdiskscan -- /dev/hdb5   [       2.21 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb6   [       2.50 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb7   [       2.01 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb8   [        502 MB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdb9   [       1.13 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- 3 disks
lvmdiskscan -- 0 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 30 partitions
lvmdiskscan -- 5 LVM physical volume partitions
HTH
 
Old 12-14-2005, 01:03 PM   #9
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 45
Doesn’t the 2.4 kernel only have native support for lvm (a.k.a. lvm1) and needs a patch to have lvm2 support (which is probably what uberNUT69 is hinting about)?

From the LVM HowTo: http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html

Chapter 1. What is LVM?

“...LVM 2 uses the device mapper kernel driver. Device mapper support is in the 2.6 kernel tree and there are patches available for current 2.4 kernels...”

“...LVM 1 - The version that is in the 2.4 series kernel...”

CONFIG_BLK_DEV_DM=m???

Last edited by WhatsHisName; 12-14-2005 at 01:16 PM.
 
Old 12-16-2005, 02:26 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by WhatsHisName
Doesn’t the 2.4 kernel only have native support for lvm (a.k.a. lvm1) and needs a patch to have lvm2 support (which is probably what uberNUT69 is hinting about)?
But SuSE 10 has a 2.6.x Kernel. Look at my "grep" command
Code:
$ grep CONFIG_BLK_DEV_DM /boot/config-2.6.12-1-k7
Quote:
Originally Posted by WhatsHisName
CONFIG_BLK_DEV_DM=m???
What else should I expect?
 
Old 12-16-2005, 05:00 AM   #11
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
-C not -c

how about
Code:
# which lvmiopversion
# locate lvm
You haven't supplied the grep of a 2.6 kernel AFAIK
Quote:
grep CONFIG_BLK_DEV_DM /boot/config-2.4.21-99-athlon
so, what is
Code:
$ uname -a
and
Code:
# ls -l /lib/lvm*
as suggested above, evidence would tend to suggest you are running a 2.4 kernel with lvm1

Code:
# lvm version

Last edited by uberNUT69; 12-16-2005 at 05:02 AM.
 
Old 12-16-2005, 05:08 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uberNUT69
-C not -c
Tried that, resulted in an error. But shall retry tonight...

Quote:
Originally Posted by uberNUT69
how about
Code:
# which lvmiopversion
# locate lvm
Shall do tonight.

Quote:
Originally Posted by uberNUT69
You haven't supplied the grep of a 2.6 kernel AFAIK
Damn you're right. This is SuSE 9.0 -- my mistake, sorry.

Quote:
Originally Posted by uberNUT69
so, what is
Code:
$ uname -a
and
Code:
# ls -l /lib/lvm*
I'll do that tonight, too.

Quote:
Originally Posted by uberNUT69
as suggested above, evidence would tend to suggest you are running a 2.4 kernel with lvm1
Yep, see above. What now?

Quote:
Originally Posted by uberNUT69
Code:
# lvm version
Last but not least I'll do that tonight, too.



P.S.: One more symptom...

During booting I get the following message:
Code:
Running file system check on root for LVM activation.
fsck 1.34 (25 jul 2003)
/dev/hdb5 is mounted

Warning: Severe file system damage may result....
Comes only after I activated LVM in the services...

Last edited by JZL240I-U; 12-17-2005 at 07:50 AM.
 
Old 12-17-2005, 07:55 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Okay, here it comes again :
Code:
linux:~ # pvdisplay -C
pvdisplay: invalid option -- C

Logical Volume Manager 1.0.7(mp-v6)
Heinz Mauelshagen, Sistina Software  28/03/2003  (IOP 10)

pvdisplay -- Physical Volume Display

Synopsis:
---------

pvdisplay
        [-c/--colon]
        [-d/--debug]
        [-h/--help]
        [-s/--short]
        [-v[v]/--verbose [--verbose]]
        PhysicalVolumePath [PhysicalVolumePath...]

linux:~ # vgdisplay -C
vgdisplay: invalid option -- C

lvdisplay: invalid option -- C

Logical Volume Manager 1.0.7(mp-v6)
Heinz Mauelshagen, Sistina Software  28/03/2003 (IOP 10)

lvdisplay -- Logical Volume Display

Synopsis:
---------

lvdisplay
        [-c/--colon]
        [-d/--debug]
        [-D/--disk]
        [-h/--help]
        [-v[v]/--verbose [--verbose]]
        LogicalVolume[Path] [LogicalVolume[Path]...]
Okay, it's LVM 1.0.7(mp-v6) not LVM 2.x but we knew that...
Code:
linux:~ # which lvmiopversion
linux:~ # locate lvm
/dev/lvm
/etc/init.d/boot.d/S04boot.lvm
/etc/init.d/boot.lvm
/etc/lvmtab
/etc/lvmtab.d
/etc/sysconfig/lvm
... {SuSE 10 mount points}
/lib/liblvm-10.so
/lib/liblvm-10.so.1
/lib/liblvm-10.so.1.0
/lib/modules/2.4.21-99-athlon/kernel/drivers/evms/AIXlvm_vge.o
/lib/modules/2.4.21-99-athlon/kernel/drivers/evms/lvm_vge.o
/lib/modules/2.4.21-99-athlon/kernel/drivers/evms/os2lvm_vge.o
/lib/modules/2.4.21-99-athlon/kernel/drivers/md/lvm-mod.o
/sbin/lvmchange
/sbin/lvmcreate_initrd
/sbin/lvmdiskscan
/sbin/lvmsadc
/sbin/lvmsar
/usr/lib/perl5/5.8.1/pod/perlvmesa.pod
/usr/lib/perl5/5.8.1/pod/perlvms.pod
/usr/share/applications/YaST2/lvm_config.desktop
/usr/share/doc/packages/lvm
/usr/share/doc/packages/lvm/ABSTRACT
/usr/share/doc/packages/lvm/CHANGELOG
/usr/share/doc/packages/lvm/CONTRIBUTORS
/usr/share/doc/packages/lvm/COPYING
/usr/share/doc/packages/lvm/FAQ
/usr/share/doc/packages/lvm/INSTALL
/usr/share/doc/packages/lvm/LVM-HOWTO
/usr/share/doc/packages/lvm/README
/usr/share/doc/packages/lvm/TODO
/usr/share/doc/packages/lvm/WHATSNEW
/usr/share/doc/packages/yast2-storage/autodocs/inst_lvm_lv.html
/usr/share/doc/packages/yast2-storage/autodocs/inst_lvm_pv.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_config.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_config_ui.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_lib.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_lv_lib.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_pv_lib.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_ui_dialogs.html
/usr/share/doc/packages/yast2-storage/autodocs/lvm_ui_lib.html
/usr/share/man/man1/perlvmesa.1.gz
/usr/share/man/man1/perlvms.1.gz
/usr/share/man/man8/lvm.8.gz
/usr/share/man/man8/lvmchange.8.gz
/usr/share/man/man8/lvmcreate_initrd.8.gz
/usr/share/man/man8/lvmdiskscan.8.gz
/usr/share/man/man8/lvmsadc.8.gz
/usr/share/man/man8/lvmsar.8.gz
/usr/share/YaST2/clients/inst_lvm_lv.ycp
/usr/share/YaST2/clients/inst_lvm_pv.ycp
/usr/share/YaST2/clients/lvm_config.ycp
/usr/share/YaST2/clients/lvm_config_ui.ycp
/usr/share/YaST2/config/lvm_config.y2cc
/usr/share/YaST2/images/lvm.png
/usr/share/YaST2/include/partitioning/lvm_lib.ycp
/usr/share/YaST2/include/partitioning/lvm_lv_lib.ycp
/usr/share/YaST2/include/partitioning/lvm_pv_lib.ycp
/usr/share/YaST2/include/partitioning/lvm_ui_dialogs.ycp
/usr/share/YaST2/include/partitioning/lvm_ui_lib.ycp
/usr/share/YaST2/scrconf/lvm.scr
/usr/src/linux-2.4.21-99-include/athlon/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/athlon/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/athlon/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99-include/debug/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/debug/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/debug/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99-include/default/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/default/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/default/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99-include/psmp/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/psmp/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/psmp/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/smp/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/lvm.h
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/AIXlvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/AIXlvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/lvm_vge.ver
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/os2lvm_vge.stamp
/usr/src/linux-2.4.21-99-include/smp4G/include/linux/modules/os2lvm_vge.ver
/usr/src/linux-2.4.21-99/drivers/evms/AIXlvm_vge.c
/usr/src/linux-2.4.21-99/drivers/evms/lvm_vge.c
/usr/src/linux-2.4.21-99/drivers/evms/os2lvm_vge.c
/usr/src/linux-2.4.21-99/drivers/md/lvm-fs.c
/usr/src/linux-2.4.21-99/drivers/md/lvm-internal.h
/usr/src/linux-2.4.21-99/drivers/md/lvm-mp.c
/usr/src/linux-2.4.21-99/drivers/md/lvm-snap.c
/usr/src/linux-2.4.21-99/drivers/md/lvm.c
/usr/src/linux-2.4.21-99/include/linux/evms/evms_lvm.h
/usr/src/linux-2.4.21-99/include/linux/lvm.h
/var/adm/fillup-templates/rc.config.lvm.del
/var/adm/fillup-templates/sysconfig.lvm
Unnecessary, I think, but just to stay on your good side ...
Code:
linux:~ # uname -a
Linux linux 2.4.21-99-athlon #1 Wed Sep 24 13:34:32 UTC 2003 i686 athlon i386 GNU/Linux
...yeah, we know ...
Code:
linux:~ # ls -l /lib/lvm*
/bin/ls: /lib/lvm*: No such file or directory

linux:~ # lvm version
bash: lvm: command not found
But I think that one was answered already...

Suggestions?
 
Old 12-17-2005, 04:53 PM   #14
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Yes, that answers the question(s) well.
Quote:
Originally Posted by JZL240I-U
Suggestions?
Upgrade to 2.6 and install lvm2
 
Old 12-19-2005, 03:23 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: SuSE 11.4_64-KDE, 12.1_64-KDE
Posts: 3,346

Original Poster
Rep: Reputation: Disabled
Ooooh no that's no fun.

Furthermore, I can't imagine that lvm1 can't read the physical and logical volumes of an other systems, since it is not differently formatted (and "lvmdiskscan" found the physical volumes!). I just don't know how to make it do that -- and I wouldn't if I had lvm2 either...

So I still need the walk-through how to teach one system to read anothers lvm volumes. Any takers?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM and shrinking the root filesystem coreychch Linux - Newbie 4 05-21-2012 01:47 AM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 09:36 AM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 08:40 PM
"read-only filesystem" occurs in make install davemar Linux From Scratch 2 03-11-2004 09:33 AM
bootsector location with lvm filesystem flv7a Linux - General 1 11-07-2003 10:53 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration