Re: Logical Volume Resize

2020-12-06 Thread Kostas Sfakiotakis
Στις 7/12/20 1:24 π.μ., ο/η Jorge Fábregas έγραψε: On 12/6/20 7:10 PM, Kostas Sfakiotakis wrote:   Insufficient free space: 2560 extents needed, but only 2559 available It'll all depended on the extent size ; you can see you're short of just one extent (which is probably 4MB or 8MB don't reme

Re: Logical Volume Resize

2020-12-06 Thread Jorge Fábregas
On 12/6/20 7:10 PM, Kostas Sfakiotakis wrote: >   Insufficient free space: 2560 extents needed, but only 2559 available It'll all depended on the extent size ; you can see you're short of just one extent (which is probably 4MB or 8MB don't remember now). You can specify the extension via extents

Re: Logical Volume Resize

2020-12-06 Thread Kostas Sfakiotakis
Στις 7/12/20 12:21 π.μ., ο/η Jorge Fábregas έγραψε: On 12/6/20 6:18 PM, Kostas Sfakiotakis wrote: One last question though , do i need to resize the filesystem of the /var partition or will it be resized automatically ?? It will be resized automatically due to the "-r" switch we're using with

Re: Logical Volume Resize

2020-12-06 Thread Samuel Sieb
On 12/6/20 2:11 PM, Kostas Sfakiotakis wrote: Στις 7/12/20 12:00 π.μ., ο/η Samuel Sieb έγραψε: On 12/6/20 1:53 PM, Jorge Fábregas wrote: p.d. you could create a partition in /dev/sdb and flag it as LVM so you'll end up with /dev/sdb1 but since you already were using the whole device, that's wh

Re: Logical Volume Resize

2020-12-06 Thread Jorge Fábregas
On 12/6/20 6:18 PM, Kostas Sfakiotakis wrote: > One last question though , do i need to resize the filesystem of the > /var partition or will it be resized automatically ?? It will be resized automatically due to the "-r" switch we're using with lvextend. You can "man lvextend" and see the option

Re: Logical Volume Resize

2020-12-06 Thread Kostas Sfakiotakis
Στις 6/12/20 11:53 μ.μ., ο/η Jorge Fábregas έγραψε: On 12/6/20 5:07 PM, Kostas Sfakiotakis wrote: Now what's the safest way to enlarge / resize the /var partition with the use of  /dev/sdb space ??? Ok, assuming you're not interested in the information within OldData volume-group that resides

Re: Logical Volume Resize

2020-12-06 Thread Kostas Sfakiotakis
Στις 7/12/20 12:00 π.μ., ο/η Samuel Sieb έγραψε: On 12/6/20 1:53 PM, Jorge Fábregas wrote: p.d. you could create a partition in /dev/sdb and flag it as LVM so you'll end up with /dev/sdb1 but since you already were using the whole device, that's what I used. I recommend using a partition inst

Re: Logical Volume Resize

2020-12-06 Thread Samuel Sieb
On 12/6/20 1:53 PM, Jorge Fábregas wrote: p.d. you could create a partition in /dev/sdb and flag it as LVM so you'll end up with /dev/sdb1 but since you already were using the whole device, that's what I used. I recommend using a partition instead of the raw disk, it avoids some potential issu

Re: Logical Volume Resize

2020-12-06 Thread Jorge Fábregas
On 12/6/20 5:07 PM, Kostas Sfakiotakis wrote: > Now what's the safest way to enlarge / resize the /var partition with > the use of  /dev/sdb space ??? Ok, assuming you're not interested in the information within OldData volume-group that resides on sdb you can: 1) pvcreate -f /dev/sdb (we're us

Logical Volume Resize

2020-12-06 Thread Kostas Sfakiotakis
Greetings , My Fedora Core 33 installation resides on a hard disk with the use of Logical Volumes like below ( lsblk ) : sda 8:0    0   3.6T  0 disk ├─sda1  8:1    0 2M  0 part ├─sda2  8:2    0    50G  0 part /boot ├─sda3