Florian, use the "rsync" command as Rick Troth has suggested,the "cp
-ax" does not handle symlinks as we want it to. As an aside, I'm not all
that thrilled by trying to expand a filesystem or partition "in place",
either.

DJ

On 3/28/2012 11:45 AM, Florian Bilek wrote:
Dear Christian,


Unfortunately this does not workout since FDASD does not allow to enter
extends beyond the actual partition size. It tells:
fdasd /dev/dasdl
reading volume label ..: VOL1
reading vtoc ..........: ok
WARNING: This device is not fully formatted! Only 2238 of 3339 cylinders
are available.

I had formatted the device before and the old content was copied by dd.

I think that there should be some option at dasdfmt to format only parts of
the partitions as cpfmtxa can do or FDASD should not check the size of the
partition at leased with an option. Maybe this could be taken by IBM on
board for improvement of the s390x tools.

@Dave
Thank you Dave for these hints. I will try it out. I was always concerned
to use cp or rsync since I was not shure how it would handle the symlinks.

Kind regards,
Florian





On Wed, Mar 28, 2012 at 5:06 PM, Christian Paro<christian.p...@gmail.com>wrote:

Assuming there's free space following your existing partition, you can use
fdasd to increase the partition size (just make sure you keep the same
starting cylinder), and then resize your filesystem with resize2fs after
the partition has been extended.

On Wed, Mar 28, 2012 at 10:50 AM, Florian Bilek<florian.bi...@gmail.com
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 lists...@vm.marist.edu 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/


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/




--

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu 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/

Reply via email to