
Juan-Luis
19.02.2017
16:14:31
click the username and there is a button saying log out
well... lsof | grep home and kill processes
or just reboot XD

Ayad
19.02.2017
16:16:47
Hi

Google

Gwindor
19.02.2017
16:17:00
Welcome aboard

Ayad
19.02.2017
16:17:10

酒
19.02.2017
16:17:11

Juan-Luis
19.02.2017
16:17:31
So?
you won't be using your home until you login..

酒
19.02.2017
16:17:41
Rebooted

Juan-Luis
19.02.2017
16:18:13
So when you reboot go to a new TTY login go to /
then umount the partition
umount /home/
and great thing now lvm resizes the filesystem for you even when resizing

酒
19.02.2017
16:18:55

Juan-Luis
19.02.2017
16:19:03
lsof | grep /home

Gwindor
19.02.2017
16:19:40

Google

酒
19.02.2017
16:19:48

Juan-Luis
19.02.2017
16:20:11
just run the lsof and see what's using it

酒
19.02.2017
16:20:31
Hmm……

Kohane
19.02.2017
16:21:08

Gwindor
19.02.2017
16:21:35

酒
19.02.2017
16:21:41
Bash (number) (myusername) cwd DIR 253,2 4096 (some number) /home/(myusername)
Bash
Lsof
Grep
Lsof

Juan-Luis
19.02.2017
16:22:08
ok
so you are in your home
do cd /
to exit that
and then run the lsof again

酒
19.02.2017
16:23:16
1 line start with bash

Juan-Luis
19.02.2017
16:23:35
send the full line

Kohane
19.02.2017
16:23:40

Ayad
19.02.2017
16:23:58
i'm a new member

Juan-Luis
19.02.2017
16:24:14

Ayad
19.02.2017
16:24:28

Juan-Luis
19.02.2017
16:24:31
I don't like gparted, I feel like I don't have that much control as I do with cli

酒
19.02.2017
16:24:34
bash 1521 (myusername) cwd DIR 253,2 4096 13303809 /home/(myusername)

Google

Juan-Luis
19.02.2017
16:24:48
wait
did you login as your username
and then did sudo su, sudo -i su or similar?

酒
19.02.2017
16:25:09
Ahh…yes……

Juan-Luis
19.02.2017
16:25:18
well that's it
you have to exit this

酒
19.02.2017
16:25:27
K

Juan-Luis
19.02.2017
16:25:27
go to the parent process (the sesison)
go to / and then su again

Gwindor
19.02.2017
16:25:59

Juan-Luis
19.02.2017
16:26:11
that's a good point

酒
19.02.2017
16:26:38

Gwindor
19.02.2017
16:26:59
Though, I usually use Knoppix LiveCD for manipulation with existing installations.

Juan-Luis
19.02.2017
16:27:13
or whatever

Gwindor
19.02.2017
16:27:17

Juan-Luis
19.02.2017
16:27:21
you had to login prior to that

Gwindor
19.02.2017
16:27:27

酒
19.02.2017
16:27:32

Google

Juan-Luis
19.02.2017
16:28:17
Ok cool
so now you have to reduce the volume
lvresize —resizefs —size <SIZE> /dev/mapper/fedora-home
something like 7.5T should work
you are using about half

Gwindor
19.02.2017
16:29:12
I'd say, 8T
700GB for / is a bit overkill

Juan-Luis
19.02.2017
16:29:26
nope
700 unallocated

Admin
ERROR: S client not available

Juan-Luis
19.02.2017
16:29:42
and trust me having unallocated space is always handy

酒
19.02.2017
16:29:46
So, <size> = 7.5? Or 7.5t?

Gwindor
19.02.2017
16:29:49
oh, I see

Juan-Luis
19.02.2017
16:29:55
7.5t

Gwindor
19.02.2017
16:30:28
I guess, T and t are substitutional in the context?

Juan-Luis
19.02.2017
16:30:29
actually do the lower case t
I don't know for sure
but lvs showed t
so let's keep the same unit

Google

Juan-Luis
19.02.2017
16:30:51
just in case

Gwindor
19.02.2017
16:31:28
I can't afford having unallocated space at my setup, not so much space at all.

酒
19.02.2017
16:32:57

Juan-Luis
19.02.2017
16:33:17
can you copy your full cmdline?
or send a photo if you rather

酒
19.02.2017
16:35:57
lvresize -resizefs -size 7.5t /dev/mapper/fedora-home

Juan-Luis
19.02.2017
16:36:12
it's 2 - -

酒
19.02.2017
16:36:14
lvresize: invalid option -- 'e'
Error during parsing of command line

Gwindor
19.02.2017
16:36:20

Juan-Luis
19.02.2017
16:36:36
right, for some reason telegram substitutes it for me

Gwindor
19.02.2017
16:36:45

Juan-Luis
19.02.2017
16:36:50
yes

Gwindor
19.02.2017
16:37:06
happens

Juan-Luis
19.02.2017
16:37:39

Gwindor
19.02.2017
16:37:47
Right now at least
Turned PC and laptop off already, only servers are online

Juan-Luis
19.02.2017
16:42:27
Once the resize is done (and thinking about it, over 7 T should take a while)
extend the fedora root
so something like lvextend - -resizefs - -size 70g /dev/mapper/fedora-root
should do it

酒
19.02.2017
16:44:20
w8… can I extend it to 200g?