LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-15-2012, 08:26 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Remove a disk in a non mirrored ZFS pool


Hi guys i hit a dead end, is it possible to remove a disk in a non mirrored ZFS pool, i just want to try to remove /zfsfool1.

Code:
bash-3.00# zpool iostat -v zfspool
                capacity     operations    bandwidth
pool          used  avail   read  write   read  write
-----------  -----  -----  -----  -----  -----  -----
zfspool       207M  1.64G      0      2    636   173K
  /zfsfool    104M   840M      0      1    528  88.0K
  /zfsfool1   104M   840M      0      3    365   287K
-----------  -----  -----  -----  -----  -----  -----

bash-3.00# zpool status
  pool: zfspool
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Mar 13 10:00:29 2012
config:

        NAME         STATE     READ WRITE CKSUM
        zfspool      ONLINE       0     0     0
          /zfsfool   ONLINE       0     0     0
          /zfsfool1  ONLINE       0     0     0
 
Old 03-15-2012, 09:27 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What are /zfsfool and /zfsfool1 ?

In any case, you cannot remove a device if there is no data redundancy (mirroring or raidz).

Assuming there is enough space to complete the operation, the only way would be to backup your data, destroy the pool, remove the device, recreate a pool and restore your data.
 
Old 03-15-2012, 10:30 AM   #3
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Those are just my file based disks...thanks for the quick response
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a ZFS pool using two StorEdge arrays paidbythehour Solaris / OpenSolaris 1 09-01-2011 04:56 PM
how to find if the disk is mirrored? mokku Linux - Newbie 1 08-17-2009 02:59 PM
is there a way to convert a standard zpool into a raidz pool? (ZFS) LauMars Linux - Server 1 03-08-2009 09:11 AM
mirrored disk backup qrshat Solaris / OpenSolaris 2 08-30-2007 08:14 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration