Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Specific Hardware Topics > Storage & Backup

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 22nd March 2017, 10:21 PM   #10906
millsy_c
Member
 
millsy_c's Avatar
 
Join Date: Mar 2007
Location: Brisbane
Posts: 10,857
Default

Alright I'm completely stumped, I hope someone can help.

Setup:
Microserver with a zfsarray of 5x3tb drives, booting off a 6th drive which is an ssd.

Background:
At some point the drive mapping to /dev/sdd caused it to drop out of the array, and I didn't turn it on again for nearly 2 years. Realised recently that I had actually been running it degraded for the last few weeks of active use now I was using it again. The array is now degraded:
Code:
root@server:/home/user# zpool status
  pool: zfsarray
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
  scan: scrub repaired 0 in 8h31m with 0 errors on Sat Mar 11 20:02:09 2017
config:

        NAME                                 STATE     READ WRITE CKSUM
        zfsarray                             DEGRADED     0     0     0
          raidz1-0                           DEGRADED     0     0     0
            ata-ST3000DM001-<ser1>_W1F1QA7E  ONLINE       0     0     0
            sdc                              ONLINE       0     0     0
            sdf                              ONLINE       0     0     0
            8359054160529775055              UNAVAIL      0     0     0  was /de                                                                                                                                                             v/disk/by-id/ata-ST3000DM001-<ser2>_W500DNPJ
            ata-ST3000DM001-<ser3>_Z1F1Z2RX  ONLINE       0     0     0
The drive corresponding to 8359054160529775055 is currently in the server as /dev/sdd, I have validated the serial #. I have checked and there are no faults, issue was a mistake on my end, probably due to adding an ssd for a boot drive and moving away from a USB thumb drive.

Issue:
I can't get that drive back into the array, I have tried:

zpool offline zfsarray 8359054160529775055
zpool online zfsarray 8359054160529775055
Which gives
Code:
warning: device '8359054160529775055' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present
And then I've tried:
zpool offline zfsarray 8359054160529775055
zpool replace zfsarray 8359054160529775055 /dev/sdd

Which gives
Code:
zpool replace zfsarray 8359054160529775055 /dev/sdd
invalid vdev specification
use '-f' to override the following errors:
/dev/sdd1 is part of active pool 'zfsarray'
For the sake of it I also tried to offline /dev/sdd but that didn't work either.

How on earth can I get it to bring the drive back into the array? Should I format it or something? Totally confused, last drive replacement was a complete failure and I had no issues like this.
__________________
Quote:
Originally Posted by Luke212 View Post
You are talking like an expert beginner. Talk less and listen more.
Quote:
Originally Posted by Mitch01 View Post
Missing the point as usual.
millsy_c is offline   Reply With Quote

Join OCAU to remove this ad!
Old 23rd March 2017, 8:38 AM   #10907
Mace
Member
 
Join Date: Aug 2001
Location: Canberra
Posts: 405
Default

Quote:
Originally Posted by millsy_c View Post
issue was a mistake on my end, probably due to adding an ssd for a boot drive and moving away from a USB thumb drive.
No chance you can roll back to booting from the USB Thumb drive until you copy/recover your data?
Mace is offline   Reply With Quote
Old 23rd March 2017, 8:39 AM   #10908
millsy_c
Member
 
millsy_c's Avatar
 
Join Date: Mar 2007
Location: Brisbane
Posts: 10,857
Default

Quote:
Originally Posted by Mace View Post
No chance you can roll back to booting from the USB Thumb drive until you copy/recover your data?
I haven't lost any data at this point, I just need to re add the drive into the array
__________________
Quote:
Originally Posted by Luke212 View Post
You are talking like an expert beginner. Talk less and listen more.
Quote:
Originally Posted by Mitch01 View Post
Missing the point as usual.
millsy_c is offline   Reply With Quote
Old 23rd March 2017, 8:47 AM   #10909
Mace
Member
 
Join Date: Aug 2001
Location: Canberra
Posts: 405
Default

Quote:
Originally Posted by millsy_c View Post
I haven't lost any data at this point, I just need to re add the drive into the array
Maybe get in touch with Elvis. He is the only Linux guy that comes to mind.
Mace is offline   Reply With Quote
Reply

Bookmarks

Tags
club, microserver

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 8:10 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Micron21!