Announcement

Collapse
No announcement yet.

zfs issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Neoneuro
    replied
    Originally posted by GreyGeek View Post
    Have you tried
    sudo zpool import -d /dev raid
    assuming your pool name is "raid"?
    Thanks! That appears to have done something at least. I can see the array now. Here's what zpool status is returning.
    Code:
    [FONT=monospace]zpool status
    pool: raid
    state: DEGRADED
    status: One or more devices is currently being resilvered. The pool will
          continue to function, possibly in a degraded state.
    action: Wait for the resilver to complete.
    scan: resilver in progress since Thu May 21 20:15:00 2020
          2.85T scanned at 13.3G/s, 77.3G issued at 362M/s, 7.48T total
          30.9G resilvered, 1.01% done, 0 days 05:57:34 to go
    config:
    
          NAME        STATE     READ WRITE CKSUM
          raid        DEGRADED     0     0     0
            raidz2-0  DEGRADED     0     0     0
              sda     DEGRADED     0     0     0  too many errors
              sdc     ONLINE       0     0     0  (resilvering)
              sdd     DEGRADED     0     0     0  too many errors
              sdf     DEGRADED     0     0     0  too many errors
              sdg     ONLINE       0     0     0  (resilvering)
    errors: List of errors unavailable: permission denied
    
    errors: 1 data errors, use '-v' for a list
    [/FONT]
    Those errors don't look promising. Not really a happy camper right now. I thought zfs was supposed to be rock solid. I'll wait for it to finish of course, but if this is the sort of stuff I'll be dealing with it will be kicked to the curb in short order. Any recommendations for a better RAID solution? Thanks again.

    Leave a comment:


  • GreyGeek
    replied
    Have you tried
    sudo zpool import -d /dev raid
    assuming your pool name is "raid"?

    Leave a comment:


  • Neoneuro
    started a topic zfs issues

    zfs issues

    Hi All,

    My first post. Wish it was for something more pleasant. I'm relatively new to kubuntu, but I've been using Linux and KDE since the RH5 days. I built a new system earlier this year and took a different path than what I've typically done in the past. I've always used a hardware RAID for my bulk storage, but I read about the advantages of using a software RAID like zfs, so I decided to give that a try. I installed kubuntu 19.10, setup a zfs RAID, and off I went.
    Things worked perfectly for a while, but then a few weeks back a batch of routine updates seemed to throw everything sideways. My RAID was no longer there. I tried a few things, got it working (so I thought), and life was good again, until the next reboot. RAID was gone again. Couldn't get it back. I saw the 20.04 release and decided to try that in hopes that it would fix things. Even though the install was fast and uneventful, it didn't help my RAID.

    I've poked around the interwebs looking for a solution, but nothing seems to fit my problem (or maybe I'm so new to zfs that I don't know how to connect the dots). Here are some of the things I've tried and the results.
    Code:
    [FONT=monospace]zpool status -x
    no pools available[/FONT]
    Code:
    [FONT=monospace]zpool list
    no pools available[/FONT]
    Code:
    [FONT=monospace]sudo zpool import -D
    no pools available to import[/FONT]
    Code:
    [FONT=monospace]sudo zpool create raid raidz2 /dev/sda /dev/sdc /dev/sdd /dev/sdf /dev/sdg
    invalid vdev specification
    use '-f' to override the following errors:
    /dev/sda1 is part of exported pool 'raid'
    /dev/sdc1 is part of exported pool 'raid'
    /dev/sdd1 is part of exported pool 'raid'
    /dev/sdf1 is part of exported pool 'raid'
    /dev/sdg1 is part of exported pool 'raid'[/FONT]
    I don't remember ever exporting the pool and I'm not confident enough to override those errors until I know more about what I'm doing. The physical drives and partitions all appear to be healthy. Anyone have any thoughts on what I should try next? Hoping not to destroy over 6TB of data. TIA.

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X