From: "Oliver Večernik" <ov@vecernik.at>
To: helmut@hullen.de
Cc: linux-btrfs@vger.kernel.org
Subject: Re: migrating drives (device delete)
Date: Wed, 10 Nov 2010 13:15:51 +0100 [thread overview]
Message-ID: <1289391351.20690.46.camel@jeezo> (raw)
In-Reply-To: <B$bHV4Xy1uB@helmut.hullen.de>
Hallo Helmut,
> What tells "df": about 300 GByte in use?
# df -h | head -n 2
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 844G 293G 552G 35% /
# btrfs filesystem df /
Metadata: total=896.00MB, used=484.77MB
Data: total=291.50GB, used=291.15GB
System: total=12.00MB, used=28.00KB
> And I haven't told the system to make a "raid0". I've created the first
> btrfs partition only with
>
> mkfs.btrfs /dev/sdxn
I also just started with:
# mkfs.btrfs /dev/sda2
> And I haven't used "degraded" after balancing the 2 partitions.
# mount -o remount /dev/sdb2 /
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 844G 293G 552G 35% /
none 429M 200K 429M 1% /dev
none 435M 0 435M 0% /dev/shm
none 435M 48K 435M 1% /var/run
none 435M 0 435M 0% /var/lock
/dev/sdc1 2.0G 26M 1.9G 2% /boot
# btrfs device delete /dev/sda2 /
ERROR: error removing the device '/dev/sda2'
> The "balance" command may take a long time; I've just seen about 2 days
> for 1.5 TByte.
I balanced immediately after installing the server. It was less than
1GB and took just a couple of seconds.
The only idea I have now is to copy everthing to a new fs, chroot into
it and update-grub. Is this the best way to go?
--
Regards,
Oliver
next prev parent reply other threads:[~2010-11-10 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-10 11:04 migrating drives (device delete) Oliver Večernik
2010-11-10 11:31 ` Helmut Hullen
2010-11-10 12:15 ` Oliver Večernik [this message]
[not found] ` <20101110123403.GA11460@vlad.carfax.org.uk>
2010-11-10 14:40 ` Oliver Večernik
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=1289391351.20690.46.camel@jeezo \
--to=ov@vecernik.at \
--cc=helmut@hullen.de \
--cc=linux-btrfs@vger.kernel.org \
/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.