From: Christian (chth_at_gmx.net)
Date: Thu 30 Jan 2003 - 11:06:49 GMT
On Thu, 30 Jan 2003 09:25:25 +0100
Marcin Suchożebrski <marcins_at_wdc.pl> wrote:
> Hello,
>
> Have anyone tried to mount vhost through loop image?
>
> I have 18GB SCSI disk and made 6*2GB files (dd if=/dev/zero
> of=/TEST.filesystem bs=1024k count=2048)
> then made ext3 filesystem on them (mkfs.ext3 /TEST.filesystem), then
> mounted via loop device (mount -o loop /TEST.filesystem /vservers/01)
> and then installed debian scrap with little changed Mark Lawrence's
> script (sh ch_newvserver 01 mydomain.pl 172.16.1.101).
>
> Works very good. Performance is good. Flexibility is excellent.
>
> What kind of "bad things" i can expect with this kind of filesystems and
> vhosts?
loop devices are very lazy synced with the real disk files, so performance
might look good at a first view .. but if the system crashes or on a power
outage u will certainly loose data and maybe ur filesystem will be
corrupted, even ext3 logging wont help much with that.
>
> --
> Regards,
> Marcin Suchożebrski
>