On Wed, 6 Aug 2003, Dorney, Mark wrote:

> I need more space.  We had the idea that we'd take down the instance, give
> it a larger minidisk and then use VM to copy the existing partition to the
> larger minidisk.  Although this sounded like the easiest way to accomplish
> this, I don't think it'll work now that we've done it.  It IPLs ok and when
> I go into YAST in the "partitioner" area I see the larger DASD, however, the
> partition has not changed (obviously).  I guess the thinking (or lack
> thereof) was that this would extra space would magically appear.  However,
> now I realize that isn't the case and to get a partition on DASDC I'm going
> to need to format it to get the extra space then partition it, is this
> correct?  I suspect I'll be told about LVM but right now this is just a
> proof of concept and it didn't seem worth the effort to implement LVM for a
> few instances.    I think what I have to do is add a minidisk the size I
> want, format it, partition it, then copy everything over there and change
> the mount points, does this sound along the right lines?  Thanks
> 
> Device        �Id        �     Size      � F �Type          � Mount �RAID
> �LVM Group 
> /dev/dasdb  � (0192)�    210.9 MB�    �S390 Disk  �           �         �
> 
> /dev/dasdb1�          �     210.2 MB�   �S390 DASD�swap   �          �  
> /dev/dasdc  � (0193)�         2.0 GB�   �S390 Disk  �           �          �
> 
> /dev/dasdc1�          �         1.7 GB�   �S390 DASD�/          �          �


You don't say what your filesystem type is, but if it's ext{2,3}

This might work, and if it doesn't will destroy the junk you already
have;-)

I don't understand the above table. You need the right-size partition,
so if it's not then delete it and create it at its new size. Or ZAP it
if you know what you're doing and have something to ZAP it with;-).

Use resize2fs to expand it.
Use e2fsck to check the filesystem.

If resize2fs doesn't work, then mke2fs and copy the data the way you
should have first time.




-- 


Cheers
John.

Join the "Linux Support by Small Businesses" list at 
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
Copyright John Summerfield. Reproduction prohibited.

Reply via email to