πŸ› οΈ РСшСниС ошибки mount: /dev/sdb is write-protected, mounting read-onlymount: unknown filesystem type ‘(null)’

by itisgood

ΠŸΡ€ΠΈ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠΈ Π²ΠΈΡ€Ρ‚ΡƒΠ°Π»ΡŒΠ½ΠΎΠ³ΠΎ диска я Π²ΠΈΠΆΡƒ Π΅Π³ΠΎ Π² Π²Ρ‹Π²ΠΎΠ΄Π΅, это 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

 

You may also like

2 коммСнтария

Абвгд 02.11.2021 - 13:28

спасибо Ρ‚Π΅Π±Π΅ -Π΄ΠΎΠ±Ρ€Ρ‹ΠΉ Ρ‡Π΅Π»ΠΎΠ²Π΅ΠΊ πŸ™‚
занСсу Π² ΡˆΠΏΠ°Ρ€Π³Π°Π»ΠΊΡƒ, Π΄Π΅ΠΉΡΡ‚Π²ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π»ΠΎ

Reply
itisgood 02.11.2021 - 14:58

ВсСгда Ρ€Π°Π΄Ρ‹ ΠΏΠΎΠΌΠΎΡ‡ΡŒ!

Reply

Leave a Comment