Hi Dashamir,
The reassigning seemed to finally work using:
sudo lvresize -r -L-10G /dev/vg_system/skole+tjener+home0
sudo lvresize -r -L+10G /dev/vg_system/var
Then I'm getting the following output:
root@tjener:/skole/tjener/home0/roman# sudo vgdisplay
--- Volume group ---
VG Name
Hi Petter,
The following worked based on your suggestion:
sudo lvresize -r -L-10G /dev/vg_system/skole+tjener+home0
sudo lvresize -r -L+10G /dev/vg_system/var
I hope this was safe and nothing got lost on home0 ;)
Kind regards,
Roman
> On 02/03/2023 9:04 AM GMT Petter Reinholdtsen wrote:
>
>
On Fri, Feb 3, 2023 at 9:43 AM wrote:
>
> sudo lvextend -L+5G /dev/vg_system/var
> Insufficient free space: 1280 extents needed, but only 138 available
>
If you don't mind, can you share the output of the commands:
sudo vgdisplay
sudo lvdisplay
If you just say "it doesn't work", without
[Roman Meier]
> However, extending the size of /var didn't work:
>
> sudo lvextend -L+5G /dev/vg_system/var
> Insufficient free space: 1280 extents needed, but only 138 available
I would strongly recommend not using lvextend, and instead use lvresize
-r. I suspect the underlying LVM logical
Hi Petter,
I wrote the email a bit too hastily. Sorry for causing this confusion.
It's /var and not /dev.
Again, I was able to nicely reduce the size of /skole/jener/home0.
However, extending the size of /var didn't work:
sudo lvextend -L+5G /dev/vg_system/var
Insufficient free space: 1280
On Thu, Feb 2, 2023 at 9:30 PM wrote:
>
> As mentioned in my email, I was able to reduce the size of
> /skole/jener/home0. I therefore logged in als root and unmounted
> /skole/jener/home0.
>
This is usually done in two steps: first you resize (shrink) the
filesystem, then you resize (shrink)
[Roman Meier]
> As mentioned in my email, I was able to reduce the size of
> /skole/jener/home0. I therefore logged in als root and unmounted
> /skole/jener/home0.
OK, then I misunderstood. I read your email to say that you chould not
find a way to reduce the size.
> For unknown reasons this
Hi Petter,
Thanks for your fast reply!
As mentioned in my email, I was able to reduce the size of /skole/jener/home0.
I therefore logged in als root and unmounted /skole/jener/home0.
For unknown reasons this space is however not made available to be reassigned
to /dev resulting in the error
[Roman Meier]
> I have run out of storage on /var and I can't extend size because all
> on the harddrive has been used already.
>
> I have about 50G unused space on /skole/jener/home0 but I find it
> difficult to transfer storage from /skole/jener/home to /dev.
I normally boot in single user,
Hi folks,
I have run out of storage on /var and I can't extend size because all on the
harddrive has been used already.
I have about 50G unused space on /skole/jener/home0 but I find it difficult to
transfer storage from /skole/jener/home to /dev.
I was able to reduce storage of
10 matches
Mail list logo