Jump to content

Fedora Server 29 Cockpit raid question

Hello.

I have a question regarding raid with Cockpit. Currently I'm running Ubuntu with ZFS, I can offline drives, then I spin them down with hdparm. Replace it and bring it back online, ZFS then starts to rebuild the raid.

I have played a bit with Fedora 29 with the Cockpit software, I'm wondering if I can do something like this there?

0 downtime

"offline" a drive so I can remove it

spin it down? (Or I could still just do that from the terminal)

health status?

 

Currently:

$ zpool status

pool: storage
 state: ONLINE
  scan: resilvered 5.04G in 0h4m with 0 errors on Wed Jan 30 19:05:10 2019
config:

        NAME        STATE     READ WRITE CKSUM
        storage     ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sde     ONLINE       0     0     0
            sdf     ONLINE       0     0     0
            sdg     ONLINE       0     0     0

errors: No known data errors

or

$ zpool list

NAME       SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
backup     119G   108G  11.4G         -    58%    90%  1.00x  ONLINE  -
database   928G   528K   928G         -     0%     0%  1.00x  ONLINE  -
storage   5.44T  15.2G  5.42T         -     0%     0%  1.00x  ONLINE  -
$ zpool offline storage sdf
$ hdparm -Y /dev/sdf
# replace drive
$ zpool replace storage sdf
$ zpool online storage sdf
# raid volume rebuilds

 

Back-end developer, electronics "hacker"

Link to comment
Share on other sites

Link to post
Share on other sites

No one?

 

Well I'm here in the process:

The storage raid is doing this: The RAID Array is in a degraded state - 1 disk is missing

and it says 2 hours to recover, I don't understand why it has to do this with a fresh raid? ZFS did not do this.

Do I add these as volume groups or? I haven't quite yet understood from where I mount it.

Back-end developer, electronics "hacker"

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×