Editing
Extindere Disk
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Extindere lv_wiki_2 cu aprox 3GB ==== In VG vg_wiki au mai ramas nealocati aproximativ 3GB: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- --># vgs     VG #PV #LV #SN Attr VSize VFree     ......     vg_wiki 1 2 0 wz--n- <20.00g <span style="color:#f00">3.00g</span> </code> Acesti 3GB ii vom aloca catre lv_wiki_2 in totalitate: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- -->  # lvextend -l +100%FREE /dev/mapper/vg_wiki-lv_wiki_2     Size of logical volume vg_wiki/lv_wiki_2 changed from <4.00 GiB (1023 extents) to <7.00 GiB (1791 extents).     Logical volume vg_wiki/lv_wiki_2 successfully resized. </code> De aceasta data redimenionarea filesystem-ului nu a mai fost facuta in mod automat motiv pentru care acest lucru trebuie sa il facem manual: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- -->  # resize2fs /dev/mapper/vg_wiki-lv_wiki_2   resize2fs 1.47.0 (5-Feb-2023)   Filesystem at /dev/mapper/vg_wiki-lv_wiki_2 is mounted on /wiki/lv2; on-line resizing required   old_desc_blocks = 1, new_desc_blocks = 1   The filesystem on /dev/mapper/vg_wiki-lv_wiki_2 is now 1833984 (4k) blocks long. </code> Dupa redimenionarea filesystem-ului putem vedea extinderea si la nivel de mount: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- -->  # df -h /wiki/lv2/   Filesystem Size Used Avail Use% Mounted on   /dev/mapper/vg_wiki-lv_wiki_2 <span style="color:#f00">6.9G</span> 24K 6.5G 1% /wiki/lv2 </code>
Summary:
Please note that all contributions to Linux Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linux Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Aplicatii Linux
UrBackup
rSyslog
KeepAlived
DHCP
BIND DNS
USB over IP
Hardware Linux
Adaugare Disk
Extindere Disk
Docker
Instalare Docker CE
Portainer
Container UrBackup
Container PiHole
Snippets
History Command
Access Control List
Tools
What links here
Related changes
Special pages
Page information