[opensuse] How increase ROOT size using GParted?
OpenSUSE 11.3 ROOT located on /dev/sdb6 with 3.0MB free (not good!) I want to increase /dev/sdb6, obviously. I booted to GParted and decreased the space on my OVERFLOW which is /dev/sdb8. The space is now unallocated with 1.46GiB but I cannot increase the size of /dev/sdb6. I also have 5.94GB unallocated on the same drive. /dev/sdb1 = ntfs 46.20 GB (I dual-boot, don't hate) (unallocated space shows here in GParted) - I formatted this before and it shows as /dev/sdb4 /dev/sdb3 = ext4 /dev/sdb2 = an extended partition /dev/sdb5 = linux-swap (SWAP1) /dev/sdb6 = ext4 (ROOT1) /dev/sdb7 = ext4 (HOME) /dev/sdb8 = ext4 (NEWSYS) (unallocated space shows here in GParted) How can I use the unallocated space to increase the space on /dev/sdb6? I also have /dev/sda1, sda2, sda3 with a lot of free space but I believe I cannot use it because it is on sda... Thank you for any help you can provide. ~ Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 28 Feb 2011 16:42:59 -0500 Mike <mike@chicodawg.com> wrote:
OpenSUSE 11.3 ROOT located on /dev/sdb6 with 3.0MB free (not good!) I want to increase /dev/sdb6, obviously.
I booted to GParted and decreased the space on my OVERFLOW which is /dev/sdb8. The space is now unallocated with 1.46GiB but I cannot increase the size of /dev/sdb6. I also have 5.94GB unallocated on the same drive.
/dev/sdb1 = ntfs 46.20 GB (I dual-boot, don't hate) (unallocated space shows here in GParted) - I formatted this before and it shows as /dev/sdb4 /dev/sdb3 = ext4
/dev/sdb2 = an extended partition /dev/sdb5 = linux-swap (SWAP1) /dev/sdb6 = ext4 (ROOT1) /dev/sdb7 = ext4 (HOME) /dev/sdb8 = ext4 (NEWSYS) (unallocated space shows here in GParted)
How can I use the unallocated space to increase the space on /dev/sdb6? I also have /dev/sda1, sda2, sda3 with a lot of free space but I believe I cannot use it because it is on sda...
Thank you for any help you can provide. ~ Mike
Move sdb8 to the end of the drive, then move sdb7 up to it and then expand sdb6 into the space created -- Steve -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/28/2011 05:30 PM, Yorvyk wrote:
On Mon, 28 Feb 2011 16:42:59 -0500 Mike<mike@chicodawg.com> wrote:
OpenSUSE 11.3 ROOT located on /dev/sdb6 with 3.0MB free (not good!) I want to increase /dev/sdb6, obviously.
I booted to GParted and decreased the space on my OVERFLOW which is /dev/sdb8. The space is now unallocated with 1.46GiB but I cannot increase the size of /dev/sdb6. I also have 5.94GB unallocated on the same drive.
/dev/sdb1 = ntfs 46.20 GB (I dual-boot, don't hate) (unallocated space shows here in GParted) - I formatted this before and it shows as /dev/sdb4 /dev/sdb3 = ext4
/dev/sdb2 = an extended partition /dev/sdb5 = linux-swap (SWAP1) /dev/sdb6 = ext4 (ROOT1) /dev/sdb7 = ext4 (HOME) /dev/sdb8 = ext4 (NEWSYS) (unallocated space shows here in GParted)
How can I use the unallocated space to increase the space on /dev/sdb6? I also have /dev/sda1, sda2, sda3 with a lot of free space but I believe I cannot use it because it is on sda...
Thank you for any help you can provide. ~ Mike Move sdb8 to the end of the drive, then move sdb7 up to it and then expand sdb6 into the space created
Thank you for the quick response! I am sure what you said makes a lot of sense. Could you please repeat that, but a little slower. :-) I don't know how to move them. Does GParted do this? Also, would it be possible to move the unallocated space below /dev/sdb1 into the extended partition so I can use its space as well when resizing /dev/sdb6 ? Thanks again! ~ Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday, February 28, 2011 05:10:19 pm Mike wrote: ...
Also, would it be possible to move the unallocated space below /dev/sdb1 into the extended partition so I can use its space as well when resizing /dev/sdb6 ?
It would be if you would use logical volume management (LVM) as Anton mentioned. Then you can add any space to any volume, including system volume. With partition based structure, you can add only space that is after partition, because each partition has boot record on the beginning, so that is point that you can't move. BTW, when you fight for 1.4 GB, then it is probably better to think about second internal, external, or just another bigger hard disk. As temporary help, check content of /tmp directory. It can be filled with gigabytes of temp files. Check, size of /var directory too. BTW, all this discussion is a bit pointless without knowing sizes of partitions. Bigger and smaller are not terms appropriate for technical discussion.
~ Mike
-- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/28/2011 11:53 PM, Rajko M. wrote:
On Monday, February 28, 2011 05:10:19 pm Mike wrote: ...
Also, would it be possible to move the unallocated space below /dev/sdb1 into the extended partition so I can use its space as well when resizing /dev/sdb6 ? It would be if you would use logical volume management (LVM) as Anton mentioned. Then you can add any space to any volume, including system volume.
With partition based structure, you can add only space that is after partition, because each partition has boot record on the beginning, so that is point that you can't move.
BTW, when you fight for 1.4 GB, then it is probably better to think about second internal, external, or just another bigger hard disk.
As temporary help, check content of /tmp directory. It can be filled with gigabytes of temp files. Check, size of /var directory too.
BTW, all this discussion is a bit pointless without knowing sizes of partitions. Bigger and smaller are not terms appropriate for technical discussion.
Thank you for the replies. I will look for LVM and see if I can figure it out. I used GParted and found how to move sdb8 and sdb7 below my unallocated space and then increased sdb6 by 1.4 GB / the unallocated space amount. Now if I can use LVM, and figure out how, to move the unallocated (5GB) space above the extended partition to below the extended partition where sdb6 is I can increase it further. I will check the directories you mentioned above. sda and sdb are each 100 GB. This is my laptop I'm working on. Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mike said the following on 03/01/2011 12:55 PM:
Now if I can use LVM, and figure out how, to move the unallocated (5GB)
LVM doesn't care where the space is, high or low, primary or extended or even if its on the same spindle. -- There's a tendency today to absolve individuals of moral responsibility and treat them as victims of social circumstance. You buy that, you pay with your soul. -Tom Robbins, Still Life with Woodpecker -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Didn't we have a question of this sort about this time last year? Oh, right, that was about /boot rather then ROOT. The we had one again about /usr/lib or something about six months ago. As I said then, I never have these problems any more. Yes, I did in the days before Linux and AIX ... think ... SCO Now I use LVM, well LVM2 actually. And ReiserFS so I can shrink a FS if I need to. Most of my partitions are under 4G so I can put them on an old USB stick if needed when shuffling around. However I've found that its easier to do things with LVM2 than Gparted - and a lot less scary! Once I replaced a dying drive by using LVM2's ability to 'migrate'. And being able to 'snapshot' for live backups is a joy. Yes, I know you didn't install LVM2 to start with. *sigh* Yes I know that having root and boot on a LVM partition is a but of a buqqer, but its worth it! -- I don't know the key to success, but the key to failure is trying to please everybody -- Bill Cosby -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anton Aylward
-
Mike
-
Rajko M.
-
Yorvyk