Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695924

Re: bcache with existing ext4 filesystem

From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: bcache with existing ext4 filesystem
Date 2017-07-25 18:20 +0200
Message-ID <u7aIV-539-5@gated-at.bofh.it> (permalink)
References (4 earlier) <u6RPY-1lt-7@gated-at.bofh.it> <u706S-6JM-13@gated-at.bofh.it> <u71Pj-7Qu-1@gated-at.bofh.it> <u75SW-20T-15@gated-at.bofh.it> <u762B-25M-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 25, 2017 at 01:12:10PM +0200, Pavel Machek wrote:
> 
> Well... if I move the partition, grub2 (etc) will be unable to access
> data on it. (Plus I do not have free space before some of the
> partitions I'd like to be cached).

Both Grub and Linux's implementation of ext4 expect the superblock to
be at offset 1024 bytes from the beginning of the block device.

From looking at Documentation/bcache.txt, the problem is that bcache
works much like LVM or device mapper.  That is, you have to create the
file system on /dev/bcacheN.  That simplies that grub needs to
understand bcache, which as far as I understand, it doesn't today.

      	     	  	      	 	 - Ted

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-24 21:00 +0200
  Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-24 21:20 +0200
    Re: bcache with existing ext4 filesystem Theodore Ts'o <tytso@mit.edu> - 2017-07-24 21:30 +0200
      Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-24 22:10 +0200
        Re: bcache with existing ext4 filesystem Theodore Ts'o <tytso@mit.edu> - 2017-07-25 07:00 +0200
          Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-25 08:50 +0200
            Re: bcache with existing ext4 filesystem Vojtech Pavlik <vojtech@ucw.cz> - 2017-07-25 13:10 +0200
              Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-25 13:20 +0200
                Re: bcache with existing ext4 filesystem Theodore Ts'o <tytso@mit.edu> - 2017-07-25 18:20 +0200
                Re: bcache with existing ext4 filesystem Eric Wheeler <bcache@lists.ewheeler.net> - 2017-07-25 20:20 +0200
                Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-26 00:10 +0200
                Re: bcache with existing ext4 filesystem Eric Wheeler <bcache@lists.ewheeler.net> - 2017-07-26 19:50 +0200
                Re: bcache with existing ext4 filesystem "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-07-26 21:10 +0200
                Re: bcache with existing ext4 filesystem Eric Wheeler <bcache@lists.ewheeler.net> - 2017-07-26 21:20 +0200
                Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-26 22:10 +0200
          Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-25 15:50 +0200
            Re: bcache with existing ext4 filesystem Theodore Ts'o <tytso@mit.edu> - 2017-07-25 20:10 +0200
              Re: bcache with existing ext4 filesystem Pavel Machek <pavel@ucw.cz> - 2017-07-25 23:00 +0200
  Re: bcache with existing ext4 filesystem Reindl Harald <h.reindl@thelounge.net> - 2017-07-24 21:30 +0200

csiph-web