Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2012, 09:45 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
ZFS Native replacing disk in zpool

am using Ubuntu 12.04 & Zfs Native. I created a zpool using the /dev/disk/by-id method, but I can no longer import zpool. When I try zpool status command I get the error message " no such pool " when I try " zpool import " It finds the pool & shows that one disk is missing or unavailable.

pool: tank id: 14496103743076187609 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: config:

tank UNAVAIL missing device

Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.

I have connected another drive of same size ( bad disk still in original place ) but I am having difficulty replacing bad disk with new one in zpool. I tried the following:

sudo zpool replace tank /dev/sdg /dev/sde

sudo zpool replace tank scsi-SATA_ST32000542AS_9XW04YRP scsi-SATA_ST2000DM001-9YN_S240FE7C

sudo zpool replace tank dev/sdg dev/sde

I get the same error message each time " cannot open 'tank': no such pool "

I am obviously doing something wrong and would be grateful for any help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Native ZFS On Ubuntu LXer Syndicated Linux News 0 01-24-2011 10:11 AM
LXer: Native ZFS Is Coming To Linux Next Month LXer Syndicated Linux News 1 08-27-2010 11:19 PM
ZFS Add Disk ? routers Solaris / OpenSolaris 3 06-24-2009 10:48 AM
is there a way to convert a standard zpool into a raidz pool? (ZFS) LauMars Linux - Server 1 03-08-2009 10:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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