Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet293/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   289   290   291   292   293   294   295   296   ...   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)

[
 222 
]
In that example, I used the 
-t
 option along with the type of filesystem I formatted 
the device with. In the first example, I didn't. This is because, in most cases, the 
mount
 command is able to determine which type of filesystem the device uses and 
adjust itself accordingly. Thus, most of the time, you won't need the 
-t
 option. In the 
past, you almost always needed it, but it's easier nowadays. The reason I bring this 
up is that if you ever see an error when trying to mount a filesystem that indicates 
an invalid filesystem type, you may have to specify this. Feel free to check the man 
pages for the 
mount
 command for more information regarding the different types of 
options you can use.
When you are finished using a volume, you can unmount it with the 
umount
 
command (the missing 
n
 in the word 
unmount
 is intentional):
sudo umount /mnt/vol1
The 
umount
 command, which also needs to be run as 
root
 or with 
sudo
, allows you 
to disconnect a storage device from your filesystem. In order for this command to 
be successful, the volume should not be in use. If it is, you may receive a device or 
resource busy error message. If you execute 
df -h
 after unmounting, you should see 
that the filesystem is missing from the output, and thus isn't mounted anymore.
The downside to manually mounting devices is that they will not automatically 
remount themselves the next time your server boots. In order to make the mount 
automatically come up when the system is started, you'll need to edit the 
/etc/fstab
 
file, which I'll walk you through in the next section.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   289   290   291   292   293   294   295   296   ...   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