use*_*713 5 server filesystem storage
我想在要用于备份的计算机上使用 Ubuntu Server。如果将来需要,我希望能够添加额外的磁盘空间。基本上,我喜欢 Drobo 的功能,但是,我不喜欢它使用专有文件系统。这意味着如果它坏了,我完全依赖它们。
所以我研究了 RAID 5 + LVM 的 mdadm。但是,如果新磁盘大于旧磁盘,则不会使用所有磁盘空间。(快照的 LVM)我认为 ZFS 可以做到这一点,但是,Linux 不支持。BtrFS 有点太年轻,无法信任我的文件,毕竟它是我的备份,我希望那里的东西是安全的。
我想要一台 ubuntu 机器而不是 NAS 的另一个原因是我还想在它上面运行其他东西,比如 Django、mythtv 后端和邮件服务器。
那么,如果我希望我的文件以冗余方式存储,并且能够拍摄这些备份的快照,我有哪些选择?
我仍处于研究阶段,所以我愿意接受建议。:)
MD 有一种container
模式,即“RAID of RAID”。当您添加\n更多磁盘时,根据它们是否适合现有的 raidset,\n您可以创建一个新的 raidset 并将其添加到容器中。我敢打赌 drobo 也会做同样的事情。
从手册页。
\n\n CONTAINER is different again. A CONTAINER is a collection of devices\n that are managed as a set. This is similar to the set of devices con\xe2\x80\x90\n nected to a hardware RAID controller. The set of devices may contain a\n number of different RAID arrays each utilising some (or all) of the\n blocks from a number of the devices in the set. For example, two\n devices in a 5-device set might form a RAID1 using the whole devices.\n The remaining three might have a RAID5 over the first half of each\n device, and a RAID0 over the second half.\n\n With a CONTAINER, there is one set of metadata that describes all of\n the arrays in the container. So when mdadm creates a CONTAINER device,\n the device just represents the metadata. Other normal arrays (RAID1\n etc) can be created inside the container.\n
Run Code Online (Sandbox Code Playgroud)\n\n您还可以将 RAID 1 MD 阵列转换为 RAID 5。请参阅,
\n\nhttp://blog.serverhorror.com/2011/01/27/migration-raid-levels-in-linux-with-mdadm/
\n\n进行实验并让我们知道结果如何。
\n