Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet315/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   311   312   313   314   315   316   317   318   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 239 
]
With very large volumes, the resize may take some time to complete. If you don't see 
the additional space right away, you may see it gradually increase every few seconds 
until all the new space is completely allocated.
Removing volumes with LVM
Finally, you may be curious about how to remove a logical volume or volume group. 
For these purposes, you would use the 
lvremove
 or 
vgremove
 commands. It goes 
without saying that these commands are destructive, but they are useful in situations 
where you want to delete a logical volume or volume group. To remove a logical 
volume, the following syntax will do the trick:
sudo lvremove vg-test/myvol1
Basically, all you're doing is giving the 
lvremove
 command the name of your volume 
group, a forward slash, and then the name of the logical volume within that group 
that you would like to remove. To remove the entire volume group, the following 
command and syntax should be fairly self-explanatory:
sudo vgremove vg-test
You can only remove a logical volume if it's not in use, and this may not be 
something you'll do very often, but if you ever do need to decommission an LVM 
component, then there are commands that will enable you to do so.
Hopefully, you're convinced by now how awesome LVM is. It allows you flexibility 
over your server's storage that other platforms can only dream of. The flexibility 
of LVM is one of the many reasons why Linux excels in the cloud market. These 
concepts can be difficult to grasp at first if you haven't worked with LVM before. 
But thanks to virtualization, playing around with LVM is easy. I recommend you 
practice creating, modifying, and destroying volume groups and logical volumes 
until you get the hang of it. If the concepts aren't clear now, they will be with 
practice.
In this section, you saw some ways in which LVM can benefit you; it allows you to 
take the storage of your server to the next level, even expanding it and growing it on 
demand. However, LVM also has additional tricks up its sleeve. It even allows you 
to create snapshots as well. We'll cover this useful ability next.


Managing Storage Volumes

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   311   312   313   314   315   316   317   318   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish