Hi, Florian.
There is no tool that I am aware of that would do this, but there are
some manual steps you can do to expand the partition size:
1) add a new minidisk of the appropriate size to the zLinux image
2) dasdfmt it
3) make a partition: fdasd -a
4) put an ext2 (or ext3) file system on it (mke2fs)
5) go into single user mode; you don't want anyone else messing around
with the zLinux file system while you are copying parts of it.
6) mount the new file system at some convenient point, say "/mnt"
6) mount the old partition/file system someplace else, say "/old"
7) copy the old to the new:
cp -ax /old /mnt
8) make sure the new DASD is added to the mkinitrd/zipl configuration so
zLinux can find the next time it is reIPLed. Also, update the /etc/fstab
file as needed.
Have a good one, too.
DJ
On 3/28/2012 9:50 AM, Florian Bilek wrote:
Dear all,
Is there a tool that would allow to increase the partition size of a DASD
partition?
I would need to extend an ext2 filesystem on a DASD without loosing the
data on it. resize2fs does not extend the partition size. Is there an
appropriate tool for that on s390x?
Thank you very much in advance.
--
Best regards
Florian Bilek
----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/
--
Dave Jones
V/Soft
Houston, TX
www.vsoft-software.com
----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/