All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ragnar Kjørstad" <lvm@ragnark.vestdata.no>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] offtopic but ...
Date: Wed May  8 11:20:02 2002	[thread overview]
Message-ID: <20020508182151.I18743@vestdata.no> (raw)
In-Reply-To: <Pine.LNX.4.33.0205081533090.3518-100000@diablo.unixag-zw.fh-kl.de>; from jovi@unixag-zw.fh-kl.de on Wed, May 08, 2002 at 04:12:48PM +0200

On Wed, May 08, 2002 at 04:12:48PM +0200, Oliver Jovic wrote:
> 			   application
> 				|
> +----------------------------------------------------------------------
> |
> |			virtual device
> |
> +----------------------------------------------------------------------
>     |             |            |            |
> +----------+ +----------+ +----------+ +----------+
> |          | |          | |          | |          |
> | /dev/hda | | /dev/hdb | | /dev/hdc | | /dev/hdd |
> |   ext3   | | reiserfs | |   xfs    | |  ext2    |
> +----------- +----------+ +----------+ +----------+
>  index file == index file

There are many functions you loose if multiple seperate filesystems are
used. e.g:
what do you do when a file grow to no longer fit on it's original
disk? You can not easily move it (atomicly), and you can not
easily split it into multiple chunks.


If you don't need this functionality, the closest approximation to what
you want is a symlink-three.

Basicly you can create a very small filesystem with symlinks for each
and every file on your "virtual filesystem" (don't call it a virtual
device, because that's something different :) ). You can use raid to get
redundancy for the link-three, and as it is very small you don't loose a
lot of space.

You could extend this scheeme to implement a small kernel-module that
did :
* open("/mnt/hdX/file", O_CREATE)
* symlink("/mnt/hdX/file", "/mnt/virtual/file")
when your application does
* open("/mnt/virtual/file", O_CREATE)
to make it more seemless.


However, it's once you want it to be totally transparrent, and files to
migrate to the disk with more space that it gets complicated.



-- 
Ragnar Kjørstad
Big Storage

  reply	other threads:[~2002-05-08 11:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-08  0:03 [linux-lvm] VG wiederfinden Tim-Christian.Hanschen
2002-05-08  6:46 ` Heinz J . Mauelshagen
2002-05-08  7:44 ` [linux-lvm] offtopic but Oliver Jovic
2002-05-08  7:48   ` Tim
2002-05-08  8:11     ` Oliver Jovic
2002-05-08  8:23       ` Tim
2002-05-08  9:11         ` Oliver Jovic
2002-05-08 11:20           ` Ragnar Kjørstad [this message]
2002-05-10  8:46           ` Heinz J . Mauelshagen
2002-05-08  9:11   ` Christian Limpach
2002-05-08  9:27     ` Steven Lembark
2002-05-13  4:37       ` Harri Haataja
2002-05-13  4:42         ` Patrick Caulfield
2002-05-13  7:37           ` Tim
2002-05-13  9:39             ` Steven Lembark
2002-05-13 10:21               ` Benjamin Scott
2002-05-13 15:32                 ` Goetz Bock
2002-05-13 18:54                   ` Benjamin Scott
2002-05-14  7:17                     ` Goetz Bock
2002-05-14  7:46                       ` Steven Lembark
2002-05-14  8:08                         ` Benjamin Scott
2002-05-14  8:13                           ` Tim
2002-05-13  9:29         ` Steven Lembark
2002-05-13 10:19           ` Benjamin Scott
2002-05-13 10:30             ` Steven Lembark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020508182151.I18743@vestdata.no \
    --to=lvm@ragnark.vestdata.no \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.