EVMS newbie, help me!!

"James Kelty" <[email protected]> Fri, 13 Jul 2007 10:49:16 -0700
Newsgroups gmane.linux.evms.devel
Message-ID <[email protected]>
Ok,

So we had a system yesterday that was rebooted (on purpose), but the kernel
was panicing with lots or errors. I booted into a liveCD and found that the
only volume that was listed in /dev/evms was 'boot'.

root@rap:~# ls /dev/evms
boot  dm
root@rap:~#

I then found a '.nodes' directory that had all the other volumes listed
under lvm and lvm2 that we need. I was able to modify the /etc/fstab and
reference these directories as: /dev/evms/.nodes/lvm/container0/var for
instance and once I had done that for all but the 'boot' volume, the system
came up with out an issue.

What happened to the other /dev/evms devices? How can I get them back w/o
destroying any data? Below is the text of some evms_query commands:


EVMS: Query:volumes

Volume Name: /dev/evms/boot
Major: 253
Minor: 2
Active: TRUE
Volume Size: 101.93 MB
Minor Number: 2
Mount Point: /boot
Filesystem: Ext2/3
Max Filesystem Size: 4.00 TB
Min Filesystem Size: 45.66 MB

EVMS: Query:objects

Logical Disk Name: hde
Major: 33
Minor: 0
Active: TRUE
Logical Disk Size: 372.61 GB
Logical Disk Geometry: 48641 Cylinders, 255 Heads, 63 Sectors per Track, 512
Bytes per Sector
LBA of the 1024 Cylinder Limit: 16434495

Logical Disk Name: hdg
Major: 34
Minor: 0
Active: TRUE
Logical Disk Size: 372.61 GB
Logical Disk Geometry: 48641 Cylinders, 255 Heads, 63 Sectors per Track, 512
Bytes per Sector
LBA of the 1024 Cylinder Limit: 16434495

Logical Disk Name: sda
Major: 8
Minor: 0
Active: TRUE
Logical Disk Size: 2.00 TB
Logical Disk Geometry: 5610 Cylinders, 255 Heads, 63 Sectors per Track, 512
Bytes per Sector
LBA of the 1024 Cylinder Limit: 16434495

Logical Disk Name: sdb
Major: 8
Minor: 16
Active: TRUE
Logical Disk Size: 1.64 TB
Logical Disk Geometry: 9795 Cylinders, 255 Heads, 63 Sectors per Track, 512
Bytes per Sector
LBA of the 1024 Cylinder Limit: 16434495

Logical Disk Name: sdc
Major: 8
Minor: 32
Active: TRUE
Logical Disk Size: 3.64 TB
Logical Disk Geometry: 15405 Cylinders, 255 Heads, 63 Sectors per Track, 512
Bytes per Sector
LBA of the 1024 Cylinder Limit: 16434495

Segment Name: hde_mbr
Major: 0
Minor: 0
Active: FALSE
Segment Size: 31.50 KB
Starting LBA: 0
Segment Type: Metadata

Segment Name: hde1
Major: 253
Minor: 0
Active: TRUE
Segment Size: 101.94 MB
Starting LBA: 63
Segment Type: Data

Segment Name: hde2
Major: 253
Minor: 3
Active: TRUE
Segment Size: 372.51 GB
Starting LBA: 208845
Segment Type: Data

Segment Name: hde_freespace1
Major: 0
Minor: 0
Active: FALSE
Segment Size: 2.49 MB
Starting LBA: 781417665
Segment Type: Freespace

Segment Name: hdg_mbr
Major: 0
Minor: 0
Active: FALSE
Segment Size: 31.50 KB
Starting LBA: 0
Segment Type: Metadata

Segment Name: hdg1
Major: 253
Minor: 1
Active: TRUE
Segment Size: 101.94 MB
Starting LBA: 63
Segment Type: Data

Segment Name: hdg2
Major: 253
Minor: 4
Active: TRUE
Segment Size: 372.51 GB
Starting LBA: 208845
Segment Type: Data

Segment Name: hdg_freespace1
Major: 0
Minor: 0
Active: FALSE
Segment Size: 2.49 MB
Starting LBA: 781417665
Segment Type: Freespace

Region Name: lvm2/archive/archive
Major: 253
Minor: 5
Active: TRUE
Region Size: 7.28 TB
Region Type: Data

Region Name: lvm2/archive/Freespace
Major: 0
Minor: 0
Active: FALSE
Region Size: 0.00 bytes
Region Type: Freespace

Region Name: lvm/container0/home
Major: 253
Minor: 6
Active: TRUE
Region Size: 20.00 GB
Region Type: Data

Region Name: lvm/container0/root
Major: 253
Minor: 7
Active: TRUE
Region Size: 6.00 GB
Region Type: Data

Region Name: lvm/container0/swap
Major: 253
Minor: 8
Active: TRUE
Region Size: 2.00 GB
Region Type: Data

Region Name: lvm/container0/tmp
Major: 253
Minor: 9
Active: TRUE
Region Size: 5.00 GB
Region Type: Data

Region Name: lvm/container0/var
Major: 253
Minor: 10
Active: TRUE
Region Size: 10.00 GB
Region Type: Data

Region Name: lvm/container0/Freespace
Major: 0
Minor: 0
Active: FALSE
Region Size: 329.47 GB
Region Type: Freespace

Region Name: md/md0
Major: 9
Minor: 0
Active: TRUE
Region Size: 101.93 MB
Region Type: Data

Region Name: md/md1
Major: 9
Minor: 1
Active: TRUE
Region Size: 372.51 GB
Region Type: Data

EVMS:

The ones that I am most concerned with are root,var,tmp,swap,home, and
archive

Thanks so much for any and all replies.

-James

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel