You didn't indicate that you updated your dasd= parameter in your parmfile
and re-ran zipl.  Take a look at this:
http://linuxvm.org/info/howtos/mkinitrd-notes.html


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 6:19 PM
To: [EMAIL PROTECTED]
Subject: Question using LVM; trying to extend current LVM managed volume g
roup


I have an existing Linux system (non-VM) running SuSE Enterprise Server 8 in
an LPAR using an IFL.  My root file system and swap space are on unit 150e.
I am using LVM to manage two other units 1611, and 1242 and I have /home,
/var/and /opt filesystems mounted on volume group "system" in my /etc/fstab

< snip >
/dev/system/home        /home   reiserfs   defaults              1 2
/dev/system/opt         /opt    reiserfs   defaults              1 2
/dev/system/var         /var    reiserfs   defaults              1 2
< snip >

I am trying to extend the logical volumes assigned to /var, /home/ and /opt
to get more space

I was assigned a drive unit by my storage administrator, and I made sure the
unit was varied offline on all LPARs

I use the 'echo "add device range=113e" >>/proc/dasd/device' command to
assign another unit to my system

The "cat /proc/dasd/devices" shows the unit available.

I ran dasdfmt, dasdfmt, and mkreiserfs, to prepare the new drive

I ran "pvcreate /dev/dasdd1" sans quotes to create physical volume to LVM I
ran "vgextend -v system /dev/dasdd1" sans quotes to get the disk defined to
LVM I ran "lvextend /dev/system/opt +200" sans quotes  to extend the file
system (also ran it for /var and /home) I ran ""resize_reiserfs -f
/dev/system/opt" to resize the filesystem (also ran it for /var and /home)

When I ran df -k everything looks great until I cycle Linux,

Then I receive the following message on the HMC and I cannot continue

>>>     Scanning for LVM volume groups...

>>>     lvm-mp: allocating 42 lowmem entries at 01316000

>>>     LVM version 1.0.5+(mp-v6c)(22/07/2002) module loaded

>>>     vgscan -- reading all physical volumes (this may take a
>>> while...)

>>>     vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get
data of
>>>        volume group "system" from physical volume(s)

>>>     Unable to find swap-space signature

>>>     vgscan -- "/etc/lvmtab" and /etc/lvmtab.d" successfully created

>>>     vgscan -- WARNING: This is program does not do a VGDA backup of
>>> your

>>>        volume group

>>>     Activating LVM volume groups...

>>>     vgchange -- no volume groups found

>>>     ..done

>>>     Activating swap-devices in /etc/fstab...

>>>     ..failed

>>>     Checking file systems...

>>>     fsck 1.28 (31-Aug-2002)

>>>     /dev/dasda1: clean, 82746/840320 files, 395657/1679988 blocks

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

>>>     maintenance mode.  shutdown or reboot will not work.

>>>     Give root password to login:


I read and searched through documents, redpapers, and e-mails I could find
dealing with LVM, but I can't the step I am missing.  My attempts to run
'fsck' manually have not been successful.  What I end up doing is doing a
full image restore from backups I took before I tried to expand the
filesystem and trying something else.

Can someone point me in the right direction, or identify the step that I am
missing.

TIA

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