Re: Subvolumes and isolation

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

 



On Mon, 14 Apr 2014 11:50:19 +0000, Duncan wrote:

> Holger Hoffstätte posted on Mon, 14 Apr 2014 10:38:45 +0000 as excerpted:
> 
>> So I'm happily using subvolumes and snapshots and was wondering about
>> subvolume low-level isolation. Assuming metadata=single, would a corrupt
>> metadata block in one subvolume's directory tree affect any other
>> subvolumes on the same physical partition, or would the fallout from
>> this bad block be contained?
> 
> This isn't an authoritative answer, but AFAIK, chunks are /not/ subvolume-
> dedicated.  In fact, on the wiki, the sysadmin's guide page defines a 
> snapshot as simply a subvolume that shares its data and metadata with 
> some other subvolume, using btrfs' COW capabilities.  Obviously that 
> would be rather difficult if subvolumes get dedicated data and metadata 
> chunks, so...

Sure - I guess I should have stated that differently: I fully expect a
damaged subvolume to potentially have some effect on its snapshots,
and the same for data blocks (since they are single as well).

The situation is simple: I have the usual big backup drive attached to
my server with subvolumes for each individual machine, and snapshots that
are garbage-collected after a configurable amount of time since all machines
are wildly different in terms of size, change rate and backup retention.
Therefore subvolumes seemed the best compromise in terms of isolation &
easy restore while avoding the hassle of separate filesystems, partitions
etc.

Obviously this setup is not particularly resilient to catastrophic events
like complete drive death, but that's OK in my case.

Holger

--
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