Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-28 Thread Martin T
Stefan: I'm afraid you can't use dd for this because as far as I know dd(1) reads and writes one block at a time and in case new position for file system overlaps with the present one, using dd you will start overwriting the end of the file system with the readings from the start of the file syste

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-28 Thread Stefan Monnier
> thanks for replies! Is it possible to "slide" partition using the > tools included with e2fsprogs package as well? The e2fsprogs tools only deal with the needs specific to ext[234] partitions. Sliding a partition can be done for any partition you like with `dd'. Stefan -- To UNSUBS

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-26 Thread Martin T
Jochen, Darac: thanks for replies! Is it possible to "slide" partition using the tools included with e2fsprogs package as well? Or is the GNU Parted only option here if I want to make changes over CLI? regards, martin Kuupäeval 26. märts 2012 17:28 kirjutas Darac Marjal : > On Sun, Mar 25, 2012

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-26 Thread Darac Marjal
On Sun, Mar 25, 2012 at 10:50:27PM +, Martin T wrote: > I have a 500GB((131072000*4096)/1024^3) ext3 filesystem: > [cut] > > Is it possible to make partition smaller starting from the beginning? > If yes, do I need to somehow start file system from the end of the > partition? Not directly. T

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-26 Thread Jochen Spieker
Martin T: > > Is it possible to make partition smaller starting from the beginning? No. > If yes, do I need to somehow start file system from the end of the > partition? AFAIK that's not possible. The solution for your problem (which involves initial reformatting) is LVM. J. -- There is no ju

shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-25 Thread Martin T
I have a 500GB((131072000*4096)/1024^3) ext3 filesystem: root@debian:~#dumpe2fs /dev/sda9 | egrep "Block count|Block size" dumpe2fs 1.41.12 (17-May-2010) Block count: 131072000 Block size: 4096 root@debian:~# ..on a 904GB((1953523711-56924160)*512)/(1024^3) partition(sd