mkfs.btrfs allow to set the sectorsize by the -s option but the kernel doesnot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,


  mkfs.btrfs allows to set the sectorsize by the -s option.


  mkfs.btrfs -s 8192 /dev/loop0

  Then when I do mount, I got these messages:

  [13912.224463] btrfs: Incompatible sector size(8192) found on loop0
  [13912.224660] btrfs: open_ctree failed


  The related codes in the kernel fs/btrfs/disk-io.c!2366


2366        if (sectorsize != PAGE_SIZE) {
2367                printk(KERN_WARNING "btrfs: Incompatible sector
size(%lu) "
2368                       "found on %s\n", (unsigned long)sectorsize,
sb->s_id);
2369                goto fail_sb_buffer;
2370        }


So the actually reason is?




Thanks.
-Rock
--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux