Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet281/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   277   278   279   280   281   282   283   284   ...   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)

[
 212 
]
Next, the device name can be found with the 
fdisk -l
 command. The 
fdisk
 
command is normally used for creating and deleting partitions, but it will also allow 
us to determine which device name our new disk received. Using the 
fdisk -l
 
command will give you the info, but you'll need to run it as 
root
 or with 
sudo
:
sudo fdisk -l
Executing this command produces the following output:
Figure 9.1: Output of the fdisk -l command
I always recommend running 
fdisk -l
 
before and after 
attaching a new device. That 
way, it will be more obvious which device name represents the new device.
Another trick is to use the following command, with which the output will update 
automatically as you add the disk:
dmesg --follow
Just start the command, attach the disk, and watch the output. When done, press 
Ctrl
 

c
 on your keyboard to return back to the prompt.
You can also find the device name of your new disk with the 
lsblk
 command. One 
benefit of 
lsblk
 is that you don't need 
root
 privileges and the information it returns 
is simplified:


Chapter 9

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   277   278   279   280   281   282   283   284   ...   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