1 |
On Thu, Aug 18, 2016 at 8:57 AM, J. Roeleveld <joost@××××××××.org> wrote: |
2 |
> On Wednesday, August 17, 2016 11:26:13 PM Neil Bothwick wrote: |
3 |
>> I'm putting together a new desktop using a Samsung SM951 NVMe drive. I |
4 |
>> booted sysrescd, partitioned the drive and ran |
5 |
>> |
6 |
>> mkfs.btrfs /dev/nvme0n1p3 |
7 |
>> mount /dev/nvme0n1p3 /mnt/custom |
8 |
>> |
9 |
>> df -T, mount and findmnt all show this is mounted as a btrfs filesystem, |
10 |
>> e.g. |
11 |
>> |
12 |
>> /dev/nvme0n1p3 on /mnt/custom type btrfs (rw,relatime,ssd,space_cache) |
13 |
>> |
14 |
>> I can create files in here but cannot do anything btrfs-y |
15 |
>> |
16 |
>> % btrfs filesystem show /mnt/custom |
17 |
>> ERROR: not a valid btrfs filesystem: /mnt/custom |
18 |
>> |
19 |
>> % btrfs subvolume create /mnt/custom/test |
20 |
>> Create subvolume '/mnt/custom/test' |
21 |
>> ERROR: cannot create subvolume: Inappropriate ioctl for device |
22 |
>> |
23 |
>> Google has been no help at all. |
24 |
> |
25 |
> I've got a similar drive in my desktop and it actually works. |
26 |
> Difference: I am using Ext4. |
27 |
> |
28 |
> Can you try Ext4 and see if it works? |
29 |
> Next test: Does it work with a non-NVMe drive? |
30 |
> |
31 |
> Also, which kernel version? |
32 |
|
33 |
I think you guys are going down the wrong road. The kernel drivers |
34 |
are almost certainly working for the drive, otherwise the filesystem |
35 |
wouldn't work at all, and I'm sure a million ext4 users would have |
36 |
noticed a problem by now. |
37 |
|
38 |
This is almost certainly a bug in btrfs-progs, or maybe the btrfs |
39 |
filesystem driver in the kernel. |
40 |
|
41 |
I'd suggest raising this on the btrfs mailing list, where it is going |
42 |
to get a lot more attention from the people who develop btrfs. There |
43 |
are a few of us who use it around here, but I'd have to spend a day |
44 |
tweaking the btrfs-progs source to have a guess at where this is |
45 |
bailing out. I suspect somebody over there would have an answer |
46 |
almost immediately. |
47 |
|
48 |
-- |
49 |
Rich |