Anyone have luck expanding the root for Expedition?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Anyone have luck expanding the root for Expedition?

L3 Networker

I am trying to expand the root of expedition since 18g is not enough when you start loading up data into projects so it keeps yelling at me for space. 

 

Tried following this http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm

 

But get error:

 

expedition@pan-expedition:~$ sudo pvcreate /dev/sda3

  Device /dev/sda3 not found (or ignored by filtering).

expedition@pan-expedition:~$ pvcreate /dev/sda3

  WARNING: Running as a non-root user. Functionality may be unavailable.

  /run/lvm/lvmetad.socket: connect failed: Permission denied

  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.

  /run/lock/lvm/P_orphans:aux: open failed: Permission denied

  Can't get lock for orphan PVs

expedition@pan-expedition:~$

3 REPLIES 3

L3 Networker

fexpedition@pan-expedition:~$ sudo fdisk -l

[sudo] password for expedition:

Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 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

Disklabel type: dos

Disk identifier: 0xe5054db8

 

Device     Boot   Start       End   Sectors Size Id Type

/dev/sda1  *       2048    999423    997376  487M 83 Linux

/dev/sda2        999424 167772159 166772736 79.5G  5 Extended

/dev/sda5       1001472 167772159 166770688 79.5G 8e Linux LVM

 

 

Disk /dev/sdb: 100 GiB, 107374182400 bytes, 209715200 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 /dev/mapper/Expedition--vg-root: 18.1 GiB, 19386073088 bytes, 37863424 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 /dev/mapper/Expedition--vg-swap_1: 1.5 GiB, 1572864000 bytes, 3072000 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

expedition@pan-expedition:~$

expedition@pan-expedition:~$

expedition@pan-expedition:~$

expedition@pan-expedition:~$

expedition@pan-expedition:~$ pvcreate /dev/sda3

  WARNING: Running as a non-root user. Functionality may be unavailable.

  /run/lvm/lvmetad.socket: connect failed: Permission denied

  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.

  /run/lock/lvm/P_orphans:aux: open failed: Permission denied

  Can't get lock for orphan PVs

expedition@pan-expedition:~$ sudo pvcreate /dev/sda3

  Device /dev/sda3 not found (or ignored by filtering).

expedition@pan-expedition:~$ sudo pvcreate /dev/sda5

  Can't initialize physical volume "/dev/sda5" of volume group "Expedition-vg" without -ff

expedition@pan-expedition:~$ sudo pvcreate /dev/sda5 -ff

Really INITIALIZE physical volume "/dev/sda5" of volume group "Expedition-vg" [y/n]? y

  Can't open /dev/sda5 exclusively.  Mounted filesystem?

expedition@pan-expedition:~$

Ok I figured it out. There are a few things missing in most articles I have found for resizing root volumes. 

 

 

 

You have to use pvresize to achieve this.

 

I will create an article on how to do this. 

The recommendation is to add and mount a second disk to expand the traffic log storage. 

 

  • 4858 Views
  • 3 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!