It turns out there's one more thing you need to do before running resize2fs 
(assuming you did use DDR or dd to do the copying of the whole 
minidisk/device).  The partition table will still say it is the old size.  
You'll need to use fdasd to re-create the VTOC and delete all partitions 
(option r), create a new partition spanning the whole space, then write the new 
partition table out to disk.  After that, resize2fs should work (after the 
mandatory e2fsck -f command).

Simply trying to delete the old partition and then add a new one didn't work 
for me (but I'm running an older copy of s390-tools on the system where I 
tested this).

Mark Post

>>> Mark Post 05/09/07 7:44 PM >>>
>>> On Wed, May 9, 2007 at 11:49 AM, in message <[EMAIL PROTECTED]>, Rich
Smrcina <[EMAIL PROTECTED]> wrote: 
> How did you copy the root filesystem to a larger minidisk?
> 
> Just using DDR won't work.
-snip-
It should if the system is down.  For example, add a minidisk to a guest, take 
the guest down and IPL CMS, DDR the old to the new, bring back up the guest.


Mark Post

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