From: Adam Carter <adamcarter3@gmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Can't create valid btrfs on NVMe
Date: Thu, 18 Aug 2016 15:56:50 +1000 [thread overview]
Message-ID: <CAC=wYCG3pUqTBwcLf0H-VrdVGQ=GYqG+7MH0jj-9pSMa35Vagg@mail.gmail.com> (raw)
In-Reply-To: <20160817232613.47d780b3@digimed.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
On Thu, Aug 18, 2016 at 8:26 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> I'm putting together a new desktop using a Samsung SM951 NVMe drive. I
> booted sysrescd, partitioned the drive and ran
>
> mkfs.btrfs /dev/nvme0n1p3
> mount /dev/nvme0n1p3 /mnt/custom
>
> df -T, mount and findmnt all show this is mounted as a btrfs filesystem,
> e.g.
>
> /dev/nvme0n1p3 on /mnt/custom type btrfs (rw,relatime,ssd,space_cache)
>
> I can create files in here but cannot do anything btrfs-y
>
> % btrfs filesystem show /mnt/custom
> ERROR: not a valid btrfs filesystem: /mnt/custom
>
> % btrfs subvolume create /mnt/custom/test
> Create subvolume '/mnt/custom/test'
> ERROR: cannot create subvolume: Inappropriate ioctl for device
>
> Google has been no help at all.
>
>
I'm assuming tools are expecting SATA (or SCSI) and need an update or
alternative for nvm;
# hdparm -i /dev/nvme0n1
/dev/nvme0n1:
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
Maybe SCSI emulation could work around it?
CONFIG_BLK_DEV_NVME_SCSI
[-- Attachment #2: Type: text/html, Size: 1592 bytes --]
next prev parent reply other threads:[~2016-08-18 5:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 22:26 [gentoo-user] Can't create valid btrfs on NVMe Neil Bothwick
2016-08-18 5:56 ` Adam Carter [this message]
2016-08-18 9:06 ` Peter Humphrey
2016-08-18 10:49 ` james
2016-08-18 12:57 ` J. Roeleveld
2016-08-18 13:38 ` Rich Freeman
2016-08-18 13:47 ` Neil Bothwick
2016-09-02 1:07 ` [gentoo-user] " Kai Krakow
2016-09-02 9:03 ` Neil Bothwick
2016-08-18 13:45 ` [gentoo-user] " Neil Bothwick
2016-08-18 14:15 ` Rich Freeman
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='CAC=wYCG3pUqTBwcLf0H-VrdVGQ=GYqG+7MH0jj-9pSMa35Vagg@mail.gmail.com' \
--to=adamcarter3@gmail.com \
--cc=gentoo-user@lists.gentoo.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