On 21 March 2012 00:16, Andrea Gelmini <andrea.gelmini@xxxxxxxxx> wrote:
> 2012/3/20 Daniel J Blueman <daniel@xxxxxxxxx>:
>> mkfs.btrfs -m raid0 -d raid0 /dev/sdb1 /dev/sdc1
>> mount /dev/sdb1 /mnt
>> umount /mnt
>> mount /dev/sdb1 /mnt -o compress
>> umount /mnt
>> mount /dev/sdb1 /mnt -o ssd
>> umount /mnt
>> mount /dev/sdb1 /mnt -o discard
>> umount /mnt
>> mount /dev/sdb1 /mnt
>> <mount failure>
>
> Well, I can't reproduce this. It's also true that I use some
> out-of-the-tree patches.
> I wrote this each step. They must be in a script?
I can reproduce this booting with the ubuntu 3.3 mainline kernel with
eg 'ramdisk_size=2048000' and then:
# mkfs.btrfs -m raid0 -d raid0 /dev/ram0 /dev/ram1
# mount /dev/ram0 /mnt
# umount /mnt
# mount /dev/ram0 /mnt -o compress
# umount /mnt
# mount /dev/ram0 /mnt -o ssd
# umount /mnt
# mount /dev/ram0 /mnt -o discard
# umount /mnt
# mount /dev/ram0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/ram0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Thanks,
Daniel
--
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html