linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* System locks up when executing make-bcache -C on an LVM logical volume
@ 2015-01-24 17:05 Steven Flintham
  0 siblings, 0 replies; only message in thread
From: Steven Flintham @ 2015-01-24 17:05 UTC (permalink / raw)
  To: linux-bcache

Hi,

I have a small SSD in my Ubuntu 14.04 system which is mostly allocated 
to an LVM physical volume. I had 25GB free on that physical volume so I 
thought I'd try using it as a bcache cache for my HDD. I create a new 
LVM logical volume, which left things looking like this:

# pvs
   PV         VG   Fmt  Attr PSize  PFree
   /dev/sda2  VG4  lvm2 a--  53.57g    0
   /dev/sdb2  VG6  lvm2 a--   2.69t    0
# lvs
   LV      VG   Attr      LSize  Pool Origin Data%  Move Log Copy% Convert
   VG4-usr VG4  -wi-ao--  19.31g
   VG4-var VG4  -wi-ao---  9.31g
   bcache  VG4  -wi-ao--- 24.95g
   home    VG6  -wi-ao---  2.69t

I then did:

# make-bcache -C /dev/mapper/VG4-bcache

The system immediately locked up completely. (So the above is a 
reconstruction, I don't have the actual command I executed any more, 
although I am 99% certain that's exactly the command executed.)

The system came up OK again after hitting the reset button.

I don't know if this counts as a bug or if it's just a "don't do that, 
then" situation, but a) is this a supported use case? b) if it's not, 
would there be any possibility of make-bcache giving an error instead of 
causing a lock up?

Kernel version as reported by uname -a is:
Linux riemann 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

I am using the bcache-tools 1.0.8-1 package from the ppa:g2p/storage 
Ubuntu PPA repository.

If you would like any further information please let me know.

Cheers.

Steve

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-24 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-24 17:05 System locks up when executing make-bcache -C on an LVM logical volume Steven Flintham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).