From: Hubert Kario <hka@qbs.com.pl>
To: CACook@quantum-sci.com
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Adding a disk fails
Date: Fri, 21 Jan 2011 11:41:17 +0100 [thread overview]
Message-ID: <201101211141.17846.hka@qbs.com.pl> (raw)
In-Reply-To: <201101210216.49389.CACook@quantum-sci.com>
On Friday, January 21, 2011 11:16:49 CACook@quantum-sci.com wrote:
> On Thu 20 January 2011 22:55:54 Hubert Kario wrote:
> > You still have a btrfs on /dev/sdc, do a
> > dd if=3D/dev/zero of=3D/dev/sdc bs=3D8192
> > (overkill, but I don't remember which blocks have to be zeroed to d=
estroy
> > btrfs superblock)
>=20
> I gave up and started over. Maybe it should be clarified in the wiki=
that
> no mkfs should be done on additional volumes, as it's counterintuitiv=
e to
> some.
>=20
> > yes. rc.local is too late, unless you will also mount the volume fr=
om
> > there and not using /etc/fstab
>=20
> How and when then?
in, or before /etc/rcS.d/S35mountall.sh
>=20
> > That depends - it has to be done before mounting. And if the device=
is
> > part of the boot partition then you may put the "scan" command into=
an
> > init-ramdisk.
>=20
> This does not seem to have been sent to the listserv, as I only got i=
t in a
> reply. This is likely incomplete.
It was sent to list, your MUA may have merged messages with identical M=
essage-
ID.
>=20
> > Using something like "device=3D/dev/sdb,device=3D/dev/sdc" on fstab=
mount
> > options should also work.
>=20
> You mean as a substitute for a scan?
Would seem so, but I haven't tried this
>=20
> On my other server the btrfs array seems to mount just fine without a=
ny
> measures to scan. I don't understand this, nor why no specific advi=
ce is
> given about scanning on boot in the wiki.
your distro may have alredy put it in initrd or initramfs (for example =
fedora=20
and archlinux do)
--=20
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawer=F3w 30/85
tel. +48 (22) 646-61-51, 646-74-24
www.qbs.com.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-21 10:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 21:18 Adding a disk fails Carl Cook
2011-01-20 22:13 ` Goffredo Baroncelli
2011-01-20 23:10 ` Carl Cook
2011-01-21 6:55 ` Hubert Kario
2011-01-21 10:16 ` CACook
2011-01-21 10:41 ` Hubert Kario [this message]
2011-01-21 7:00 ` Helmut Hullen
2011-01-21 8:00 ` Fajar A. Nugraha
2011-01-21 18:42 ` Goffredo Baroncelli
2011-01-21 19:16 ` CACook
2011-01-21 6:57 ` Helmut Hullen
2011-01-21 10:51 ` Helmut Hullen
2011-01-21 13:23 ` Helmut Hullen
2011-01-20 22:31 ` Carl Cook
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=201101211141.17846.hka@qbs.com.pl \
--to=hka@qbs.com.pl \
--cc=CACook@quantum-sci.com \
--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.