You are not logged in.
Let's say you have two ext4 drives: one system drive and an another data drive with fstab configured like the following. If you pull out the second drive, the system won't boot up.
UUID=xxxxxx / ext4 rw,relatime 0 1
UUID=xxxxxx /data ext4 rw,relatime 0 0But if you config like this, the system boots up regardless the existence of the second drive
UUID=xxxxxx / ext4 rw,relatime 0 1
UUID=xxxxxx /data ext4 auto,nofail,rw,relatime 0 0Now I have a linux server with zfs on root, configured like this.
If one drive of the mirror-0 drives fails, the system boots up still.
But if that one drive of upool fails, the system won't boot up, which sucks.
pool: rpool
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST1000DM003-1ER162_Z4YBWSHH-part2 ONLINE 0 0 0
ata-WDC_WD10EZEX-08M2NA0_WD-WCC3F5395579-part2 ONLINE 0 0 0
pool: upool
config:
NAME STATE READ WRITE CKSUM
upool ONLINE 0 0 0
ata-ST2000DM001-1ER164_W4Z42YLV ONLINE 0 0 0Is there a not-so-crappy way to boot up the system even when a zpool isn't available?
It's much easier to manage a degraded system when it's at least running and I can ssh to it than when it doesn't boot up and it's thousands miles away from me.
Last edited by 1ndeed (2021-10-04 11:53:43)
Offline
Not really enough information ,but it sounds like you have arch installed on upool and when that drive fails....
How are rpool and upool tied together?
Offline
Not really enough information ,but it sounds like you have arch installed on upool and when that drive fails....
How are rpool and upool tied together?
No, the system is installed on rpool, and upool is the data drive.
What I want to knew is, how to boot up the system when rpool is alright but upool fails.
However... I just tested the system again. When the upool isn't available, I actually don't need to do anything, the system boots up anyway. And after I re-plugged in the upool, the system just automatically imported the upool...
This is not the result I tested before. But hey, it works now.
ZFS is the best:-)
Offline