[opensuse] Resized Partition Issue
Hi all! Hope anyone can help me with this, I use openSUSE 10.2 and had a partiton used to store my stuff (movies, pictures and multimedia in general), at the beginning it had 68GB size, after resizing it has 100GB but when I click on My Computer (using KDE) it appears as a 100 GB Media but it's total size still appears as 68GB. How can I fix it. The partition is /dev/sda3 mounted on /Stuff... Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 31 July 2007 20:50, Fernando Costa wrote:
the beginning it had 68GB size, after resizing it has 100GB but when I click on My Computer (using KDE) it appears as a 100 GB Media but it's total size still appears as 68GB. How can I fix it.
What resizing method you have used? Give us few steps how you did it. What file system type is reported in My Computer? -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I used Partition Magic to resize the partition, it is suppossed that the filesystem would be resized to but it didn't. At the begining my partition (non-bootable) was 68GB and i used the free space in my hard disk to resize the ext3 partition to 100GB, after that I run fsck to repair anything in my new resized partition. But in My computer the size remains 68GB but it recognizes that the partition is a 100GB one, the system type is ext3. Thanks, Rajko M. wrote:
On Tuesday 31 July 2007 20:50, Fernando Costa wrote:
the beginning it had 68GB size, after resizing it has 100GB but when I click on My Computer (using KDE) it appears as a 100 GB Media but it's total size still appears as 68GB. How can I fix it.
What resizing method you have used? Give us few steps how you did it. What file system type is reported in My Computer?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 01 August 2007 17:16, Fernando Costa wrote:
On Tuesday 31 July 2007 20:50, Fernando Costa wrote:
the beginning it had 68GB size, after resizing it has 100GB but when I click on My Computer (using KDE) it appears as a 100 GB Media but it's total size still appears as 68GB. How can I fix it.
What resizing method you have used? Give us few steps how you did it. What file system type is reported in My Computer? I used Partition Magic to resize the partition, it is suppossed that the filesystem would be resized to but it didn't. At the begining my
Rajko M. wrote: partition (non-bootable) was 68GB and i used the free space in my hard disk to resize the ext3 partition to 100GB, after that I run fsck to repair anything in my new resized partition. But in My computer the size remains 68GB but it recognizes that the partition is a 100GB one, the system type is ext3.
Hi Fernando, As Sunny said you have to resize file system too and instead of Partition Magic I would use as root: # yast2 disk it will start GUI. This is the same as: YaST Control Center -- System -- Partitioner Google on "resize ext3 partition": http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted http://ubuntuforums.org/archive/index.php/t-75438.html http://www.hafenscher.net/wiki/index.php?page=How_to_resize_an_EXT3_partitio... http://www.howtoforge.com/linux_resizing_ext3_partitions and so on. -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 01 August 2007 23:00, Rajko M. wrote:
Google on "resize ext3 partition": http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-p arted http://ubuntuforums.org/archive/index.php/t-75438.html http://www.hafenscher.net/wiki/index.php?page=How_to_resize_an _EXT3_partition http://www.howtoforge.com/linux_resizing_ext3_partitions and so on.
I have read the above but can't get parted to recognize hda2 .or hda3. I installed OpenSuSE 10.2 in a new box with an 80 G hard drive. The default values use the whole disk. I want to make room for more distros. I booted with a Ubuntu disk and added hda2 and hda3 in /etc/fstab as follows: unionfs / unionfs rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 /dev/hda1 swap swap defaults 0 0 /dev/hda2 / ext3 defaults 0 0 /dev/hda3 /home ext3 defaults 0 0 ubuntu@ubuntu:~$ sudo tune2fs -O^has_journal /dev/hda2 tune2fs 1.38 (30-Jun-2005) ubuntu@ubuntu:~$ sudo parted /dev/hda2 resize 21476 8000 Error: Partition doesn't exist. Information: Don't forget to update /etc/fstab, if necessary. ubuntu@ubuntu:~$ What am I missing? Marty -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/3/07, Martin Nopola
I have read the above but can't get parted to recognize hda2 .or hda3. I installed OpenSuSE 10.2 in a new box with an 80 G hard drive. The default values use the whole disk. I want to make room for more distros.
I booted with a Ubuntu disk and added hda2 and hda3 in /etc/fstab as follows:
unionfs / unionfs rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 /dev/hda1 swap swap defaults 0 0 /dev/hda2 / ext3 defaults 0 0 /dev/hda3 /home ext3 defaults 0 0
ubuntu@ubuntu:~$ sudo tune2fs -O^has_journal /dev/hda2 tune2fs 1.38 (30-Jun-2005) ubuntu@ubuntu:~$ sudo parted /dev/hda2 resize 21476 8000 Error: Partition doesn't exist. Information: Don't forget to update /etc/fstab, if necessary. ubuntu@ubuntu:~$
What am I missing?
You are missing the "create partitions" part :) Just adding entries in fstab does not create partitions. You need first to resize the partition on which suse resides. If you use ubutu, I think the the right tool is gparted (I may be wrong). After you resize this partition, you can create new ones on the freed space. But before you resize the partition, make sure u resize the filesystem, otherwise you will corrupt it. Actually, I still do not know exactly your situation. Is it: 1. Install suse with default settings (i.e. use the whole disk) 2. run ubuntu live cd or 2. install ubuntu, letting it to resize the suse partition and make space for itself? Cheers -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 03 August 2007 15:01, Sunny wrote:
Just adding entries in fstab does not create partitions. You need first to resize the partition on which suse resides. If you use ubutu, I think the the right tool is gparted (I may be wrong). After you resize this partition, you can create new ones on the freed space.
But before you resize the partition, make sure u resize the filesystem, otherwise you will corrupt it.
Thanks Sunny. And Jerry Feldman. GParted is on the Ubuntu CD and works like a charm. I shrank both partitions to make room for other distros. I did not resize and the installed SuSE 10.2 seems to be ok. I spent many hours trying to find out why YaST, cfdisk and parted don't work. Marty -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 02 Aug 2007 00:16:35 +0200
Fernando Costa
I used Partition Magic to resize the partition
As has been mentioned previously, you need to resize the file system as
Partition Magic will not. The command line utility is: resize2fs.
I have found that QTParted tends to work in a similar manner to
Partition Magic. QTParted uses GNUParted. You can boot a Knoppix live
CD and run QTParted, or you can download the GParted Live CD if
partitioning is all you want. http://gparted.sourceforge.net/livecd.php
The YaST partitioner works, but I have found some issues with it. I
prefer to run a live CD to ensure that none of the partitions are being
used. One word of caution, some live CDs, such as Knoppix will use a
swap partition on the HD if there is one, but you can always turn that
off.
--
Jerry Feldman
Thanks for your reply, I used the GParted Live CD to repair the filesystem and my OS recognizes all the partition size... Jerry Feldman wrote:
On Thu, 02 Aug 2007 00:16:35 +0200 Fernando Costa
wrote: I used Partition Magic to resize the partition
As has been mentioned previously, you need to resize the file system as Partition Magic will not. The command line utility is: resize2fs.
I have found that QTParted tends to work in a similar manner to Partition Magic. QTParted uses GNUParted. You can boot a Knoppix live CD and run QTParted, or you can download the GParted Live CD if partitioning is all you want. http://gparted.sourceforge.net/livecd.php
The YaST partitioner works, but I have found some issues with it. I prefer to run a live CD to ensure that none of the partitions are being used. One word of caution, some live CDs, such as Knoppix will use a swap partition on the HD if there is one, but you can always turn that off.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 02 Aug 2007 02:14:34 +0200
Fernando Costa
Thanks for your reply, I used the GParted Live CD to repair the filesystem and my OS recognizes all the partition size...
Wonderful. There are some very good tools on Linux. Even the Windows
professionals I know use Linux tools to to fix broken Windows
servers.
--
Jerry Feldman
On 7/31/07, Fernando Costa
Hi all!
Hope anyone can help me with this, I use openSUSE 10.2 and had a partiton used to store my stuff (movies, pictures and multimedia in general), at the beginning it had 68GB size, after resizing it has 100GB but when I click on My Computer (using KDE) it appears as a 100 GB Media but it's total size still appears as 68GB. How can I fix it.
The partition is /dev/sda3 mounted on /Stuff...
Thanks
You need to resize the filesystem as well, not only the partition. -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Fernando Costa
-
Jerry Feldman
-
Martin Nopola
-
Rajko M.
-
Sunny