Hmm, this could be nasty. I'm not totally familiar with LVM from a fixing perspective. I can tell you what my stuff looks like, though. I don't have any 58:0 device in my LVM devices. The logical volumes start with 58:1 # v /dev/vg01/ total 0 brw-rw---- 1 root disk 58, 0 2004-12-20 17:19 current brw-rw---- 1 root disk 58, 5 2004-12-20 17:19 gccbuild crw-r----- 1 root disk 109, 0 2004-12-20 17:19 group brw-rw---- 1 root disk 58, 3 2004-12-20 17:19 lvol1 brw-rw---- 1 root disk 58, 1 2004-12-20 17:19 swap brw-rw---- 1 root disk 58, 4 2004-12-20 17:19 tmp brw-rw---- 1 root disk 58, 2 2004-12-20 17:19 usr
Take a look in /proc/lvm/VGs/linuxd01/LVs/. You should find one "file" in there for each logical volume. # grep ^device * current:device: 58:00 gccbuild:device: 58:05 lvol1:device: 58:03 swap:device: 58:01 tmp:device: 58:04 usr:device: 58:02 Those should match what is in /dev/linuxd01. Now, I'm not at all sure what creates that mapping in the first place. Perhaps someone else can help there. Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Peter E. Abresch Jr. - at Pepco Sent: Sunday, January 16, 2005 2:13 PM To: [email protected] Subject: LVM corrupted in /dev/lv-name We are running SuSE Linux version 8 SP03 in a native LPAR. We are utilizing Logical Volume Manager (lvm). We lost our dasd and the filesystems became corrupted. I was able to run reiserfsck to recover however, /dev/linuxd01/tmp and /dev/linuxd01/opt appear to be the same. A listing of /dev/linuxd01 reveals the following: linuxt01:/ # ls -al /dev/linuxd01 total 40 dr-xr-xr-x 2 root root 4096 2005-01-16 13:45 . drwxr-xr-x 12 root root 36864 2005-01-16 13:45 .. crw-r----- 1 root disk 109, 0 2005-01-16 13:45 group brw-rw---- 1 root disk 58, 1 2005-01-16 13:45 home brw-rw---- 1 root disk 58, 2 2005-01-16 13:45 local brw-rw---- 1 root disk 58, 0 2005-01-16 13:45 opt brw-rw---- 1 root disk 58, 0 2005-01-16 13:45 tmp brw-rw---- 1 root disk 58, 3 2005-01-16 13:45 var Both opt and tmp have 0. Does anyone know how I can correct this? Thanks. Peter ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
