Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently installed Ubuntu on my Samsung laptop. After installing I realized that I would need more space, so I plugged in my usb to boot from and went into gparted to increase the size from 50 gigs to 100. After doing this I thought I was done so a few days ago while on Ubuntu it said that I was running low on space so I checked Gparted and it showed my partition as having 100 gigs but they weren't usable on my Ubuntu. A red circle with a "!" in it was next to the Ubuntu partition, so I right clicked and pressed check. And after a few minutes of waiting an error came up, the error is below. I am very new to Ubuntu and don't really have any idea what I am doing, any help would be greatly appreciated.


GParted 0.16.1 --enable-libparted-dmraid
Libparted 2.3

Check and repair file system (ext4) on /dev/sda7  00:00:09    ( ERROR )
calibrate /dev/sda7  00:00:00    ( SUCCESS )
path: /dev/sda7
start: 468992000
end: 862283775
size: 393291776 (187.54 GiB)

check file system on /dev/sda7 for errors and (if possible) fix them  00:00:09    ( SUCCESS )
e2fsck -f -y -v /dev/sda7
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
235030 inodes used (7.51%, out of 3129344)
108 non-contiguous files (0.0%)
295 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 187706/20
1745237 blocks used (13.96%, out of 12499968)
0 bad blocks
1 large file
147809 regular files
22222 directories
57 character device files
25 block device files
0 fifos
8 links
64907 symbolic links (47213 fast symbolic links)
1 socket
235029 files
e2fsck 1.42.8 (20-Jun-2013)
ext2fs_check_if_mount: Input/output error while determining whether /dev/sda7 is mounted.

grow file system to fill the partition  00:00:00    ( ERROR )
resize2fs /dev/sda7
resize2fs 1.42.8 (20-Jun-2013)
ext2fs_check_mount_point: Input/output error while determining whether /dev/sda7 is mounted.

RESULTS OF sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x467fc636

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   976773167   488386583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 8103 MB, 8103395328 bytes
256 heads, 21 sectors/track, 2944 cylinders, total 15826944 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    15826943     7913440+   c  W95 FAT32 (LBA)
share|improve this question
Can you please post the output of sudo fdisk -l? –  Pavel Dec 14 '13 at 17:22
I added it to the bottom of the question –  user230175 Dec 14 '13 at 17:27
Ok, for a GPT drive you need gdisk. Install it with 'sudo apt-get install gdisk', then you can access partition info with the 'p' command as per: rodsbooks.com/gdisk/walkthrough.html –  Pavel Dec 14 '13 at 17:34
I still don't really understand what to do, could you explain more –  user230175 Dec 14 '13 at 17:48
@Cameron: I'll try to clarify: Instead of sudo fdisk -l you need to run sudo gdisk -l, because fdisk doesn't deal with GPT partition tables (like the one on /dev/sda) but gdisk does. You may need to install gdisk first with sudo apt-get install gdisk. –  David Foerster Dec 14 '13 at 17:54
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.