I've missed a step here. I had an 80GB boot drive that was filling up, so I replaced it with a 1TB drive.
From boot disk I dd
'ed to copy it, worked great
From the Live CD I was able (after a lot of fighting/reading) for the partition to expand. I thought my life was great. System rebooted fine gpart showed the new size.
But DF still showed the old size, I see that my install of /
is not pointing to sda but to /dev/mapper/ubuntu--vg-root
How do I adjust that size to use the new space?
# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x000411ff
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 1953523711 976510977 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 501760 1953513471 976505856 8e Linux LVM
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 72G 68G 82M 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 12K 1.9G 1% /dev
tmpfs 396M 2.1M 394M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 80K 2.0G 1% /run/shm
none 100M 44K 100M 1% /run/user
/dev/sda1 236M 166M 59M 74% /boot
/dev/sdh1 3.6T 3.0T 457G 87% /media/drive3
/dev/sdb1 2.7T 2.4T 155G 95% /media/drive4
/dev/mapper/ubuntu--vg-root
logical volume. Thelvresize
command can do this; see its man page for details. – Rod Smith Mar 09 '15 at 01:16Do I need to expand the /dev/ubuntu-vg/root to make room for more space to add to /dev/mapper/ubuntu--vg-root? I tried adding to both. /dev/ubuntu-vg/root Shows the new space but even after resizing that back down and adding it to /dev/mapper/ubuntu--vg-root there was no change.
And why doesn't /dev/mapper/ubuntu--vg-root show up in the Logical Volume Management?
– Ken Curtis Mar 09 '15 at 18:21