On Thursday 18 Aug 2016 15:56:50 Adam Carter wrote: > On Thu, Aug 18, 2016 at 8:26 AM, Neil Bothwick <n...@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
I don't have Neil's e-mail here - another KMail problem? Neil, have you tried inspecting your drive with sys-apps/nvme-cli? I don't have any experience to relate as I haven't worked out how to use it yet, but it may help you. -- Rgds Peter