You are not logged in.
Hi, I didnt know which forum that was best to post in so I took the Workstation-forum.
I have a little problem. My computer is running a ext3 filesystem, and I realy need to make another partition on that disk without losing the old data (and I have no place to use for backup). I tried parted, but didnt work because of this: http://lists.gnu.org/archive/html/bug-p … 00081.html
So is there any other software that will do the trick? (Dont say partitionmagic, dont have acces to windowscomputer right now.) If it would do any difference, Im using a 2.6.13.2 kernel.
Need more info? Just ask.
Offline
fdisk? (*nix one, of course)
I don't know how feasible it is to keep data with it, though.
Offline
you need to have the partition umounted to resize it, so make sure you do it in a live cd like archie or something.
Offline
fdisk? (*nix one, of course)
I don't know how feasible it is to keep data with it, though.
I dont think I can resize with fdisk, just create partitionstables?
a little edit:
you need to have the partition umounted to resize it, so make sure you do it in a live cd like archie or something.
My partition is umounted, but that doesnt do the trick.
Offline
Well, as they say on the ML - use resize2fs to resize the filesystem first and then fdisk to shrink the partition.
Excerpt from resize2fs' man:
If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem. Then you may use fdisk(8)
to shrink the size of the partition. When shrinking the size of the partition, make sure you do not make it smaller than
the new size of the ext2 filesystem!
Playing with it could be pretty blunder-prone, but well, we learn every day ;-)
I cannot think of any other tools that you could use, except those windowish bootcds whose names I don't remember - but I don't know if they'd have ext2/3 support anyway.
Offline
Well, as they say on the ML - use resize2fs to resize the filesystem first and then fdisk to shrink the partition.
Excerpt from resize2fs' man:
If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem. Then you may use fdisk(8)
to shrink the size of the partition. When shrinking the size of the partition, make sure you do not make it smaller than
the new size of the ext2 filesystem!Playing with it could be pretty blunder-prone, but well, we learn every day ;-)
I cannot think of any other tools that you could use, except those windowish bootcds whose names I don't remember - but I don't know if they'd have ext2/3 support anyway.
Hum, I thought I read the manual for that program earlier today, but I most have read wrong because I thought it only worked on ext2, but it clearly says it supports more FS-types than that. Dumb me
Well, I played around a little with that software, didnt work as I wanted to. But nevermind this thread anymore, I will be moving all my data to another box tomorrow.
Thanks for the help guys.
Offline
The only way I would resize ext3 is by using Partimage with an external usb harddisk.
I already tried something like this a few times, re-creating the partition and restoring the (Part)image. This is a fairly safe and quick way.
Offline
resize2fs resizes ext2 (DUH...). ext3 is ext2, with journal. To resize ext3, remove the journal first, like so:
tune2fs -O ^has_journal <device>
Resize as required, and then put the journal back:
tune2fs -O has_journal <device>
or
tune2fs -j <device>
Offline
Why is this package available in repos, heh? :idea:
Our tomcat for your mice! Archlinux for your comps! Alfa Romeo for your roads! Faster running guaranted!
Offline
So that people have a choice. If you want a gui for this sort of thing, qtparted is good, but if like me, you're happy enough with the CLI, and you don't already have qt installed, it's 12MB including dependencies that you don't really need.
Offline