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?
Not if you're trying to
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 can then detach
Daniel Carosone d...@geek.com.au 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
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 a
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
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
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?
Been
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
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, however
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
On Mon, Dec 7, 2009 at 12:42 PM, Cindy Swearingen
cindy.swearin...@sun.com 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
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,
attaching ..
On Dec 7, 2009, at 11:32 PM, Ed Plese wrote:
On Mon, Dec 7, 2009 at 12:42 PM, Cindy Swearingen
cindy.swearin...@sun.com 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
On Mon, Dec 7, 2009 at 4:32 PM, Ed Plese e...@edplese.com 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?
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
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
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
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
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 send
19 matches
Mail list logo