On 08/18/2016 05:06 AM, Peter Humphrey wrote:
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.
Did you see the doc::
NVMeSSD_User_Installation_Guide_whitepaper-0.pdf
That's some fancy piece of hardware, that says it requires special drivers::
Chipset Intel 5520 or later generation chipset
Slots
• Require PCIe Gen3 x4 link width slot (For Max Performance)
• Support PCIe Gen1/Gen2 slot
The following operating systems are supported, with some requiring
additional drivers:
• Windows Server® 2008R2 (64bit)
• Windows Server 2012/2012 R2 (64bit)
• Windows 7, 8, 8.1 (32/64bit)
• Red Hat® Enterprise Linux (RHEL) 7.0 (64bit)
• Red Hat Enterprise Linux (RHEL) 6.4/6.5 (64bit)
• SUSE® Linux Enterprise (SLES) 11SP3 (64bit)
• Ubuntu® 12.04.02 LTS Server (64bit)
• Ubuntu® 12.04.04 LTS Server (64bit)
• Solaris 11 SP2 (64bit)
Installing the Driver on a Linux System
RHEL 6.4 / 6.5 64bit
1. Turn the power on and log on to the system with the admin account.
2. Copy the driver file package to the installation folder.
3. Install the rpm with the command below. After installing, the NVMe
driver will automatically load when the system is booted.
# rpm --ivh nvme-kmp-default-1.17_3.0.76_0.11-0.x86.64.rpm
(The file name could change depending on the driver version.)
4. To upgrade from v1.9, execute the following command:
# rpm --Uvh nvme-kmp-default-1.17_3.0.76_0.11-0.x86.64.rpm
5. To uninstall the package, execute the following command:
# rpm --e nvme-kmp-default-1.17_3.0.76_0.11-0.x86.64.rpm
Verifying the Installation of the software package in the Linux System
1. Turn the system power on, and then start the terminal window.
2. Run “Modinfo mtip32xx.” If the NVMe driver has been installed
successfully, the version and module information are shown.
3. Run “fdisk –l | grep rssd*”; the NVMe SSD is shown as
“/dev/rssd<x>drive”.
Starting Re-Drive and Checking the NVMe SSD State
1. Click the “Identify” tab and Name Space Button.
2. The NVMe SSD information is displayed.
Using the NVMe SSD as a boot Drive (etc etc etc)
You might have to go digging around the kernel modules to find drivers,
specs and such...
good_hunting::hth,
James