ΠΡΠΈ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΠΈ Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π΄ΠΈΡΠΊΠ° Ρ Π²ΠΈΠΆΡ Π΅Π³ΠΎ Π² Π²ΡΠ²ΠΎΠ΄Π΅, ΡΡΠΎ sdb:
lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT fd0 sda ββsda1 ββsda2 ext4 f0ea8e71-46b3-4b16-be45-882ccaa3e800 /boot ββsda3 LVM2_member URK7Du-7SnV-9See-mSwd-JSVr-B485-U33YEw ββbootdg-root ext4 01de731b-1d9b-4f44-89c3-6e03e36fc148 / ββbootdg-swap swap 495a84f1-0cfb-40af-bbf3-ec41eac1719f [SWAP] sdb sr0
Π’Π΅ΠΏΠ΅ΡΡ Π»ΠΎΠ³ΠΈΡΠ½ΠΎ Π±ΡΠ΄Π΅Ρ ΠΏΡΠΈΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°ΡΡ Π΅Π³ΠΎ:
mount /dev/sdb /media/backup
ΠΠ΄Π½Π°ΠΊΠΎ Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» ΠΎΡΠΈΠ±ΠΊΡ?
mount: /dev/sdb is write-protected, mounting read-only mount: unknown filesystem type '(null)'
Π’Π°ΠΊΠΆΠ΅ Ρ ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°Π» ΡΠ»ΡΠ΄ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ:
# mount /dev/sdb /media/backup -t auto
mount: you must specify the filesystem type
# mount /dev/sdb1 /mydisk/ -t ntfs
mount: unknown filesystem type 'ntfs'
ΠΈ Ρ ext4.
# mount /dev/sdb /media/backup -t ext4 mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.
Π Π΅ΡΠ΅Π½ΠΈΠ΅
ΠΠ°ΠΏΡΡΡΠΈΡΠ΅:
mkfs.ext4 /dev/sdb 2>/dev/null /dev/sdb is entire device, not just one partition! Proceed anyway? (y,n)
ΠΠ°Π»Π΅Π΅ Π½Π°ΠΆΠΌΠΈΡΠ΅ y
mkfs.ext4 /dev/sdb 2>/dev/null /dev/sdb is entire device, not just one partition! Proceed anyway? (y,n) y Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 655360 inodes, 2621440 blocks 131072 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=2151677952 80 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
Π’Π΅ΠΏΠ΅ΡΡ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎ Π²ΡΠΏΠΎΠ»Π½ΠΈΡΡ ΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π΄ΠΈΡΠΊΠ°.
mount /dev/sdb /media/backup
2 ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΡ
ΡΠΏΠ°ΡΠΈΠ±ΠΎ ΡΠ΅Π±Π΅ -Π΄ΠΎΠ±ΡΡΠΉ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊ π
Π·Π°Π½Π΅ΡΡ Π² ΡΠΏΠ°ΡΠ³Π°Π»ΠΊΡ, Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π»ΠΎ
ΠΡΠ΅Π³Π΄Π° ΡΠ°Π΄Ρ ΠΏΠΎΠΌΠΎΡΡ!