Posso usar o bcache sem perder nenhum dado primeiro?

2

Minha caixa do Ubuntu 17.04 (64 bits) tem:

  • 1 x SSD (usado para o sistema operacional)
  • 2 x HDD (usado para dados, como /home e backups, etc.)
  • 8 GB de RAM

Se eu reduzir meu SSD e criar uma partição vazia para armazenar em cache meu (s) HDD (s), é possível configurar o bcache sem perder nenhum dado existente primeiro?

A seção FAQ do bcache website diz que é possível, mas não demonstra como.

Can I use bcache with an existing device, without reformatting?

There is a conversion step, which can often be done in place. The extra step comes from the need for a bcache specific superblock on the backing device - so that bcache can keep the devices in sync and so you can't accidentally mount and use the backing device without going through the bcache driver. Without any such superblock, you could accidentally use your device in non bcache mode making the cache invalid/corrupt without bcache knowing about it (if you were using bcache in writethrough mode) - or worse, if you were using it in writeback mode the filesystem on the backing device would appear to be completely corrupted.

Os tutoriais a seguir exigem a reformatação de todas as unidades envolvidas primeiro:

por charlie 21.09.2017 / 22:06

0 respostas