All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maria <maria@ponstudios.se>
To: v.tolstov@selfip.ru
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs using inside xen domU and online resizing
Date: Thu, 06 Jan 2011 18:26:48 +0100	[thread overview]
Message-ID: <1294334808.9526.95.camel@mainframe> (raw)
In-Reply-To: <1294276200.26566.14.camel@mobile>

tor 2011-01-06 klockan 04:10 +0300 skrev Vasiliy G Tolstov:
> Hello. I have two questions:
> 
> 1) When btrfs can be used in systems, that can be rebooted unexpectedly?
> btrfs fsck is ready to use? does after power failure or hard reboot file
> system can be damaged and can't be corrected?
If you turn of the write-cache of the underlying disks, btrfs should
survive it. I have btrfs on top of dm-crypt and no write-cache, and it
has survived all crashes so far. But you never know, so I backupp
regularly. Fsck is not ready yet.


> 2) When i use xen domU virtual machine a can dynamically change capacity
> of block device (/dev/xvda for example) it can be grows and shrinks.  Is
> that possible to use one btrfs file system on all device without
> partition table ? In current implementation (i'm use ext3). After block
> device change it size, i need to recreate partition table and do
> resize2fs.  But in case of root fs i need reboot to update partition
> table, because file system is in use. If linux can boot from plain btrfs
> device without partition table , as i think - i can resize block device
> and do mount -o remount,maxsize /dev/xvda and btrfs resized
> automatic... 
> Is that possible?
Why not use LVM?
If you do not have a partition table (or only one partition) you can
only have one file system on the disk, so why not use the entire disk in
the first place?

// Maria

> Thank You for all suggestions and answers.



      reply	other threads:[~2011-01-06 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  1:10 btrfs using inside xen domU and online resizing Vasiliy G Tolstov
2011-01-06 17:26 ` Maria [this message]

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=1294334808.9526.95.camel@mainframe \
    --to=maria@ponstudios.se \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=v.tolstov@selfip.ru \
    /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.