On Mon, 2009-12-07 at 23:31 +0100, Martijn de Munnik wrote:
> On Dec 7, 2009, at 11:23 PM, Daniel Carosone wrote:
>
> >> but if you attempt to "add" a disk to a redundant
> >> config, you'll see an error message similar [..]
> >>
> >> Doesn't the "mismatched replication" message help?
> >
> > No
Daniel Carosone writes:
>>> Not if you're trying to make a single disk pool redundant by adding
>>> .. er, attaching .. a mirror; then there won't be such a warning,
>>> however effective that warning might or might not be otherwise.
>>
>> Not a problem because you can then detach the vdev and a
>>> Doesn't the "mismatched replication" message help?
>>
>> Not if you're trying to make a single disk pool redundant by adding ..
>> er, attaching .. a mirror; then there won't be such a warning, however
>> effective that warning might or might not be otherwise.
>
> Not a problem because you ca
What about removing attach/deattach and replace it with
zpool add [-fn] 'pool' submirror 'device/mirrorname' 'new_device'
e.g.
NAMESTATE READ WRITE CKSUM
rpoolONLINE 0 0 0
mirror-01 ONLINE 0 0 0
c4d0s0 ONLINE
On Mon, Dec 7, 2009 at 4:32 PM, Ed Plese wrote:
> Would it be beneficial to have a command line option to zpool that
> would only "preview" or do a "dry-run" through the changes, but
> instead just display what the pool would look like after the operation
> and leave the pool unchanged? For those
On Dec 7, 2009, at 11:32 PM, Ed Plese wrote:
> On Mon, Dec 7, 2009 at 12:42 PM, Cindy Swearingen
> wrote:
>> I agree that zpool attach and add look similar in their syntax,
>> but if you attempt to "add" a disk to a redundant config, you'll
>> see an error message similar to the following:
>>
>
On Dec 7, 2009, at 11:23 PM, Daniel Carosone wrote:
>> but if you attempt to "add" a disk to a redundant
>> config, you'll see an error message similar [..]
>>
>> Doesn't the "mismatched replication" message help?
>
> Not if you're trying to make a single disk pool redundant by adding .. er,
>
On Mon, Dec 7, 2009 at 12:42 PM, Cindy Swearingen
wrote:
> I agree that zpool attach and add look similar in their syntax,
> but if you attempt to "add" a disk to a redundant config, you'll
> see an error message similar to the following:
>
> # zpool status export
> pool: export
> state: ONLINE
On Dec 7, 2009, at 2:23 PM, Daniel Carosone wrote:
but if you attempt to "add" a disk to a redundant
config, you'll see an error message similar [..]
Doesn't the "mismatched replication" message help?
Not if you're trying to make a single disk pool redundant by
adding .. er, attaching .. a
> but if you attempt to "add" a disk to a redundant
> config, you'll see an error message similar [..]
>
> Doesn't the "mismatched replication" message help?
Not if you're trying to make a single disk pool redundant by adding .. er,
attaching .. a mirror; then there won't be such a warning, howe
> Jokes aside, this is too easy to make a mistake with
> the consequences that are
> too hard to correct. Anyone disagrees?
No, and this sums up the situation nicely, in that there are two parallel paths
toward a resolution:
- make the mistake harder to make (various ideas here)
- make the co
Andriy Gapon writes:
> on 06/12/2009 19:40 Volker A. Brandt said the following:
> >> I wanted to add a disk to the tank pool to create a mirror. I accidentally
> >> used zpool add ? instead of zpool attach ? and now the disk is added. Is
> >> there a way to remove the disk without loosing data?
> >
On Dec 7, 2009, at 10:42 AM, Cindy Swearingen wrote:
I agree that zpool attach and add look similar in their syntax,
but if you attempt to "add" a disk to a redundant config, you'll
see an error message similar to the following:
# zpool status export
pool: export
state: ONLINE
scrub: none req
I agree that zpool attach and add look similar in their syntax,
but if you attempt to "add" a disk to a redundant config, you'll
see an error message similar to the following:
# zpool status export
pool: export
state: ONLINE
scrub: none requested
config:
NAMESTATE READ WR
+1
I support a replacement for a SCM system that used "open" as an alias for
"edit" and a separate command, "opened" to see what was opened for edit,
delete, etc. Our customers accidentally used "open" when they meant "opened"
so many times that we blocked it as a command. It saved us a lot o
on 06/12/2009 19:40 Volker A. Brandt said the following:
>> I wanted to add a disk to the tank pool to create a mirror. I accidentally
>> used zpool add ? instead of zpool attach ? and now the disk is added. Is
>> there a way to remove the disk without loosing data?
>
> Been there, done that -- at
> Do you know a good zfs backup restore walktrough online?
Not really. Check out the zfs send and receive commands in
the ZFS Administration Guide:
http://docs.sun.com/app/docs/doc/819-5461/gbinw?a=view
Basically, you make a snapshot of every filesystem you want to backup,
then you use "zfs sen
Do you know a good zfs backup restore walktrough online?
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
I saw this bug report…
http://bugs.opensolaris.org/view_bug.do?bug_id=4852783
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> I wanted to add a disk to the tank pool to create a mirror. I accidentally
> used zpool add ? instead of zpool attach ? and now the disk is added. Is
> there a way to remove the disk without loosing data?
Been there, done that -- at a customer site while showing off
ZFS. :-)
Currently, you cann
Hi,
I wanted to add a disk to the tank pool to create a mirror. I accidentally used
zpool add … instead of zpool attach … and now the disk is added. Is there a way
to remove the disk without loosing data? Or maybe change it to mirror?
Thanks,
Martijn
--
This message posted from opensolaris.org
21 matches
Mail list logo