Re: mkfs.btrfs doesn't detect SSD

2015-11-09 Thread Austin S Hemmelgarn
On 2015-11-07 10:30, Christoph Anton Mitterer wrote: Hmm in fact it seems to be the kernel who wrongly, detects the type: /sys/block/sdb/queue/rotational = 1 or more like the USB/SATA bridge simply reports it wrong. Anyway, is there a way to override? Or will setting

mkfs.btrfs doesn't detect SSD

2015-11-07 Thread Christoph Anton Mitterer
Hey. I'm creating a filesystem on Samsung Evo 850 Pro on top of a dm- crypt/LUKS container (with TRIM not being passed on, for the usual security reasons): # mkfs.btrfs --label system /dev/mapper/system btrfs-progs v4.2.2 See http://btrfs.wiki.kernel.org for more information. Label: 

Re: mkfs.btrfs doesn't detect SSD

2015-11-07 Thread Chris Murphy
On Sat, Nov 7, 2015 at 4:05 PM, Christoph Anton Mitterer wrote: > Hey. > > I'm creating a filesystem on Samsung Evo 850 Pro on top of a dm- > crypt/LUKS container (with TRIM not being passed on, for the usual > security reasons): > # mkfs.btrfs --label system

Re: mkfs.btrfs doesn't detect SSD

2015-11-07 Thread Christoph Anton Mitterer
Hmm in fact it seems to be the kernel who wrongly, detects the type: /sys/block/sdb/queue/rotational = 1 or more like the USB/SATA bridge simply reports it wrong. Anyway, is there a way to override? Or will setting /sys/block/sdb/queue/rotational = 0 give the expected behaviour? Thanks, Chris.