Birmingham mumbai


Adding to the /etc/fstab file



Download 15,21 Mb.
Pdf ko'rish
bet299/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   295   296   297   298   299   300   301   302   ...   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)

Adding to the /etc/fstab file
To add another volume to the 
fstab
 file, we first need to know the 
UUID
 of the 
volume we would like to add (assuming it's a hard disk or virtual disk). Again, we 
do that with the 
blkid
 command:
blkid /dev/sdb1
Notice that I used the device name of 
/dev/sdb1
 as an argument. This is because I 
want to specifically fetch the UUID of the new device we added. The output of that 
command will give us the UUID of that device, so it can be added to the 
/etc/fstab
 
file. Copy that down somewhere, as we'll need it shortly. Next, we need to know 
where we want to mount the volume. Go ahead and create the directory now, or use 
an existing directory if you wish. For example, you could create the directory 
/mnt/
extra_storage
 for this purpose:
sudo mkdir /mnt/extra_storage
At this point, we should have all we need in order to add a new entry to 
fstab
. To do 
so, we'll need to open the file in a text editor and then create a new line after all the 
others. If you don't have a preferred editor, you can use the 
nano
 editor:
sudo nano /etc/fstab


Managing Storage Volumes

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   295   296   297   298   299   300   301   302   ...   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