LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2014, 12:52 PM   #1
Tassadar
LQ Newbie
 
Registered: Jul 2013
Posts: 27

Rep: Reputation: Disabled
I can't use space of the system partition


Hi all,

I've a problem with a computer that runs with kubuntu 14.04, the question is it has a 2 terabytes system disk, whose installation came from a 120gb SSD via cloning with clonezilla and resizing partitions automatically (I told this because perhaps can be important, perhaps not).



/dev/sda1 has 1,76 TiB, but it says that 1,65 TiB are unassigned, so I can't use the space. I have try to resize partition but gparted doesn't allow me to.

As you can see on picture, if I go to properties of partition it shows a warning message saying something like:

"Warning: 1.65 TiB of unassigned space on partition, to make filesystem grow in order to fill the partition, select partition and choose "Partition --> Check" from the menu"

I'm unable to, since this option doesn't appears.

My question is: How can I repair it so I can use all the space? If possible, I want to do it from the kubuntu installation, since I'm not phisically on the computer and only can connect remotely.

Many thanks in advance
 
Old 07-24-2014, 01:33 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
It should just be a matter of running (as root) "resize2fs /dev/sda1" to expand the filesystem to fill the partition. Online expansion is supported, so you can do that while the system is running. Resizing (online or offline) does depend on the filesystem having been created with the "resize_inode" option, but that has been the default for quite some time (always, for ext4).
 
Old 07-24-2014, 01:52 PM   #3
Tassadar
LQ Newbie
 
Registered: Jul 2013
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
It should just be a matter of running (as root) "resize2fs /dev/sda1" to expand the filesystem to fill the partition. Online expansion is supported, so you can do that while the system is running. Resizing (online or offline) does depend on the filesystem having been created with the "resize_inode" option, but that has been the default for quite some time (always, for ext4).
Many thanks for your answer, rknichols

You think that doing this I could use all this lost space? keep in mind that after this partition, in the same disk, there is the swap partition, wouldn't it be affected?

Many thanks again
 
Old 07-24-2014, 02:49 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
It won't affect the swap partition. The filesystem will just be extended to use the entire 1.76 TiB sda1 partition instead of just the 108.1 GiB (89.64GiB + 18.46GiB) it is now. If you would prefer to create one or more separate partitions to make use of the currently unassigned space, that can be done too if you would say what your plans are, but that is going to be hard to do online.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Available space & used space of partition not tallying? ravisingh1 Linux - Hardware 4 04-27-2014 03:45 AM
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
Possibility to create swap partition if extended partition is out of space? bhavisavla Linux - Newbie 1 09-12-2011 06:39 AM
Removing Linux Partition and merging that space with my other Windows Partition RamenBooko Linux - General 3 10-11-2007 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration