I also went thru this same problem.  The default SuSE install doesn't add
any DASD=; neither does yast for new DASD.

I'm sure there are other solutions but here's what I did:

1) CP Attach the boot dasd to another running linux, activate using yast and
mount.  Remove the LVM mounts from /etc/fstab . unmount and detach.

2) re-ipl the problem system.

3) Apparently something is "not ready" at boot during the LVM activation,
even when I added the DASD= in zipl.conf.   Never did find out what.

4) I wrote a simple script that executes at the end of all those processes
in /etc/init.d to do:
    a) /sbin/lvm vgscan
    b) sbin/lvm vgchange -a y
    c) mount /dev/mapper/vg01-lv01 /newfs

----------
SuSE support suggested adding "ipldelay=2m" to the parm but I never had the
change to test this.

Ismael

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Tom
Duerbusch
Sent: Tuesday, March 29, 2005 8:49 AM
To: [email protected]
Subject: Lost packs after IPL Sles9

I think this is an easy one.

I added some dasd a couple weeks ago.  My notes show that I didn't do
it manually, I used Yast (so I should have been convered<G>).

Then I created a LVM over the 5 volumes, again thru Yast.

Started using LVM and everything was great.

Yesterday, I did the first reboot of this machine since I added the
dasd.

Well, the boot fails with:

Activating LVM volume groups...

  No volume groups found

..skipped

Checking file systems...

fsck 1.34 (25-Jul-2003)

Checking all file systems.

[/sbin/fsck.reiserfs (1) -- /use] fsck.reiserfs -a /dev/dasdb1

Reiserfs super block in block 16 on 0x0 of format 3.6 with standard
journal
Blocks (total/free): 600816/592586 by 4096 bytes

Filesystem is clean

Replaying journal..

Reiserfs journal '/dev/dasdb1' in blocks [18..8211]: 0 transactions
replayed
Checking internal tree..finished

[/sbin/fsck.reiserfs (1) -- /data1] fsck.reiserfs -a
/dev/system/lvmdata1


Failed to open the device '/dev/system/lvmdata1': No such device or
address




Warning... fsck.reiserfs for device /dev/system/lvmdata1 exited with
signal 6.


A cat /proc/dasd/devices does not show the 5 volumes.
A cat /etc/zipl.conf doesn't (no longer in sles9) show the volumes
linux knows about.  Apparently it is dynamically sensing the devices.

The big difference in Sles8 vs Sles9, is now we have to "activate" dasd
prior to dasdfmt, etc.

I think all I need to do is:

1.  manually activate the dasd
2.  update some file to show these volumes should be activated.

Anyway, I'm now at:

fsck failed.  Please repair manually and reboot. The root
file system is currently mounted read-only. To remount it
read-write do:

   bash# mount -n -o remount,rw /

Attention: Only CONTROL-D will reboot the system in this
maintanance mode. shutdown or reboot will not work.

Give root password for login:

Which means, my only access is via 3270 console (no IP connections have
been started).  And only dasda1 is mounted.

So, how do I manually "activate" dasd?  Assuming that was the problem.

Tom Duerbusch
THD Consulting

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