Issues with LVM partition size in Server 13.04

Posted by Michael on Ask Ubuntu See other posts from Ask Ubuntu or by Michael
Published on 2013-06-23T18:04:59Z Indexed on 2013/06/26 10:28 UTC
Read the original article Hit count: 289

Filed under:
|
|

I am new to ubuntu and a little confused about how hard drive partitions and LVM works. I remember setting up Ubuntu server 13.04 and telling to to use 1TB of a 3TB server. Well I have maxed that out with blu-ray rips and want the rest of the drive for space.

On log-in it says:

  System load:  2.24                Processes:           179
  Usage of /:   88.7% of 912.89GB   Users logged in:     0
  Memory usage: 6%                  IP address for p5p1: 192.168.0.100
  Swap usage:   0%

  => / is using 88.7% of 912.89GB

lvdisplay outputs:

     --- Logical volume ---
  LV Path                /dev/DeathStar-vg/root
  LV Name                root
  VG Name                DeathStar-vg
  LV Write Access        read/write
  LV Creation host, time DeathStar, 2013-05-18 22:21:11 -0400
  LV Status              available
  # open                 1
  LV Size                2.70 TiB
  Current LE             707789
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:0

  --- Logical volume ---
  LV Path                /dev/DeathStar-vg/swap_1
  LV Name                swap_1
  VG Name                DeathStar-vg
  LV Write Access        read/write
  LV Creation host, time DeathStar, 2013-05-18 22:21:11 -0400
  LV Status              available
  # open                 2
  LV Size                3.75 GiB
  Current LE             959
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:1

vgdisplay outputs:

VG Name               DeathStar-vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.73 TiB
  PE Size               4.00 MiB
  Total PE              715335
  Alloc PE / Size       708748 / 2.70 TiB
  Free  PE / Size       6587 / 25.73 GiB

df outputs:

  Filesystem                     1K-blocks      Used Available Use% Mounted on
  /dev/mapper/DeathStar--vg-root 957238932 848972636  59634696  94% /
  none                                   4         0         4   0% /sys/fs/cgroup
  udev                             1864716         4   1864712   1% /dev
  tmpfs                             374968      1060    373908   1% /run
  none                                5120         4      5116   1% /run/lock
  none                             1874824       148   1874676   1% /run/shm
  none                              102400        24    102376   1% /run/user
  /dev/sda2                         234153     56477    165184  26% /boot

And fdisk /dev/sda -l outputs:

Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0x00000000

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

I just don't know what to make of all this and am not sure how I can make it use all 2.73TBs.

Thanks in advance for any help.

EDIT--

Yes I did make changes to the LVM Config, but it didnt do anything.

As requested, output of parted -l /dev/sda

Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2097kB  1049kB                     bios_grub
 2      2097kB  258MB   256MB   ext2
 3      258MB   3001GB  3000GB                     lvm


Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/DeathStar--vg-swap_1: 4022MB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End     Size    File system     Flags
 1      0.00B  4022MB  4022MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/DeathStar--vg-root: 2969GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  2969GB  2969GB  ext4

© Ask Ubuntu or respective owner

Related posts about server

Related posts about partitioning