From: Aleksey Utkin <aleksey.utkin@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Cannot mount hm-smr drive with btrfs
Date: Fri, 30 Jul 2021 16:30:56 +0300 [thread overview]
Message-ID: <66714993-3927-8fc7-585b-398b8e4dc655@gmail.com> (raw)
Hello.
I had a problem with the mounting of the BTRFS file system.
Test case description:
1. Operation: Creating btrfs: sudo mkfs.btrfs -O zoned -d single -m
single -f /dev/sdb
Result: The file system was created successfully
2. Operation: Mount new btrfs: sudo mount /dev/sdb /mnt/sdb
Result: Mounted successfully
3. Operation: Filling a file system data system (copy using MC)
Result: Filling a file system data has passed successfully, the data has
passed integrity control
4. Operation: Umount file system: sudo umount /mnt/sdb/
Result: Umounted successfully
5. Operation: Mount btrfs: sudo mount /dev/sdb /mnt/sdb
Result: Mounted successfully
6. Operation: rebooted the host with mounted file system BTRFS
Result: Reboot successfully
7. Operation: Checking the btrfs file system: sudo btrfs check /dev/sdb
Result: successfully, console output:
Opening filesystem to check...
Checking filesystem on /dev/sdb
UUID: 4312bf2a-376d-4a44-a69a-6bb112b124f6
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 17978056441856 bytes used, no error found
total csum bytes: 17534343280
total tree bytes: 22888923136
total fs tree bytes: 2191491072
total extent tree bytes: 2166554624
btree space waste bytes: 990047274
file data blocks allocated: 17955167518720
referenced 17955167518720
8. Operation: Attempt to mount 1: sudo mount /dev/sdb /mnt/sdb
Result: Mounted unsuccessful,
Console output: mount: /mnt/sdb: wrong fs type, bad option, bad
superblock on /dev/sdb, missing codepage or helper program, or other error.
9. Operation: Attempt to mount 2: sudo mount -t btrfs /dev/sdb /mnt/sdb
Result: unsuccessful, no messages, the HDD activity LED is glow, the
console frozen, ^C does not interrupt the mount operation, the sudo
reboot is not performed, the restart of Alt+PRTSCR+B is performed.
Version of the kernel:
$ uname -a
Linux x79zd3 5.14.0-051400rc2-generic #202107182230 SMP Sun Jul 18
22:34:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ btrfs --version
btrfs-progs v5.13
from https://github.com/kdave/btrfs-progs
$ btrfs fi show
nothing output
$ btrfs fi df /mnt/sdb
ERROR: not a btrfs filesystem: /mnt/sdb
Device:
$ sudo smartctl -i /dev/sdb
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.14.0-051400rc2-generic]
(local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: ST18000NM009J-2UW101
Serial Number: ZL2BH53L
LU WWN Device Id: 5 000c50 0c812bf64
Firmware Version: SE01
User Capacity: 18 000 207 937 536 bytes [18,0 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Jul 30 14:47:33 2021 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
# nc cwillu.com 10101 < /dev/kmsg
after operations 6,7,8,9 - http://cwillu.com:8080/128.0.141.47/2
$ sudo dmesg | nc termbin.com 9999
https://termbin.com/6g54
Best regards,
Aleksey Utkin
next reply other threads:[~2021-07-30 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 13:30 Aleksey Utkin [this message]
2021-08-09 9:35 ` Cannot mount hm-smr drive with btrfs Damien Le Moal
2021-08-09 9:54 ` Johannes Thumshirn
-- strict thread matches above, loose matches on Subject: below --
2021-07-30 13:19 Aleksey Utkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66714993-3927-8fc7-585b-398b8e4dc655@gmail.com \
--to=aleksey.utkin@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).