I was running out of space on my 172 Gb HDD, so I bought a 465 Gb replacement, and used the DD command in terminal to copy the old to the new. DD, of course, created a partition exactly 172 Gb in size, so I then booted off a Linux Mint Live CD and used Gparted to expand the 172 Gb partition to the entire disk, and it SEEMED to work fine... except that now, Ubuntu does not recognize that any changes have been made, and still thinks only 172 Gb is available. Gparted, however, DOES see the resized partition, so as far as it is concerned, nothing is wrong. This is a pure Ubuntu installation, no dual-boot. I have attached screenshots of Gparted and Disk Usage Analyser's mutually incompatible results. Has anyone seen this before? Any ideas?
![Gparted Results]/home/rex/Pictures/Screenshot from 2015-11-11 13:17:25Gparted Results.png ![Disk Analyser Results for boot]/home/rex/Pictures/Screenshot from 2015-11-11 13:18:09Disk Analyser Results for boot.png
![Disk Analyser Results for whole disk]/home/rex/Pictures/Screenshot from 2015-11-11 13:18:46Disk Usage Analyser Results for Whole Disk.png
output of sudo parted -l
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2
2 257MB 500GB 500GB extended
5 257MB 500GB 500GB logical lvm
Model: Generic Flash Disk (scsi)
Disk /dev/sdb: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1184kB 15.9GB 15.9GB primary fat32
sudo parted -l
and paste the output into your question – Charles Green Nov 11 '15 at 22:03parted
is an 'L' (lowercase) to list the partitions of the disk – Charles Green Nov 11 '15 at 22:12Model: ATA WDC WD5000AAKX-0 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 1 1049kB 256MB 255MB primary ext2 2 257MB 500GB 500GB extended 5 257MB 500GB 500GB logical lvm
Model: Generic Flash Disk (scsi) Disk /dev/sdb: 15.9GB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 1 1184kB 15.9GB 15.9GB primary fat32
– Rex Brocki Nov 11 '15 at 22:12Model: Linux device-mapper (crypt) (dm) Disk /dev/mapper/cryptswap1: 1325MB Sector size (logical/physical): 512B/512B Partition Table: loop
Number Start End Size File system Flags 1 0.00B 1325MB 1325MB linux-swap(v1)
Error: /dev/mapper/freegeek-swap_1: unrecognised disk label
Model: Linux device-mapper (linear) (dm) Disk /dev/mapper/freegeek-root: 158GB Sector size (logical/physical): 512B/512B Partition Table: loop
Number Start End Size File system Flags 1 0.00B 158GB 158GB ext4
– Rex Brocki Nov 11 '15 at 22:14/dev/sda
seems to have two partitions using the same space, and you are using lvm. I'm not familiar with lvm, so I'd better bow out of the discussion... – Charles Green Nov 11 '15 at 22:21