Thanks Rick and Uriel.
It was seeing double because as Uriel pointed out the root had errors and
nothing was mounted.
I linked and mounted the mini disks on another guest and repaired it.

I have another guest that uses LVM and it gave FSCK errors (reiserfs). I
ran FSCK on the PV's and it made it worse. By the time I got to doing it
on the LV, the damage was alread done.

I then restored all the relevant volumes (luckily only 4) and brought up
the guest. It threw up reiserfs errors and ended in kernel error.

Unable to handle kernel pointer dereference at virtual kernel address
4055e000
Oops: 0010 #1
CPU:    0    Not tainted (2.6.5-7.139-s390
SLES9_SP1_BRANCH-200501141541330000)
Process postsuper (pid: 2598, task: 02e59b10, ksp: 046b95f0)
Krnl PSW : 04082000 801485c4 (find_get_page+0x4c/0xa0)
Krnl GPRS: 4055ebc0 fffffffa 4055ebc0 0002f07e
           00000000 4055ebc0 00000015 fffff000
           00000000 0002f07e 06ff2c0c 00000000
           06ff2c0c 80148580 801485bc 046b97a8
Krnl Code: 43 10 20 01 a7 11 00 08 18 42 a7 28 00 01 a7 84 00 04 58 40

Call Trace:
 <00000000001762b4> __find_get_block_slow+0x68/0x260
 <0000000000176812> __find_get_block+0x12a/0x26c
 <0000000000176dd4> __getblk+0x28/0x50
 <0000000008894ee8> search_by_key+0xe4/0x1d2c reiserfs
 <0000000008878c80> reiserfs_update_sd_size+0xcc/0x3b0 reiserfs
 <0000000008874c7a> reiserfs_unlink+0x196/0x2a4 reiserfs
 <0000000000186f06> vfs_unlink+0x162/0x254
 <000000000018a0e0> sys_unlink+0x170/0x250
 <000000000010f0d4> sysc_do_restart+0xe/0x12


z/VM Version 5 Release 1.0, Service Level 0401 (64-bit),
built on IBM Virtualization Technology
There is no logmsg data
FILES: 0001 RDR, 0001 PRT,   NO PUN
RECONNECTED AT 22:33:53 PDT SATURDAY 06/04/05

The /usr, /home, /var and /tmp are in LVM. I am thinking of  'borrowing'
/usr, /var etc from another guest, not mount the LVM's at boot up, repair
and return to original config.

Any suggestions?
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840




Rick Troth <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[email protected]>
06/04/2005 11:57 AM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
Re: Linux guest seeing double root partitions!






What do you mean  "df shows duplicate root partitions"?
Do you mean something like

 Filesystem           1K-blocks      Used Available Use% Mounted on
 /dev/hda2               632476    104088    496260  18% /
 /dev/hda1               116648      5443    105183   5% /boot
 /dev/hda5              1897420    594208   1206824  33% /var
 /dev/hda2               632476    104088    496260  18% /
 tmpfs                   258348        16    258332   1% /dev/shm
 /dev/hda6              3162420   1693484   1308288  57% /usr
 /dev/hda7              3162420    636100   2365672  22% /opt

If so,
that is easily fixed.
The problem is simply that it is listed in /etc/mtab twice.

Quick way to fix it might be  (no promises)

                 cat /dev/null > /etc/mtab
                 mount -f /
                 sync ; sync ; shutdown -r now

If you have network access
it would be better to use your favourite editor on /etc/mtab.

-- R;

----------------------------------------------------------------------
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

Reply via email to