[opensuse] Expanding a file system to fill a partition
When I upgraded my OS to v11.1, I copied the /home directory to its new home by means of the dd command. (I had encountered some difficulty in trying to copy by file, and wanted to get the thing working. No, that is not the right way to do.) The new partition is rather larger than the old one, so of course, not all the partition is formatted with ect3. During discussion here of how to accomplish this upgrade, it was mentioned that it would be possible to remedy this incomplete formatting, but there was no mention of a way to do so. How can I fill out the formatting of this partition? -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Stan Goodman skrev:
When I upgraded my OS to v11.1, I copied the /home directory to its new home by means of the dd command. (I had encountered some difficulty in trying to copy by file, and wanted to get the thing working. No, that is not the right way to do.)
The new partition is rather larger than the old one, so of course, not all the partition is formatted with ect3. During discussion here of how to accomplish this upgrade, it was mentioned that it would be possible to remedy this incomplete formatting, but there was no mention of a way to do so.
How can I fill out the formatting of this partition?
Have a look at gparted. Eventually get a live-cd with gparted on it. Booting from it will let you do the trick. -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009-05-05 09:30, Stan Goodman wrote:
When I upgraded my OS to v11.1, I copied the /home directory to its new home by means of the dd command. (I had encountered some difficulty in trying to copy by file, and wanted to get the thing working. No, that is not the right way to do.)
The new partition is rather larger than the old one, so of course, not all the partition is formatted with ect3. During discussion here of how to accomplish this upgrade, it was mentioned that it would be possible to remedy this incomplete formatting, but there was no mention of a way to do so.
How can I fill out the formatting of this partition?
resize2fs If you run it without options, it will resize the filesystem to fill the partition. The tool also allows online expansion, but personally I would unmount the filesystem first. Read the man page if in doubt. Kind regards Sylvester Lykkehus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009-05-05 09:45, Sylvester Lykkehus wrote:
On 2009-05-05 09:30, Stan Goodman wrote:
<snip>
resize2fs
If you run it without options, it will resize the filesystem to fill the partition.
That should have read: 'if you do not specify the size parameter.'
The tool also allows online expansion, but personally I would unmount the filesystem first. Read the man page if in doubt.
Kind regards Sylvester Lykkehus
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 10:49:54 on Tuesday Tuesday 05 May 2009, Sylvester Lykkehus <zly@solidonline.dk> wrote:
On 2009-05-05 09:45, Sylvester Lykkehus wrote:
On 2009-05-05 09:30, Stan Goodman wrote:
<snip>
resize2fs
If you run it without options, it will resize the filesystem to fill the partition.
That should have read: 'if you do not specify the size parameter.'
What the man page says here is: "If size parameter is not specified, it will default to the size of the partition." Perhaps it has been corrected since your copy was last updated."
The tool also allows online expansion, but personally I would unmount the filesystem first. Read the man page if in doubt.
That sounds reasonable; thank you. I can do that by running resize2fs from the now replaced v10.3 installation that still exists.
Kind regards Sylvester Lykkehus
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Stan Goodman
-
Sylvester Lykkehus
-
Verner Kjærsgaard